Part 1: Microservices & GitOps Blueprint — Domain-Driven Design and Automated Canaries

Series Hub | Next Chapter: Part 2 — Event-Driven Architecture & Kafka at Scale Answer-first: PayPay orchestrates 1,000+ Kubernetes microservices across autonomous bounded contexts using Go 1.25 and high-throughput gRPC Protobuf contracts, cutting L7 serialization latency by 72% compared to REST JSON. Automated GitOps pipelines driven by ArgoCD and Argo Rollouts enforce progressive canary deployments with live Prometheus P99 telemetry gates, guaranteeing zero-downtime releases and sub-minute autonomous rollbacks. Prerequisite: Deep understanding of Domain-Driven Design (DDD) bounded contexts, Kubernetes Custom Resource Definitions (CRDs), Envoy L7 service mesh networking, and GitOps delivery principles. ...

Part 2: Event-Driven Architecture — Kafka at Scale, Transactional Outbox & Idempotency

Previous Chapter: Part 1 — Microservices & GitOps Blueprint | Series Hub | Next Chapter: Part 3 — Data Infrastructure: From Aurora to TiDB Answer-first: PayPay guarantees zero event loss and strict ledger decoupling under promotional surges exceeding 1,250 TPS by combining the Transactional Outbox pattern with Debezium CDC and Apache Kafka. Consumer groups utilize the CooperativeStickyAssignor to prevent rebalance stop-the-world pauses, while a two-stage Redis distributed lock provides exactly-once processing semantics before persisting updates into the database. ...

Part 3: Data Infrastructure — Migrating from Aurora to TiDB Multi-Raft NewSQL

Previous Chapter: Part 2 — Event-Driven Architecture & Kafka at Scale | Series Hub | Next Chapter: Part 4 — SRE Practices & Chaos Engineering Answer-first: Facing hard single-writer throughput limits on Amazon Aurora MySQL during promotional peaks, PayPay migrated its core financial ledger to TiDB Distributed SQL. By leveraging Multi-Raft consensus across TiKV storage nodes, AUTO_RANDOM primary keys to eliminate hot-region bottlenecks, and Percolator-based distributed transactions, TiDB delivers linear write scaling, zero-downtime online DDLs, and sub-15ms P99 ledger settlement. ...

Part 4: SRE Practices — Chaos Engineering with Chaos Mesh & Multi-Region Resilience

Previous Chapter: Part 3 — Data Infrastructure: From Aurora to TiDB | Series Hub | Next Chapter: Part 5 — Campaign Architecture: Surviving the 10-Billion Yen Surge Answer-first: PayPay sustains 99.999% payment availability by embedding Chaos Mesh fault injection directly into production pipelines, proactively testing pod kills, network partitions, and clock skews without impacting consumers. Paired with strict SLO/SLI error budgets, gRPC deadline propagation, and adaptive concurrency limits, the infrastructure autonomously isolates degrading services and sheds load before cascading failures can propagate. ...

Part 5: Campaign Architecture — Surviving the 10-Billion Yen Surge & Virtual Waiting Rooms

Previous Chapter: Part 4 — SRE Practices & Chaos Engineering | Series Hub | Next Chapter: Part 6 — AI Platform: Real-Time Fraud & LLM Hub Answer-first: Handling viral traffic spikes during nationwide cashback promotions without compromising core payment reliability requires decoupling promotional logic from financial checkouts. PayPay accomplishes this via Edge Virtual Waiting Rooms to throttle traffic bursts, single-threaded atomic Redis Lua scripts that prevent budget overruns in sub-millisecond memory, and asynchronous reward crediting reconciled via daily three-way automated audit pipelines. ...

Part 6: AI Platform — Real-Time Fraud Detection & Enterprise LLM Hub

Previous Chapter: Part 5 — Campaign Architecture: Surviving the 10-Billion Yen Surge | Series Hub Answer-first: PayPay enforces sub-10ms real-time fraud detection and sovereign generative AI by pairing Feast feature stores on Redis Cluster with Triton Inference Server running quantized ONNX models over gRPC. Sensitive data is protected via an Enterprise LLM Gateway enforcing PII redaction and semantic caching, delivering ultra-low fraud loss rates while maintaining strict compliance with Japan APPI regulatory mandates. ...

PayPay Architecture: Scaling for Planet-Scale Mobile Payment Campaigns

Answer-first: PayPay is Japan’s dominant mobile payment service, supporting over 70 million registered users, 7.8 billion annual transactions, and peak promotional surges exceeding 1,250 TPS. To deliver 99.999% availability with zero double-spending guarantees, PayPay evolved from monolithic roots to a cloud-native architecture powered by five pillars: Domain-Driven Microservices with ArgoCD GitOps, Event-Driven decoupling via Apache Kafka, Distributed SQL horizontal scale with TiDB Multi-Raft, Proactive resilience via Chaos Mesh, and Sub-10ms real-time ML fraud detection. ...

PayPay Architecture: Scaling Payments to 70M Users

PayPay Architecture: Scaling to 70M Users & 100k Peak TPS Answer-first: PayPay’s payment architecture scales to 70M users and 100k TPS using microservice domain isolation, distributed transaction Saga patterns, and multi-region database sharding. PayPay launched in October 2018 and grew to 10 million users in just 3 months — a growth rate that no Japanese fintech had ever seen. By 2025, the platform had crossed 70 million registered users and processed 7.8 billion payments per year. Behind this growth is an engineering team that has had to scale not just their infrastructure, but their entire engineering culture: from service standardization and GitOps-driven deployments to chaos engineering and AI-powered fraud detection. ...