Skip to content

Provide a working example of the indexer stack with v2 processors, using docker compose #1277

Description

@ganymedio

Infra team will be working on the new IaC for the indexer soon. They mentioned that from the engineering side, a working example that uses docker compose would be enough.

@larryl3u has articulated a couple options for handling the transaction stream:

- Option 1:
Fullnode(StatefulSet): easy to deploy, performance may degrade when load is high
No ability to scale up infinitely

- Option 2: 
Fullnode(StatefulSet) -> grpc manager + file store -> data service(service) 
Complicated 
Easy to scale up

I've set up Option 2 already and will orchestrate with docker-compose... I think @larryl3u has made some progress on Option 1 so perhaps it would make sense for him to continue with that?

We are leaning toward Option 1 for the sake of easier deployment and probably lower cost to run... given that most if not all production dApps use paid indexer services run by third party ecosystem partners, it seems like optimizing for ease of implementation for our hosted indexer may be best.

However, it may makes sense to have examples with docker-compose for both options in case there is some reason to deploy Option 2 at any point.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions