The Graph Builders Office Hours #39 - Optimize Subgraph Indexing and Querying Speed with Marcus Rein

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024
  • Optimize your subgraph's indexing and querying speed with these four Best Practices of Subgraph Development!
    2:57 Subgraph architecture overview
    4:10 Best Practice 1: Prune with indexerHints
    8:42 Best Practice 2: Use @derivedFrom to Manage Arrays
    12:05 Best Practice 3: Use Bytes as IDs and Immutable Entities
    18:42 Best Practice 4: Avoid eth_calls
    Blogs on these Best Practices:
    Avoiding Large Arrays: thegraph.com/b...
    Bytes as IDs and Immutable Entities: thegraph.com/b...
    Reduce eth_calls: thegraph.com/b...
    Derived Field Loaders: thegraph.com/d...
    The Graph's Sunrise Upgrade Program: thegraph.com/b...
    --
    The Graph is an indexing protocol for querying networks like Ethereum and IPFS. Anyone can build and publish open APIs, called subgraphs, making data easily accessible.
    Follow The Graph on social media
    Twitter: / graphprotocol
    Instagram: / graphprotocol
    LinkedIn: / thegraph
    GitHub: github.com/gra...
    Website: thegraph.com

ความคิดเห็น •