Skip to content

Database tables of custom feed server template #275

Answered by MarshalX
venteto asked this question in Questions
Discussion options

You must be logged in to vote

Saving the cursor to the database is required for data backfilling. For example, your server was down for 3 hours. And you want to continue from the moment when you stopped. You are getting a cursor from DB and continue work. There are plenty of scenarios including problems from the relay side (which could be an outage too). You should create an analog table using Django ORM which will keep cursors for firehose consumers.

The meta table is the same as the Django migrations table. It was needed for migrating cursors between Firehouse URIs. For smooth migration from the old state of the repo. You can drop this table.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@venteto
Comment options

Answer selected by venteto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants