Skip to content

Comment on How Convex Worksparent

Comments

We open-sourced a single-machine version of the backend: https://github.com/get-convex/convex-backend

It doesn’t use Kafka, the transaction logic is custom implemented in Rust.

Convex does not have special support for unique constraints, as they are easy to implement in your own code (like you wrote, the mutations are happening “inside” the database). This follows the philosophy of making it clear what the database primitives are, and hence what performance you can expect from the database.

Of course since your code is all JavaScript/TypeScript, it’s easy to layer in constraints via a library, like in https://labs.convex.dev/convex-ents/schema#unique-fields

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.