I'm All-In on Server-Side SQLite

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • dqlite

    Embeddable, replicated and fault-tolerant SQL engine.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • rqlite

    The lightweight, user-friendly, distributed relational database built on SQLite.

  • Bedrock

    Rock solid distributed database specializing in active/active automatic failover and WAN replication (by Expensify)

  • cr-sqlite

    Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite

    If you need multiple writers and can handle eventual correctness, you should really be using cr-sqlite[1]. It'll allow you to have any number of workers/clients that can write locally within the same process (so no network overhead) but still guarantee converge to the same state.

    [1] https://github.com/vlcn-io/cr-sqlite

  • litestack

    Related: I wrote a piece last week on deploying Rails apps to production on Fly.io at https://fly.io/ruby-dispatch/sqlite-and-rails-in-production/

    The work that’s made this possible is:

    1. Litestack - https://github.com/oldmoe/litestack

    2. Fly.io’s work on the dockerfile-rails generator detecting Sqlite and Litestack in a Rails project, then setting up sane defaults for where that data is stored and persisted in production. This is all done behind the scenes with no intervention required from the person deploying.

    3. Servers are overall faster and more powerful

    I hope more Rails hosts make it easier and safer to deploy Sqlite to production. It will lower costs and reduce complexity for folks deploying apps.

  • sqlite-migrate

    A simple database migration system for SQLite, based on sqlite-utils

    "unless you have a bunch of logic centralized somewhere to keep track of last know schemas per user client database"

    I've been building exactly that here: https://github.com/simonw/sqlite-migrate

  • corrosion

    Gossip-based service discovery (and more) for large distributed systems. (by superfly)

    We’re using cr-sqlite as part of our distributed state propagation system. It is indeed easy to bundle in the app!

    https://github.com/superfly/corrosion

    It would be possible to distribute cr-sqlite changes in many different ways (like you said, http or torrents, etc.) since any change can be applied out of order.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Marmot: Multi-writer distributed SQLite based on NATS

    4 projects | news.ycombinator.com | 11 Dec 2023
  • Rqlite: Lightweight, user-friendly, distributed relational db built on SQLite

    1 project | news.ycombinator.com | 4 Sep 2024
  • rqlite: A lightweight, user-friendly, distributed relational db built on SQLite

    2 projects | news.ycombinator.com | 28 Aug 2024
  • Show HN: Rqlite and Docker and SQLite-vec – highly-available Vector Search

    2 projects | news.ycombinator.com | 15 Aug 2024
  • The lightweight, easy-to-use, distributed relational database built on SQLite

    1 project | news.ycombinator.com | 23 Feb 2024

Did you konow that C is
the 7th most popular programming language
based on number of metions?