# Stack

URL: https://eoxlabs.dev/stack
Last updated: 2026-11-26
Publisher: EOXLABS (https://eoxlabs.dev)

EOXLABS builds on a deliberately small, opinionated toolchain, and every piece earns its place. The stack centers on TypeScript and Cloudflare's edge platform, with Postgres on Neon for large systems of record. Each page in this section states what a technology does, the limits it imposes, and when EOXLABS chooses not to use it.

## What does "every piece earns its place" mean?

A small stack is a reliability decision before it is a taste. Every tool brings its own failure modes, upgrade path, security surface and on-call knowledge. Two tools that do the same job double all of that and halve the depth of experience with either. EOXLABS therefore gives each tool a distinct job. On the edge platform the division is sharp: Workers handle requests, Durable Objects coordinate shared state, D1 holds relational data at the edge, R2 holds files, Workers KV serves read-mostly configuration, and Hyperdrive connects edge code to Postgres.

"Small" does not mean "only new". When a client already runs a working system, EOXLABS often places an edge layer in front of the existing origin and migrates incrementally, as described under [edge architecture](https://eoxlabs.dev/capabilities/edge-architecture). The stack is the default for new work, not a requirement to rewrite what already works.

## How does EOXLABS decide whether a technology earns its place?

A candidate technology has to pass every test on this list before it enters the stack:

1. **It has a distinct job.** The tool must do something better than anything already in the stack; overlap with an existing tool needs a stated reason.
2. **Its behavior is documented.** EOXLABS must be able to state, with a link to the vendor's own documentation, how the tool handles concurrent writes, how stale a read can be, and where its hard limits are.
3. **It runs close to the caller, or has a stated reason not to.** Compute and data go as close to the user as the rules allow.
4. **It can show its work.** The tool produces logs, metrics and an audit trail of what it did and why, or offers a clean place to add them.
5. **It fails in a known way and recovers in a tested one.** There is a clear answer to "what happens when this is down?" and a restore path, such as point-in-time recovery, that has been exercised.
6. **It respects data-location rules.** Where a regulation or contract restricts where data may live, the tool offers a control for it.
7. **Leaving is possible.** Standard interfaces such as SQL, the S3 API, the Postgres wire protocol and web-standard APIs keep the cost of moving away known in advance.
8. **A client's engineers can own it.** After handover, the team that inherits the system must be able to read, run and audit it without EOXLABS in the room.

A technology that fails one test can still appear in a single engagement for a specific reason. It does not become part of the default stack.

## How are the stack pages written?

Each deep dive follows the same discipline, though not the same template. It opens with what the technology is and how EOXLABS uses it. It then covers the patterns EOXLABS applies, the limits and consistency model with links to the vendor's documentation, a comparison with realistic alternatives, and a section on when not to use it. Platform limits change, so every number links to its source and each page shows when it was last updated. The distinction between software designed for this platform and software merely deployed to it is explored in [edge-native versus edge-deployed](https://eoxlabs.dev/engineering/edge-native-vs-edge-deployed).

## The published stack

- **Languages:** [TypeScript](https://eoxlabs.dev/stack/typescript), [Rust](https://eoxlabs.dev/stack/rust), Go, [Swift](https://eoxlabs.dev/stack/swift)
- **Frameworks:** [SvelteKit](https://eoxlabs.dev/stack/sveltekit), Next.js, Astro, Hono, [Tauri](https://eoxlabs.dev/stack/tauri)
- **Edge platform:** [Cloudflare Workers](https://eoxlabs.dev/stack/cloudflare-workers), [Durable Objects](https://eoxlabs.dev/stack/durable-objects), [D1](https://eoxlabs.dev/stack/d1), [R2](https://eoxlabs.dev/stack/r2), [KV](https://eoxlabs.dev/stack/workers-kv), [Hyperdrive](https://eoxlabs.dev/stack/hyperdrive)
- **Data:** [Postgres (Neon)](https://eoxlabs.dev/stack/neon-postgres), Drizzle ORM, Turso, Upstash
- **Identity & payments:** Better Auth, Stripe

## Stack

- [Cloudflare Workers](https://eoxlabs.dev/stack/cloudflare-workers): Cloudflare Workers is the request layer of EOXLABS systems, and this page covers how EOXLABS structures a Worker, the limits behind each design choice, and where a Worker is the wrong tool.
- [Durable Objects](https://eoxlabs.dev/stack/durable-objects): Durable Objects give EOXLABS one single-threaded, authoritative home for each piece of shared state, with clear guarantees, hard limits and cases where another store is better.
- [D1](https://eoxlabs.dev/stack/d1): D1 is the relational store EOXLABS reaches for first on Cloudflare, and its single-threaded design shapes schemas, replica sessions and the point where Postgres is the better choice.
- [R2](https://eoxlabs.dev/stack/r2): R2 holds the bytes in EOXLABS systems while D1 or a Durable Object holds the record, with create-once writes, large uploads, bucket locks and a comparison with Amazon S3.
- [Workers KV](https://eoxlabs.dev/stack/workers-kv): Workers KV serves configuration and published content from the edge cache, and EOXLABS designs around its eventual consistency with versioned keys and a single writer.
- [Hyperdrive](https://eoxlabs.dev/stack/hyperdrive): Hyperdrive lets edge code query a central Postgres without a new connection per request, and EOXLABS splits cached and fresh reads and keeps transactions short.
- [Postgres on Neon](https://eoxlabs.dev/stack/neon-postgres): When EOXLABS chooses Postgres on Neon, how Workers connect to it, how branches change delivery, what scale to zero costs, and how it compares with D1 and Turso.
- [SvelteKit](https://eoxlabs.dev/stack/sveltekit): Why EOXLABS builds edge-rendered web products in SvelteKit with Svelte 5 runes, how it splits prerendered and dynamic routes on Workers, and when Next.js or Astro fits better.
- [TypeScript](https://eoxlabs.dev/stack/typescript): The compiler settings EOXLABS uses, how one set of types runs from the database schema to the UI, why untrusted input is still validated at runtime, and where Node type stripping fits.
- [Rust](https://eoxlabs.dev/stack/rust): Where Rust earns its place in an EOXLABS system, what WebAssembly on Workers allows and limits, the costs in build time and hiring, and how Rust compares with Go and TypeScript.
- [Swift](https://eoxlabs.dev/stack/swift): When EOXLABS builds natively in Swift, how Swift 6 concurrency shapes the code, what App Review means for the architecture, and how one edge API serves the app and the web.
- [Tauri](https://eoxlabs.dev/stack/tauri): How EOXLABS structures Tauri 2 apps, what the capability and permission system restricts, how updates are signed and shipped, and how Tauri compares with Electron and native Swift.

## Related

- [Edge Architecture](https://eoxlabs.dev/capabilities/edge-architecture): EOXLABS decides what runs at the edge, where each piece of state lives and how consistent it must be, using Cloudflare Workers and its storage primitives.
- [Edge-native vs edge-deployed](https://eoxlabs.dev/engineering/edge-native-vs-edge-deployed): What separates an edge-native system from one that only runs its handlers at the edge, with a comparison table and the architecture smells that give an edge-deployed system away.
- [About EOXLABS](https://eoxlabs.dev/about): Who EOXLABS is, what it builds, who it serves, where it is based, how it works and how to start a project.
