# Engineering notes

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

EOXLABS publishes engineering notes: first-hand technical writing by the engineers who design and build its systems. Each note takes one problem, such as where state should live at the edge, how to run background work without servers, or how to protect third-party credentials, and explains the design, the code, the trade-offs, and what we would change.

## What are these notes for?

They are for engineers who want working detail and for technical buyers who want to see how a team reasons before they hire it. Every note follows the same discipline. It opens with a direct answer, explains the mechanism, shows code written against current APIs, and puts the choices in a table or a decision list. It ends with what we would do differently, because a design without known weaknesses hasn't been examined closely enough.

The notes link out to the vendor documentation they rely on, and across to our [stack pages](https://eoxlabs.dev/stack) for the platforms and to the [glossary](https://eoxlabs.dev/glossary) for terms like Durable Object or tail latency. They follow the principles EOXLABS works by: edge first, auditable by default, honest claims, and small, sharp tools.

## How do we separate verified facts from targets?

Every number or behavior in a note belongs to one of three kinds, and each kind is written differently.

| Kind of statement | How we write it | Example |
|---|---|---|
| Platform fact | Linked to the vendor's own documentation, checked when the note is published | [Durable Object alarms retry](https://developers.cloudflare.com/durable-objects/api/alarms/) with exponential backoff, up to six times |
| Design target | Labeled as a target, never as a result | Under 50 ms p50 response at the edge |
| Measured result | Published only with its method and data | None yet |

Platform facts change. When a vendor changes a limit, a price unit or an API, we revise the note, and the "Last updated" date on the page moves with it. If a statement can't be traced to a primary source, it doesn't go in.

Design targets are what we build toward. The 50 ms p50 figure is a design target, not a measured guarantee, and we don't present it as anything else.

## How are benchmarks published?

A benchmark appears in these notes only with enough detail for someone else to repeat it:

- the workload, and the code or configuration that produced it
- where the clients ran, and how many requests were sampled
- the percentiles reported, at least p50 and p99, since averages hide tail latency
- the tool, its version, and the date of the run
- the platform settings that affect the result
- the raw data, not only a chart

Until a measurement meets that bar, a note describes the design and says that the number is pending. We would rather publish no figure than one nobody can check.

## Where do the notes fit with the rest of EOXLABS?

The notes show the engineering behind our [capabilities](https://eoxlabs.dev/capabilities), from edge architecture to security and migration. If you want to know how a project runs from first call to production, read [how EOXLABS works](https://eoxlabs.dev/process). If a note describes a problem you have now, [start a project](https://eoxlabs.dev/start) and send a brief.

## Engineering notes

- [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.
- [Durable Object alarms instead of background jobs](https://eoxlabs.dev/engineering/durable-object-alarms): Replacing process-model background jobs with Durable Object alarms, with verified semantics, a TypeScript scheduler that runs many jobs on one alarm, idempotency rules and a decision list.
- [WebSocket hibernation for a real-time inbox](https://eoxlabs.dev/engineering/websocket-hibernation-realtime-inbox): One Durable Object per inbox, hibernating WebSockets, messages written to SQLite before fan-out, and a sequence cursor that lets a reconnecting device replay exactly what it missed.
- [Envelope encryption for OAuth tokens on Workers](https://eoxlabs.dev/engineering/envelope-encryption-oauth-tokens): Per-token AES-GCM data keys wrapped by a key-encryption key in a Worker secret, associated data binding each ciphertext to tenant and provider, cheap rotation, and a threat model.
- [Why sub-50 ms is a defensible edge claim and sub-2 ms is not](https://eoxlabs.dev/engineering/sub-50ms-edge-latency): Fiber propagation, handshake round trips and last-mile latency decide which edge latency claims hold up. Server-Timing and real-user data keep the numbers honest.
- [Designing backups that survive ransomware](https://eoxlabs.dev/engineering/ransomware-resilient-backups): Attackers go for backups first. A design built on locked retention, credentials production cannot reach, entropy signals with known false positives, and timed restores.
- [Migrating a monolith to the edge without downtime](https://eoxlabs.dev/engineering/monolith-to-edge-migration): Move a server-rendered monolith to an edge stack one route at a time, behind a Worker façade, with shadow comparison, single-writer data ownership and a rollback at every step.
- [One engineering company, many industries](https://eoxlabs.dev/engineering/one-company-many-industries): Where one engineering company's work carries across healthcare, finance, defense and other sectors, where it stops, and how EOXLABS closes the gap with the client's compliance owner.

## 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.
- [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.
- [How EOXLABS works](https://eoxlabs.dev/process): The two ways to start (Prepare A Launch and Maintain On Course), the two ways to work (fully managed and embedded), and what happens after a brief.
- [Security and reliability at EOXLABS](https://eoxlabs.dev/trust): Practices, not certifications. How eoxlabs.dev is built, the principles behind EOXLABS systems and the security properties of its products.
