API Maker

The backend engine for the AI era

Why RustEpisode 53 4:57 12 chapters October 2026

Why Rust: API Maker Load-Tested Live on a $5 Server

API Maker is written in Rust. Put it on the smallest server Linode sells, five dollars a month, and load it live: 1,900 requests a second from MongoDB, 9,100 from the cache, memory flat at about 51 MB, and a restart in about a tenth of a second.

In the playlists The complete course Performance

Chapters

What you will learn

  • The server: a Linode Nanode, 1 GB and one shared vCPU
  • A minute of load with autocannon: 1,900 requests a second
  • Memory flat at about 51 MB, the CPU at 40 percent
  • Cached reads: 9,100 requests a second
  • A restart in a tenth of a second
  • Underneath: one native program, no garbage collector
  • The published numbers, and WebSockets
In the docsBenchmarks
Transcript730 words · click a time to play from there

Intro

API Maker is written in Rust. In this video, we put it on the smallest server Linode sells, five dollars a month, and load it live, to see what that changes.

The usual way

A backend on a heavy runtime usually means a bigger server than its traffic needs, pauses when a garbage collector runs, memory that climbs with the load, and seconds to start again. With API Maker, one native program, compiled for the machine, no garbage collector : memory is freed the moment it is no longer used, so it stays flat under load, and a restart answers in a fraction of a second.

In this video : the server, a minute of load, memory and CPU while it runs, the cache, a restart, what Rust does underneath, and the published numbers, WebSockets included.

The server

The server : one shared virtual CPU, and one gigabyte of memory, for API Maker, its MongoDB, its Redis and two sandboxes. API Maker is one program. At rest, it holds a few dozen megabytes, on two threads.

A minute of load

From a second server on the private network, autocannon : a hundred connections for sixty seconds, on get all of a MongoDB table, read from the database every time. Over a hundred thousand requests : close to two thousand a second, half of them answered within about fifty milliseconds, and almost all within a hundred.

Memory and CPU

Meanwhile on the server, every five seconds. The memory of API Maker : about fifty megabytes, the same from the first sample to the last. Its CPU : under half of the one core. No pause, and no growth. And the rest of the core? MongoDB, on the same machine, and the proxy of Docker in front of it. Here the database is the limit, not API Maker.

The cache

Now a table with caching on : get by id, answered from Redis. Several times more requests a second, almost every one within twenty milliseconds, on the same five dollar server.

A restart

A restart : stop, start, and the first answer of an API after a fraction of a second. An upgrade or a restart costs that, not a warm-up.

Underneath

Why it holds. API Maker is compiled to native code for the machine, and its requests run on Tokio : a few threads serve thousands of connections, two threads here. Rust frees memory when its owner is done with it, at a known place in the code : there is no garbage collector to pause the server. The compiler refuses code which could use freed memory or race on data.

And the database drivers, the TypeScript compiler and the JavaScript engine of lean code run inside the same program.

The published numbers

The published benchmarks go further : Linode servers of every size, each loaded the same way. Get all grows from over two thousand requests per second on the five dollar server to over twelve thousand on eight dedicated cores. Today's run is a little lower : this Nanode landed on another processor, slower per core than the one of the published runs. WebSockets too. This same kind of server held tens of thousands of clients at once, each with its tokens and a subscription, until its memory was full.

One server of eight cores and sixteen gigabytes held millions, a few kilobytes a client.

Good to know

A shared CPU is shared : runs differ by a few percent, and a neighbour can take some. The database ran on the same machine : on a server of its own, API Maker has the core to itself. Every published page has the whole output of autocannon and the memory of each process : docs.apimaker.dev, Benchmarks.

Built on standards

The core is Rust : the compiler refuses use of freed memory and data races before the server ever runs. One program, the same on every server, checked before an upgrade uses it. And your code, written by your team or by an AI assistant, runs on top of it, in sandboxes and with timeouts.

Recap

To sum up. One native program on a five dollar server. About two thousand requests a second from MongoDB, several times more from the cache. Memory flat under load. A restart in a fraction of a second. And published numbers over twelve thousand requests per second, and millions of WebSocket clients. Next : API Maker on a server of your own, with one command. API Maker. Build faster, spend smarter, deliver better.