ISO 20022 pacs.008: Parse, Idempotency & Gateway Latency

ISO 20022 pacs.008: Parse, Idempotency & Gateway Latency Answer-first: ISO 20022 MX messages (pacs.008, pacs.009, camt.053) replace legacy ISO 8583 text formats with structured XML/JSON schemas. Production payment gateways validate MX payloads, ensure idempotency, and translate ISO messages to internal ledger events. Pillar Architecture Guide: This article is part of the Architecting 21-Service E-commerce with Golang & DDD series. Please refer to the original article for a detailed architectural overview of the architecture. ...

June 18, 2026 · 13 min · Lê Tuấn Anh

Part 5: ISO 8583 & ISO 20022 Core Banking Standards

Answer-First: Integrating legacy ATM/POS networks (ISO 8583 bitmap protocols) with modern real-time gross settlement systems (ISO 20022 XML/pacs.008 and pacs.009 schemas) requires high-performance Go parser pipelines. In-memory bitwise parsing ensures sub-5ms message translation across payment gateways while preserving full financial audit trails. Prerequisite: Part 4: Modern Event-Driven Core Architecture on event-sourcing structures. Why are international standards important? Answer-first: International messaging standards ensure interoperability across global banking networks, card acquirers, and central bank clearing systems. ...

May 6, 2026 · 10 min · Lê Tuấn Anh

Alipay Double 11: 544,000 TPS Architecture Explained

Alipay Double 11: 544,000 TPS Architecture Explained Answer-First: Alipay reached a reported peak of 544,000 payment transactions per second (TPS) during Double 11 by migrating from a monolithic architecture to Local Deployment Center (LDC) cell-based unitization, OceanBase distributed Paxos database clusters, and RocketMQ 2-phase transactional messaging. Executive Summary & Research Baseline Two different Double 11 peak figures circulate widely, and they measure different layers of the stack — conflating them is the most common error in write-ups on this topic: ...

June 1, 2026 · 6 min · Lê Tuấn Anh

PayPay Architecture: Scaling Payments to 70M Users

PayPay Architecture: Scaling to 70M Users & 100k Peak TPS Answer-First: PayPay scales payment infrastructure to 70M+ users and 100k+ peak TPS using a Kubernetes microservices stack backed by TiDB for ACID-compliant ledger storage and Kafka for event sourcing. Reliability is enforced through GitOps workflows, automated chaos engineering fault injection, and asynchronous event decoupling to isolate checkout processes from banking outages. Running chaos engineering scripts in TiDB payment systems. How event sourcing with Kafka isolates PayPay checkout routes from legacy bank outages. 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. ...

June 1, 2026 · 14 min · Lê Tuấn Anh