STRIPES / ENGINEERING LAB

We engineer the infrastructure critical systems run on, and prove that it works.

We design, build and verify infrastructure for systems that cannot afford to fail: data platforms, the clouds they run on, and the security around them. We also research how to build it with AI-driven development without losing control of correctness.

Since 2018: engineering for systems where downtime and lost data are not an option.

01 / RESEARCH AREAS

Research areas

Six areas we work in, each with the principle we hold ourselves to.

AREA 01 / DATA AVAILABILITY

Data availability

A failover is only as good as the fence around it.

  • Clustered MySQL and PostgreSQL with automatic failover and switchover, single-site and multi-site, active/passive and active/active.
  • Failure-window engineering: the primary failing in the middle of a failover, a site going dark, a database stopping under load, and proof that no transaction is lost.
  • Write fencing during planned switches, including engines where the proxy cannot see or end every session.
  • Fleet health signals that never mistake a silent network for a dead node.
  • Major version upgrades done rolling, without downtime.

AREA 02 / DATA RECOVERY

Data recovery

A backup you have not restored is a hypothesis.

  • Physical and logical backup and restore for MySQL, MariaDB and PostgreSQL, including incremental chains and point-in-time recovery.
  • Rebuilding nodes from live donors, positioned exactly where replication must resume.
  • Crash recovery: finding the transactions a failed primary never shipped, and deciding when a node may safely rejoin.
  • Keeping backup tooling in step with server releases, where a mismatch silently breaks restores.
  • Recovery design with stated targets per failure class, immutable storage, and restore tests that run on a schedule.

AREA 03 / CLOUD PLATFORM INFRASTRUCTURE

Cloud platform infrastructure

Infrastructure is code only if it survives the second run on a different system.

  • Provisioning as code (Ansible, Terraform) that tracks new Linux, database and Java releases and retires end-of-life ones.
  • Multi-region and multi-cloud deployments on AWS and European providers, with networking, firewalls and teardown that leaves nothing behind.
  • Bring-your-own-cloud platforms: the database runs in the customer's account and is managed from outside it.
  • Control planes for large agent fleets on message brokers (NATS, JetStream).
  • CI and release pipelines built from the ground up, including Kubernetes operator testing.

AREA 04 / SECURITY

Security

The safest access is the one that does not exist. Audit-ready by design.

  • Zero-inbound architectures: the vendor holds no key and no route into the customer's environment.
  • Credential lifecycle: issuance, expiry, rotation and revocation, with every secret reveal audited.
  • Multi-tenant isolation and tamper detection on shared infrastructure.
  • TLS end to end, including certificate rotation on live clusters.
  • Architecture mapped to ISO 27001 and SOC 2 controls, so the audit follows from the design.

AREA 05 / VERIFICATION

Verification

We break it on purpose, so it does not break by accident.

  • Test systems for database clustering products, from single scenarios to full release certification.
  • Continuous certification against the newest operating system, database and Java releases, catching changed defaults before customers do.
  • Fault injection into failover and switchover logic.
  • End-to-end testing against real cloud environments, including security and tenant-isolation checks.
  • Automatic failure classification, so every red run names its cause.

AREA 06 / AI-DRIVEN DEVELOPMENT

AI-driven development

The model is an author, never its own reviewer.

  • Spec-driven development: a human-reviewed specification is the gate before any AI-written code.
  • Independent verification of AI-written code: mutation testing, live end-to-end evidence, and tests agreed by people rather than generated alongside the code.
  • AI code review treated as a sampler, not a gate: stopping rules, independent reviewers, and every finding verified before it costs a colleague's attention.
  • Context and memory discipline for long-running agent work: decisions kept in durable files, not in conversation that gets summarised away.
  • Rules enforced by hooks and tooling, not by prompt wording.

02 / LAB NOTES

Lab notes

Research from our engagements, written up when we found something worth an architect's time. Client names and details are left out; the findings are not.

NOTE 001 / CLOUD PLATFORM, SECURITY / 2026-11 / 11 MIN READ

Choosing a control channel for a bring-your-own-cloud fleet

Bandwidth does not decide how a vendor should talk to thousands of agents in customer clouds. Command semantics, tenant isolation, consensus limits and the cost curve do.

Read note
  1. The problem
  2. Bandwidth does not decide
  3. What "guaranteed" has to mean
  4. The candidates
  5. Isolation is configuration, so test it like code
  6. The ceiling at tens of thousands of agents
  7. The cost curve
  8. Silence is not evidence
  9. The security track record
  10. What we chose
  11. What we would do differently
  12. Open questions

NOTE 003 / DATA AVAILABILITY / 2026-11 / 11 MIN READ

Silence is not death: what a remote control plane may conclude from a missing heartbeat

A node that stops reporting may be dead, or its network, broker or agent may have failed. A model of what counts as evidence before automation is allowed to replace a database node.

Read note
  1. One observer, one channel
  2. What is familiar, and what is not
  3. A model of evidence
  4. Why a disconnect event is not evidence
  5. Correlated silence is a channel event
  6. A breaker that can never fire
  7. Clocks
  8. Open questions

NOTE 004 / VERIFICATION / 2026-11 / 11 MIN READ

Always current: certifying a database stack against a moving target

Most breakage in database middleware comes from changed defaults, not new features. Certification as a standing practice, with one matrix and a named cause for every red run.

Read note
  1. The upgrade nobody schedules
  2. Defaults break more than features
  3. Adopt new releases early
  4. One matrix as the single source of truth
  5. Retire on a schedule, with explicit reasons
  6. A red run must name its blocker
  7. Keep known-red tests red
  8. Product, environment or repository
  9. What we would do differently

NOTE 005 / AI-DRIVEN DEVELOPMENT, VERIFICATION / 2026-11 / 11 MIN READ

The model wrote the tests too: why a green run is not evidence, and what is

When the model writes both the code and the tests, a passing suite proves only that they agree. Mutation testing, live runs, and a taxonomy of tests that pass for nothing.

Read note
  1. One author, two artifacts
  2. Mutation as an oracle the author does not control
  3. What survived
  4. A taxonomy of vacuous passes
  5. Proving a security property by breaking it
  6. Bugs that exist only against real infrastructure
  7. Independence has to come from people
  8. What we would do differently
  9. Open questions

03 / ENGAGEMENTS

Engagements

We work on systems that hold data that must not be lost. Engagements are hands-on: we design, write the code, and prove that it works.

  • Engineering inside your team. We join your engineers for months and build clustering, recovery, platform and test infrastructure alongside them.
  • Architecture reviews. A written review of a design or a running system: what fails, what it costs, and what to change first.
  • Availability and recovery reviews. We test failover and restore against your real topology and report what actually happens.
  • Security reviews. Access paths, credentials and tenant isolation, checked the way an auditor will read them.
  • Verification and certification. Test systems, fault injection and continuous certification against new operating system, database and runtime releases.
  • AI-driven development practice. Specification gates, independent verification and review rules for teams that let AI write most of their code.

Every engagement starts with a short call and a written scope: what we will do, what you will get, and how we will both know it worked.

04 / CONTACT

Contact

Write to us with a short description of your system and what you need.

info@stripeslabs.com