D1: Cloudflare’s First SQL Database

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • litestream

    Streaming replication for SQLite.

  • This is really interesting, its (basing it on SQLite) exactly what I was expecting CloudFlare to do for its first DB.

    Anyone from CF here, is it using Litestream (https://litestream.io) for its replication or have you built your own replication system?

    I assume this first version is somewhat limited on write performance having a single "main" instance. It seems to me that using SQLite sessions would be a good way to build an eventually consistent replication system for SQLite, maybe D2?

  • Realm

    Realm is a mobile database: a replacement for Core Data & SQLite

  • I think the most successful attempt would be Realm.

    https://realm.io/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • deno

    A modern runtime for JavaScript and TypeScript.

  • You might want to consider adding Deno [1] to the language examples: https://developers.cloudflare.com/workers/platform/languages...

    Deno can compile to wasm, so it can plug in through that vertical. But it's just TS on the frontend.

    I'm mainly a python person, but Deno's been the most alluring development in the JS ecosystem since typescript for me. Might be helpful to you all to capture some steam from source.

    [1]: https://deno.land/

  • Django

    The Web framework for perfectionists with deadlines.

  • I think the question is, is it painful or harmful? The early discussions only seem to reference its potential problems, with the 2014 Drupal repo[0]'s reasoning being "those terms may carry racially charged meanings to users", and the 2018 Python bug[1] referencing "for diversity reasons". Maybe there are scholarly papers on this issue?

    0: https://github.com/django/django/pull/2692

    1: https://bugs.python.org/issue34605

  • rqlite

    The lightweight, distributed relational database built on SQLite.

  • Is this any good? https://github.com/rqlite/rqlite

    I've been looking for a turn key solution that is better than me running a single node Postgres instance "bare metal" or in a container.

    postgres-operator seems cool but... k8s, pretty heavy I guess.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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