menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Data Science News

>

SQLite in ...
source image

Towards Data Science

2w

read

235

img
dot

Image Credit: Towards Data Science

SQLite in Production: Dreams Becoming Reality

  • SQLite is rapidly becoming a production-ready database due to its single-file architecture and ease of use.
  • Most databases operate on a client-server architecture but for smaller applications, the single-file architecture is preferred.
  • The primary issue in SQLite has traditionally been concurrency-related, but recent advancements have removed these barriers.
  • The default transaction mode in SQLite does not facilitate concurrency, but using the 'immediate' transaction mode goes a long way towards solving this issue.
  • To continue improving concurrency, the journal mode can be changed from the default rollback journal to write-ahead logging (WAL).
  • The use of cheap SSDs and real-time replication tools like Litestream has made SQLite viable for write-heavy databases.
  • Litestream is able to track changes to SQLite’s WAL file and can maintain a near real-time backup of the database.
  • David Heinemeier Hansson, creator of Rails, wants to push SQLite to be able to run a mid-size SaaS company off of it.

Read Full Article

like

13 Likes

For uninterrupted reading, download the app