Version: closed alpha

Architecture

The building blocks every Drift app is made of — and how they click together.

The three services

Every Drift app is built from three building blocks. Use one, use all three — they're designed to click together, so your site can call your functions and your functions can reach your data with nothing to wire up.

Atomic — Compute

Atomic runs your code as functions: small HTTP endpoints you write in the language you already know. You push the code; Atomic builds it, gives it a URL, secures it, scales it, and keeps it responsive — there are no cold starts to design around. A function is just a file with a one-line directive at the top that sets its route and authentication.

CapabilityWhat it does
FunctionsHTTP API endpoints, zero boilerplate, multiple languages.
ElementsGroup related functions into a single logical service.
SchedulesRun functions on a cron-style timetable.
TriggersInvoke functions from queue messages or incoming webhooks.
AuthPer-function API keys — turn protection on by editing one line.
Logs & metricsStructured logs in real time; request counts, durations, error rates.

Read the Atomic guide →

Backbone — Data

Backbone is the encrypted data plane your functions talk to. It bundles the storage primitives most apps reach for — documents, files, secrets, queues, cache, and coordination — behind one simple interface, so you don't assemble (and pay for) five separate databases.

CapabilityWhat it does
NoSQLDocument collections with indexing for fast lookups.
SQLPer-slice SQLite databases with schemas and transactions.
BlobsObject storage for files, uploads, and assets.
SecretsEncrypted configuration, injected into your functions.
QueuesPub/sub messaging for background and asynchronous work.
CacheIn-memory key/value store for hot reads.
LocksCoordination primitives so work isn't processed twice.

Read the Backbone guide →

Canvas — Hosting

Canvas hosts your website or frontend. Point it at a folder and it serves your site over HTTPS at your slice's URL. Its best trick: a Canvas site can call its own Atomic functions on the same origin — no CORS to configure, no separate API domain, no tokens to shuttle between two services.

CapabilityWhat it does
Static hostingOne-command deploy of any static site or single-page app.
Same-origin APIsCall your Atomic functions from the browser with no CORS setup.
Custom domainsBring your own hostname; TLS is issued and renewed for you.
Automatic TLSEvery site gets a certificate out of the box — nothing to request.

Read the Canvas guide →