-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subgraph Best Practices 5 and 6 #825
Conversation
... and added links to bottom of each best practice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are terrific! Great explanations @marcusrein 🔥
|
||
## Subgraph Best Practices 1-6 | ||
|
||
1. [Improve Query Speed with Subgraph Pruning](https://thegraph.com/docs/en/cookbook/pruning/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All
1. [Improve Query Speed with Subgraph Pruning](https://thegraph.com/docs/en/cookbook/pruning/) | |
1. [Improve Query Speed with Subgraph Pruning](/cookbook/pruning/) |
You should make this modification to all links
@benface correct me if I'm wrong here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Links that are within the docs*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, because absolute links have the language (English) hardcoded in them, whereas relative ones keep the current language (and the href
is copied over as-is to translated pages).
|
||
## Why Timeseries and Aggregations Are a Best Practice | ||
|
||
1. Improved Indexing Time • Less Data to Load: Mappings handle less data since raw data points are stored as immutable timeseries entities. • Database-Managed Aggregations: Aggregations are automatically computed by the database, reducing the workload on the mappings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spacing issue that's distorting the formatting. I think the bullet point are suppose to be below the numbers, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like your changes @idalithb !
Feel free to move forward with your suggestions. Thank you!
Co-authored-by: Idalith <[email protected]>
…protocol/docs into subgraph-best-practice-5-6
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
Co-authored-by: Idalith <[email protected]>
…protocol/docs into subgraph-best-practice-5-6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay! 🥳
Added
Subgraph Best Practice 5
andSubgraph Best Practice 6
after peer review process was completed.Updated formatting and added links to the bottom of each Subgraph Best Practice as well to improve congruency of this cookbook series.
Thanks!