The side quest that freed 10% of our database
A single lateral-join query answering "who's on call for this rotation layer right now" consumed 34% of incident.io's Postgres replica CPU.
A single lateral-join query answering "who's on call for this rotation layer right now" consumed 34% of incident.io's Postgres replica CPU.
AI model providers can mostly be managed like any third-party dependency, with SLAs, SLOs, an LLM gateway, failover and observability, and they count toward dependency availability ceilings (three 99.99% components cap you near 99.97%).
AI features that have quietly become part of engineers' workflows need designed fallbacks for both outright model outages and silent quality regressions.
incident.io's Cursor cloud agents now QA React Native pull requests by driving an iOS simulator (EAS Simulator) or Android emulator in the cloud against a per-agent copy of the Go backend with seeded Postgres data, tunnelled back to the agent's VM, and attach claims linked to screenshots and a session recording.
Using a SAVEPOINT per tick in a Postgres-backed job queue made every locked row carry a MultiXact ID in xmax.
Building a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model.
incident.io made its rate limiter keep working when its Valkey backing store (Google Cloud Memorystore) is unavailable, instead of failing open.
incident.io removed Google Cloud Pub/Sub as a single point of failure by adding NATS as a second message broker in an active-active setup behind its existing Go `eventadapter` abstraction.
incident.io built an internal "data brain" agent that answers business questions against BigQuery by encoding institutional analyst knowledge rather than relying on raw text-to-SQL.
incident.io moved nearly all Postgres read traffic to a read replica and had to preserve read-after-write consistency without hand-routing each query.
incident.io measures On-call reliability with two customer-centric SLIs, alert ingestion availability and notification delivery latency under 5 minutes, both targeted at 99.99% monthly.
A 99.99% availability target leaves only about 4 minutes 23 seconds of downtime per month, and even an idealised 3am page-wake-runbook-failover sequence exceeds it, so four nines can't depend on a human in the critical path.
incident.io's on-call schedule renderer, which computes future shifts on the fly from rotation config, working hours and fair-scheduling rules, became dramatically faster through a series of fixes culminating in a ~2,500x speedup.
incident.io runs a deliberately minimal stack on Google Cloud that lets two platform engineers support thousands of customers.
incident.io cut its typical lint-plus-compile feedback loop from over 90 seconds to under 10, arguing that fast toolchains matter even more when AI coding agents generate code faster than slow tools can validate it.
incident.io cut P95 latency of its alert-filtering API for large organisations from 5s to 0.3s by pushing JSONB attribute filters into Postgres using bloom filters.
The October 20, 2025 AWS us-east-1 outage degraded incident.io through third-party dependencies even though it runs on Google Cloud: its transcription, SAML, telecom and status page providers were all affected.
incident.io defines its HTTP API in Goa's design-first DSL, which generates net/http transport handlers, validation code, typed Go service interfaces, OpenAPI 3.0 specs and Go clients.
incident.io cut CI/CD times by moving from a hosted provider, where a cold Go build cache made compiling 15,000+ tests across 350+ packages the bottleneck, to Buildkite running on three self-hosted 48-vCPU servers.
incident.io engineers run four to seven Claude Code agents in parallel, each isolated in its own Git worktree so concurrent sessions don't clobber a shared working directory.
incident.io built Workbench, an internal AI tooling suite, instead of buying an off-the-shelf eval and observability product such as Galileo or Braintrust, to support development of its incident-investigating AI agent.
incident.io cut its incident chatbot's response latency by about 50% (saving 2-3s per interaction) by speculatively executing LLM tool calls in both directions.
Letting an LLM iteratively rewrite a prompt until evals pass produces overfitted, brittle prompts.
Six practical techniques fix prompts that resist the usual remedies.