srzafkiell@dev
case-studies/checkpointbi/reliability.md -- less

Reliability

From single points of failure to quorum | CheckPoint Business Intelligence | private company project, sanitized

context

The platform's sessions and rate limits live in Redis, its records in SQL Server, and a MongoDB tier was planned for high-volume events. Everything ran on a fleet of Ubuntu and Windows virtual machines in one data center, with no monitoring beyond what each service logged for itself.

problem

In July 2026 a cloud-init misconfiguration gave one Redis server a second server's IP address. The cluster had three primaries and no replicas, so losing one node took a third of the keyspace with it, and one login dependency failed closed: production logins went down until someone intervened. Nothing alerted, because Alertmanager had never been configured. When I checked, it had attempted 6,256 notifications and failed all 6,256.

what I did

  • Wrote the incident postmortem and fixed the application side first: timeouts and a circuit breaker around Redis, so a sick cache degrades logins instead of blocking them.
  • Expanded the Redis Cluster from 3 to 6 nodes (three primaries, three replicas) with a pinned version, dedicated replication and monitoring users, and a failover drill before calling it done.
  • Stood up a three-node MongoDB replica set: TLS with an internal CA, keyfile authentication, encrypted data volumes (LUKS2 on XFS) with unattended TPM-backed unlock, time sync and the kernel settings the engine requires, verified by 36 checks on every node, with runbooks for failover, patching and scale-out.
  • Built monitoring from zero: Prometheus and Alertmanager on one VM, Grafana on another behind an allow-listed nginx vhost, exporters for every host, MongoDB, Redis and nginx, and the first Windows exporter on the production API host.
  • Wrote the alert rules from real incidents: target down, disk and memory low, clock not synced, swap in use, Redis and MongoDB health, ingestor and API slots not running. Then configured Alertmanager's relay, routes and inhibitions, and proved delivery from its notification log.
  • Documented all of it in the platform's 10 ADRs, 14 runbooks and 2 postmortems, including the runbook that adds a host to monitoring.
  • Caught an 11-hour loss of the public site's DNS records during a certificate renewal in October 2026 by querying the authoritative servers directly as part of the renewal checks, restored every record from a copy of the zone that had already been verified, re-verified each name at the authoritative servers and over HTTPS, and wrote the postmortem.

stack

Redis MongoDB Prometheus Alertmanager Grafana nginx Ubuntu Server systemd LUKS2

outcome

  • A Redis node loss fails over instead of taking logins down; the drill measured the failover in tens of milliseconds.
  • A MongoDB tier encrypted at rest and in transit, built on documented runbooks (the application's cutover to it is a separate, later decision).
  • The fleet is visible: dashboards for every host and every data service, and alerts that actually arrive.

Sanitized case study -- no hostnames, IP addresses, or credentials.