
Build a tiny crypto exchange on TigerBeetle
A working order book in one TypeScript file on a local TigerBeetle: balances that cannot go negative, orders that lock funds without spending them, and trades that settle both sides or neither.
Engineering deep dives, migration guides, and tutorials for every database engine Layerbase supports.
260 posts across the blog · Featured first, then most viewed in the last 30 days

A working order book in one TypeScript file on a local TigerBeetle: balances that cannot go negative, orders that lock funds without spending them, and trades that settle both sides or neither.
Flat pricing with no meters, 19 Cloud engines on one signup, branching beyond Postgres, a code-enforced never-lose-data guarantee, and six more things we do differently from the usage-billed incumbents.
A step-by-step move of Heroku Postgres, and the Key-Value Store add-on, onto managed Layerbase databases. What comes across, what does not, why you must read DATABASE_URL fresh, and how to cut over without stopping your dynos.
You added an instance, a webhook, a cache, a second server. Each was a normal Tuesday. Somewhere in there your app became several programs that disagree with each other. Here are the four failures that follow, and what each one looks like in your logs.
Build a task management app with SQLite and TypeScript: JSON functions, window functions, recursive CTEs, and why the most deployed database is all you need.

MariaDB ships a DuckDB engine, MySQL has one in the works, and AWS bought DuckLabs. One join across Postgres and MariaDB shows the appeal, and on Layerbase it runs without a connection string.