Skip to main content
Matthew Nguyen
Writing

Notes from the engine room.

Deep dives into distributed systems, software architecture, and the engineering decisions behind production infrastructure.

Showing 8 articlesSort: Latest ▾
4 min read

Why I Prefer Event-Driven Architecture (and When I Don't)

Event-driven design decouples submission from processing, but it is not a default. A look at when EDA wins, when it loses, and what to design around.

  • Backend
  • Distributed Systems
  • Event-Driven Architecture
  • Kafka
4 min read

Rate Limiting at Scale: Picking the Right Bucket

A walk through token bucket, sliding window, and leaky bucket — and why the choice of algorithm is the smallest part of a distributed rate-limiting design.

  • Distributed Systems
  • Rate Limiting
  • Redis
  • Backend
5 min read

Designing Payment Workflows That Survive Real Banks

Bank-integrated payments demand more than idempotent endpoints — virtual accounts, dynamic fee calculation, IPN-driven state machines, and reconciliation that survives SFTP quirks.

  • Backend
  • Payments
  • Kafka
  • SFTP
5 min read

Lessons From Building Backend Systems I've Actually Run

Cross-cutting lessons from production backend work: ownership of shared libraries, changing one hot path at a time, observability before scaling, and contract-driven integration.

  • Backend
  • Architecture
  • Career
  • Distributed Systems