5 ms·
ELI5?
by ranger_danger 4y ago
ELI5?
- benbjohnson 4y agoLiteFS makes it so that you can have a SQLite database that is transparently replicated to a cluster of machines. The use case is if you have your app running on a server running in Chicago, then users in Europe will have 100ms latency to your server and users in Asia will have a 250ms latency. That's on top of the time it takes for your server to process the request. Many people target sub-100ms latency to make their applications feel snappy but that's impossible if users are waiting on their request to be sent halfway around the world. Traditionally, it's complicated to replicate your database to different regions of the world using something like Postgres. However, LiteFS aims to make it as simple as just spinning up more server instances around the world. It connects them automatically and ships changes in a transactionally safe way between them.
- boltzmann-brain 4y ago> Traditionally, it's complicated to replicate your database to different regions of the world using something like Postgres what makes it complicated?
- twobitshifter 4y agoIt’s a tool to allow you to keep your database on the app server and backed up on s3. This means you don’t need a separate database server. Having a database on the same machine as the app is very fast, but it is usually risky. The backups made by LiteFS lessen the risk.
- hobo_mark 4y agoThat's Litestream, not LiteFS.