ar-io/ar-io-node

Test out LiteFS for SQLite replication

Opened this issue · 0 comments

It would be great to have an easy SQLite replication option to recommend (yeah, don't worry. we'll support other DBs eventually too). LiteFS (https://fly.io/docs/litefs/) looks like it could work. Someone should try it and let us know how it goes.

This is a guide that will get you started setting up the gateway and LiteFS on fly.io for testing purposes: https://blog.developerdao.com/running-an-arweave-gateway-on-flyio

Things we'd like to learn more about:

  • How quickly do blocks get indexed?
  • Is there much replication lag?
  • What errors do the readers throw? (they'll still be attempting some writes)
    • Do any of the errors result in user visible issues?