filmov
tv
SQLite can seriously simplify your app stack #mysql #postgresql #database
Показать описание
We're big fans of MySQL and Postgres. They're top-notch, essentially. We use them constantly and they never disappoint. However, there are plenty of instances where SQLite can seriously simplify our app stack. From an ops standpoint, SQLite is pretty singular because its entire database fits in a single file. That's one massive file. And wouldn't you know it, thanks to the indexing system, it's more than up to the task of managing large datasets while still delivering a performance boost. One example asserts that SQLite has zero latency impact, particularly as it's embedded directly next to your app. From an application development point of view, having no lag means there's no need to sweat over how many queries you make against the dataset. The back-and-forth delay between databases often tacks on extra latency. But if the data is right there at your disposal, you'd be surprised how many queries you can make at once while maintaining solid performance. Something this document doesn't mention is that SQLite often turns out to be the secret ingredient in many enterprise solutions claiming high performance, scalability, and low-latency memory databases. You can shell out big money for these systems and they will definitely deliver, largely because they're built on SQLite. Behind the scenes, this technology is employed and repackaged in a way that you could easily snag for free, just by integrating it into your app directly.