Skip to content
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

Live Indexer #282

Closed
Ullaakut opened this issue Jul 14, 2021 · 2 comments
Closed

Live Indexer #282

Ullaakut opened this issue Jul 14, 2021 · 2 comments
Assignees

Comments

@Ullaakut
Copy link
Contributor

Ullaakut commented Jul 14, 2021

Description

This epic is about creating a new binary in Flow DPS, which fulfills the same purpose as flow-dps-indexer, except that it reads from a live network instead of using historical data as a source.

Instead of running once and outputting a complete index, this binary is intended to keep running for as long as the network it's connected to is running, and to continuously fetch live updates.

Required Data

In order for the index to be complete, the Flow Live DPS Indexer will require:

  • Trie Updates: Can be retrieved from an S3 Bucket that contains Ledger WAL segments
  • Blocks: Can be retrieved using the consensus follower engine
@Ullaakut
Copy link
Contributor Author

Ullaakut commented Jul 30, 2021

Following the meeting with the @dapperlabs team, as a first iteration what we will do is simply to fetch trie updates from an S3 bucket and feed them to the mapper. This feature will need the following set of tasks to be implemented:

Q/A:

  • Should we mount the S3 bucket on the filesystem to use the current Feeder or is it better for us to implement a custom component for interacting with S3?
    • @awfm9: That approach strikes me as problematic, because it moves configuration to the system level.

@awfm9
Copy link
Collaborator

awfm9 commented Sep 15, 2021

This has been done in #361 and #407.

@awfm9 awfm9 closed this as completed Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants