informalsystems / hermes

IBC Relayer in Rust
https://hermes.informal.systems
Apache License 2.0
433 stars 319 forks source link

Implement IBC index and PostgreSQL backend #2531

Closed romac closed 1 year ago

romac commented 1 year ago

Background

This issue keeps track of the work that contributes to the objective to "Reduce relayer operators' costs". At a high level, the aim is to implement an IBC node indexer that will reduce the relaying pressure on validator nodes, thus reducing their relaying / infrastructure costs.

๐Ÿšง WIP in the anca/ibcnode branch.

Matrix

Status Tendermint indexer IBC Node Runtime Hermes supervisor/ chain handle Comments
โœ… kv ย  Cosmos - no cache temp mem cache Cache cannot be disabled
๐Ÿšง psql ย  CosmosPsql - IBC db, psql only temp mem cache Partially supported in anca/ibcnode
๐Ÿšง psql (g)RPC proxy, no extra storage Cosmos - no cache In-memory cache
๐Ÿ”ฎ kv or psql ย  CosmosPsql or Cosmos - IBC cache in memory (configurable) No or in-memory cache Not supported but should look at the overall feature matrix and figure out what makes sense
๐Ÿ”ฎ kv or psql (g)RPC proxy, IBC db psql Cosmos - no cache ย 

โœ… Released - ๐Ÿšง WIP - ๐Ÿ”ฎ Future work

TODO

Future work


For Admin Use

seanchen1991 commented 1 year ago

@romac or @ancazamfir, if you could figure out which milestone to tag this work under, that would be much appreciated ๐Ÿ™‚