Benjamin Cane

Featured article

Cell-Based Architecture for Resilient Payment Systems

The American Express core payments ecosystem is a global platform relied on by Card Members and partners around the world. Every day, it processes live payment transactions that require high availability, low latency, and predictable performance.

Resiliency is not an afterthought; it has been encoded into the system’s design from the beginning. Localized faults are contained within defined boundaries, and recovery is designed to be fast and predictable.

To achieve this, the platform is built around a cell-based architecture that isolates failures, maintains low-latency processing, and scales capacity without expanding the failure domain.

This blog outlines the principles that guide this architecture and how they help us build a resilient payments platform at global scale.

Read article

Recent notes

All notes
  1. If you want failover to work, use it often

    TL;DR

    Use planned traffic shifts to exercise failover before an outage. They reveal stale dependencies, capacity gaps, and what happens to in-flight work. Test automatic failure detection and recovery separately: a planned shift does not exercise those paths.

  2. Before improving a system, decide how you’ll measure the result

    TL;DR

    Start with a measurable baseline before changing a system. Break latency down by dependency and query; categorize incidents to find recurring causes. After a change, compare both the targeted metric and the overall result. Making one component faster does not necessarily make the system faster.

  3. How to make technical decisions more objectively

    TL;DR

    Technical decisions improve when you challenge your own preferred solution. Understand other people’s constraints, identify your proposal’s flaws, and make the strongest case for alternatives. Write down requirements, trade-offs, and realistic what-if scenarios. When several options meet the requirements, continued debate may cost more than the difference between them.

  4. Microservices can work for low-latency workloads—if you design for it

    TL;DR

    Microservices add network overhead, but locality, reusable connections, request-aware load distribution, and concurrency can keep latency low. Those choices introduce operational and correctness complexity. Decide whether that complexity is worthwhile for your latency requirements rather than treating either microservices or a monolith as the automatic answer.

  5. Production bugs happen. Fix the gap, not just the bug.

    TL;DR

    Production ownership continues after service is restored. Recreate the failure in tests, find the testing or design gap that let it escape, and improve observability or recovery where needed. Share the support burden across the team. The aim is to learn from an incident and reduce repeat failures, rather than assign blame.

  6. A timeout doesn’t mean an operation failed. It means you don’t know the outcome.

    TL;DR

    A timeout leaves an operation’s outcome uncertain. Retrying a read may be harmless; retrying a payment can duplicate a side effect. Use business context to decide whether to check state, recognize duplicate attempts, retry, or compensate. Doing nothing can also leave an incorrect outcome that needs reconciliation.

All writing