You are viewing a single comment's thread from:
RE: Streaming the blockchain and ingestion (Free Knowledge sharing 0.1 )
assuming that you are "Streaming" the blockchain
0-get-block-num
1-store-in-redis/memcache
2-proceed-with-application logic
3-.app restarts, crashes
4- fetch the blocknumber from redis
5.-compare with last compared block in the app
- if-last-block-in-app-db == block-num-from-redis
get-next bloc
else
start with get-block-from-redis
- Steemrocks uses file based last block storage
- need to check the same