graphprotocol / graphprotocol/graph-node
Optimize queries for `check_interface_entity_uniqueness`
Open
@tilacog is already working on this.
Since Mar 17, 2021.
performance
Stale
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 1.1k
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
We should figure out how to batch this check
Originally posted by @lutter in https://github.com/graphprotocol/graph-node/pull/2286#r596227885
deployment_store.rs relies on calls to check_interface_entity_uniqueness for each entity that is processed by inserts and overwrites.
Maybe we can optimize database calls with a custom query.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.