8000 GitHub - Agoric/opco-subql: Index service for OpCo internal use
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Agoric/opco-subql

 
 

Repository files navigation

OpCo indexer

This uses SubQuery to index some transfer events and messages on the Agoric chain that are relevant to OpCo.

See also the Agoric SubQuery project.

Usage

Explorer URL: https://explorer.subquery.network/subquery/agoric-labs/internal

Data

The entities currently indexed:

  • Fast USDC Transactions

Performance

Sources of latency:

  • Waiting for new blocks. RPC itself can be delayed.
  • Processing time of blocks.
  • DB delay. OnFinality has some caching which batches DB operations.

Mitigations:

  • Index with multiple workers.
    • They allow up to five in Change Compute Size
    • In a recent indexing, the rate went from 14 to 50 blocks/sec (from 1 to 5 workers)
      • Diminishing returns are to be expected because the blocks are always processed in order, so workers are often waiting their turn.

Developing

This should be the same as the Agoric SubQuery project. See Developing in its README.

About

Index service for OpCo internal use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.0%
  • TypeScript 47.8%
  • Shell 1.2%
0