We're building the instant serverless backend.
Olamilekan
Founder. Backend engineer. Building Trubase DB in public.
Rebuilding Postgres is the kind of project that used to require a research lab. What makes it tractable now is that the spec already exists in executable form — PostgreSQL's own 200,000-test corpus — and the discipline is to build against it relentlessly, with the pass rate published as a public scoreboard from the first milestone.
That's the founding method: no claim ever exceeds the number, every subsystem is designed in writing before it's built, and the entire engineering documentation corpus is part of the product, not an afterthought.
If you want to follow the build, question the architecture, or challenge the numbers: olamilekan@trubase.dev.
Why Trubase exists
We believe backends should be as cheap as function calls. That every agent, every user, every workflow should have its own complete, isolated Postgres backend — instantly, serverlessly, for near-zero cost.
Legacy PostgreSQL spawns one OS process per connection, each consuming 10–30MB of RAM. A server with 1,000 connections burns 30GB just for connection overhead. This is why connection poolers exist — band-aids for an engine that can't multiplex natively.
We took the harder, necessary path: rebuilding Postgres from scratch in pure Rust on Tokio, with the backend lifecycle — mint, branch, suspend, wake, dispose — native to the engine.
Why Rust + Tokio
Tokio is a multi-threaded async runtime for Rust that uses a work-stealing scheduler. When a backend task is waiting on storage or network I/O, it yields the CPU — zero waste. When one CPU core finishes its work, it steals tasks from other cores' queues — perfect load distribution.
Each backend's query loop — read packet, parse SQL, plan, execute, write response — compiles to a Rust Future, a zero-allocation state machine. No garbage collector. No runtime overhead.
This is architecturally impossible in C PostgreSQL's fork()-based process model. You cannot bolt Tokio onto C Postgres. You must rewrite the engine.
What we stand for
Source-Open, Honestly
The engine is source-available for anyone to read, audit, self-host, and build on — and every release becomes fully open source (Apache 2.0) after two years.
Pure Safe Rust
No C in the address space, no unsafe blocks — because when millions of tenants share one engine, the type system is the wall between them.
Proof Over Claims
We stand on 30+ years of PostgreSQL semantics — and we prove it by running Postgres's own test suite in public. The scoreboard is the marketing department.
Developer-first
If a developer can't understand it in 5 minutes, we haven't explained it well enough. Simplicity in interface, depth in architecture.