Remix.run Logo
petcat 2 days ago

Are people still trying to shoehorn sqlite to run in a server-side context? I thought that was a fad that everyone gave up on.

ashish01 2 days ago | parent | next [-]

I use Litestream for near real-time backups. Does not change how SQLite is used on the server, just a replacement for .backup

mhitza 2 days ago | parent | prev | next [-]

No, it's still pretty cool, easy to use with low operational complexity in low volume read-mostly projects: CMSs, blogs, ecommerce platforms.

2 days ago | parent | next [-]
[deleted]
andersmurphy 2 days ago | parent | prev [-]

It's got crazy write throughput too if you hold it right.

0xbadcafebee 2 days ago | parent | prev | next [-]

I am a heavy skeptic of this thing, but I can see a good use case for it: S3 I/O, ephemeral compute (1 instance), versioned blobs. The first two allow you to abstract the data away from the compute (flexibility), and the third lets you recover from mistakes or bugs quicker (or do immutable migrations easier).

I think the devil's in the details though. I expect a high number of unusual bugs due to the novel code, networking, and multiple abstractions. I'd need to trial it for a year before I called it reliable.

jtbayly 2 days ago | parent | prev | next [-]

I am. Super simple. Super cheap. Great dev experience. Want to know whether the migration is going to work? Just download the prod db locally and test it. I'm happy.

christophilus 2 days ago | parent [-]

Works for very small prod databases, I guess.

tptacek 2 days ago | parent | next [-]

We use it internally for some rather large databases. It's not database size that matters, it's usage pattern.

victorbjorklund 2 days ago | parent | prev | next [-]

What is a very small database? At what size do you think read queries stops working in SQLite?

andersmurphy 2 days ago | parent | prev [-]

Handles billions of rows just fine. Can take you unreasonably far on a single server.

jauntywundrkind 2 days ago | parent | prev | next [-]

For things like config management I feel like it makes all the sense in the world. Whomever the primary is can soak some infrequent-ish write-load. Then the whole DB can quickly copy to where it's needed, or, in lite stream VFS 's case, even less needs to be shipped.

9rx 2 days ago | parent | prev | next [-]

People are building DBMSes and, instead of writing the engine from scratch, are choosing an off-the-shelf solution that integrates into a DBMS with ease.

A better question to ask is why the world needs yet another DBMS, but the reasons are no doubt valid.

andersmurphy 2 days ago | parent | prev [-]

Nope, still going strong.

https://news.ycombinator.com/item?id=46124205