Deno KV internals: building a database for the modern web

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

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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.
www.influxdata.com
featured
  • wasi-keyvalue

  • I'm used to KV systems being really simple shallow systems. WASI-keyvalue for example is quite simple, stopping at providing an increment capability. https://github.com/WebAssembly/wasi-keyvalue/blob/main/wit/a...

    I knew Deno KV was built on FoundationDB, expected this would be a neat but simple systems architecture rundown. But... Turns out Deni really went super deep in building a KV, by adding atomics!

    > To maximize performance and concurrency for atomic operations, we built the Deno KV Transaction Layer that manages the global order of atomic operations. For each transaction that is received by this Transaction Layer:

    I thought it was particularly creative how a .get returns not just the value, but some reference to what the get was. So when the atomic change comes, they can check the get. This was a neat way to let some sets use previous data safely, I thought.

    Does anyone else have any other examples of thicker kv APIs? It feels like we're nearing a cap'n'proto level of promise pipelining, as we extend kv this way; I though Denos dodge was extremely expertly picked to limit how complex references to existing operations would need to be.

  • denokv

    A self-hosted backend for Deno KV

  • With what license?

    (Several clicks in it looks like https://github.com/denoland/denokv is the repo and it's an MIT license.)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • jsr

    The open-source package registry for modern JavaScript and TypeScript

  • awesome-foundationdb

    List of FoundationDB resources

  • That class scheduling one is a good place to grok the basics. Just extending the kind of approach introduced there will get you decently far.

    The best resource after the tutorials is: https://github.com/FoundationDB/awesome-foundationdb

    Unfortunately, I think a lot of the advanced 'tricks of the trade' (alternatives to use cases for long-running transactions, when exactly to dispatch to a cloud object store, how to migrate whatever schemas you end up creating, etc.) that all the big serious users of FDB are doing are not as well covered.

  • mininext

    a webframework

  • https://twitter.com/spirobel/status/1786665928954085562

    deno deploy just showed a completely useless error message and stopped working.

    I installed caddy on a vps and got it to work in 5 minutes.

    I ripped out the deno compatibility and switchded to bun sqlite instead of turso and the website got even faster.

    That is because the server has the data in the sqlite db. No need to roundtrip to turso.

    btw. the framework is open source now: https://github.com/spirobel/mininext

    It is like a non bloated version of nextjs. My intention is to displace php and wordpress. It is possible to get started with just html and css knowledge, but you have the whole javascript ecosystem at your fingertips.

    It has no external dependencies, just 3 modestly sized files you can understand in an afternoon and it will reload your browser and rebuild when you save your code.

  • 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

  • Is it recommended that a backend for React be written in Javascript? Or is another language like Python Ok

    3 projects | /r/react | 1 Feb 2023
  • Github repositories for Web Development via twitter Pratham.

    9 projects | /r/webdev | 15 Mar 2021
  • Branded Types for TypeScript

    4 projects | news.ycombinator.com | 15 May 2024
  • Publish pure ESM npm package written in TypeScript to JSR

    7 projects | dev.to | 12 May 2024
  • Handling Audit Logging in Node.js

    7 projects | dev.to | 12 May 2024