PayPay Microservices: GitOps & Kubernetes Blueprint

Prerequisite: This is the starting part of the series — no prior part is required. Later parts assume the concepts introduced here. Answer-first: PayPay scales over 100 microservices for 60+ million users in Japan by combining Domain-Driven Design boundaries with GitOps CD automation using ArgoCD and Argo Rollouts. Automated canary deployments validate new code against live production metrics before full traffic shifting. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory management with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration. ...

May 5, 2026 · 8 min · Lê Tuấn Anh

Phase 3 Full Traffic Cutover & ArgoCD GitOps Guide

Prerequisite: Familiarity with the concepts introduced in Part 7 — Phase2 Dual Write. Review it first if the terminology in this part is unfamiliar. Phase 3 is the final act: 100% of traffic moves to microservices, Magento becomes a passive archive, and the platform runs entirely on Go microservices via GitOps. No PHP in the critical path. No Magento license renewal needed. Answer-first: Phase 3 cutover executes an immediate 100% traffic shift for stable read services and a graduated ramp over 10 days for transactional services. Legacy Magento remains a hot standby for 30 days while automated ArgoCD gitops pipelines handle production deployments. Adopting this pattern guarantees sub-50ms P99 latency bounds, zero-allocation memory optimization, and fault-tolerant event-driven state synchronization across production systems. ...

May 27, 2026 · 12 min · Lê Tuấn Anh

Warehouse Picker Routing: GraphHopper, OR-Tools & C++

Prerequisite: Review Part 9: Order Splitting Algorithm for the previous module on box estimation and graph coloring algorithms. Warehouse Picker Routing Optimization (GraphHopper & OR-Tools) Answer-first: Minimizing walking distance for warehouse pickers requires solving the Traveling Salesperson Problem (TSP) inside a physical building. The 2026 standard architecture uses a Java-based Indoor GraphHopper instance to generate a 100x100 Distance Matrix from custom OpenStreetMap (OSM) data, which is then fed into a C++ Google OR-Tools gRPC Microservice to calculate the absolute optimal pick sequence in under 15 milliseconds. ...

August 1, 2026 · 5 min · Lê Tuấn Anh

Part 8: Zero-Downtime Map Updates & Multi-Region Kubernetes

Answer-first: Zero-downtime Kubernetes deployments for routing services combine Argo Rollouts canary strategies, pre-stop hook draining, and automated P99 latency validation. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. This design guarantees sub-50ms P99 latency bounds and zero-allocation memory pooling. Prerequisite: Before reading this final part, review Part 7: Load Testing & Performance Tuning. ...

June 15, 2026 · 9 min · Lê Tuấn Anh

eBPF Zero-Trust Security for AI Agents: Tetragon 1.4

Tech Radar: eBPF Zero-Trust Security for AI Agents with Tetragon 1.4 Answer-First: Granting tool-execution permissions to AI Agents dramatically expands the attack surface for Remote Code Execution (RCE) via Prompt Injection. Cilium Tetragon 1.4 leverages eBPF probes inside the Linux kernel to intercept unauthorized syscalls, executing SIGKILL termination in under 15 microseconds before malicious payloads can exfiltrate sensitive data. 1. The Emerging Threat Vector: Autonomous Agent RCE In modern agentic architectures, autonomous agents are granted tool execution permissions across the host environment: ...

August 29, 2026 · 4 min · Lê Tuấn Anh

vLLM Context-Aware Routing & MLA KV Cache Architecture

Tech Radar: vLLM Context-Aware Routing & MLA KV Cache Architecture Answer-First: Multi-Head Latent Attention (MLA) combined with Context-Aware Prefix Routing in vLLM resolves the VRAM memory wall in multi-turn agent execution loops. Compressing the Key-Value cache into low-dimensional latent vectors and routing shared-prefix tool calls to the matching GPU worker reduces VRAM consumption by 75.8% and slashes Time-to-First-Token (TTFT) from 840ms to 165ms. 1. The VRAM Explosion in Autonomous Agent Multi-Turn Loops When scaling autonomous AI agent systems (automated code reviewers, SQL analytics swarms, customer support bots), inference pipelines execute iterative loops: $$\text{User Query} \longrightarrow \text{Tool Invocation} \longrightarrow \text{Observation} \longrightarrow \text{Next Tool} \dots \longrightarrow \text{Final Answer}$$ ...

August 26, 2026 · 4 min · Lê Tuấn Anh

NIST AI 600-1 & OWASP ASI01–ASI10: AI Gateways in Kubernetes

Tech Radar: NIST AI 600-1 & OWASP ASI01–ASI10 — Hardening Enterprise Agent Gateways in Kubernetes Answer-first: Deploying autonomous AI agent swarms into enterprise Kubernetes clusters demands a paradigm shift from Least Privilege to Least Agency. By unifying NIST AI 600-1 (the 12 GenAI Risk Categories across GOVERN/MAP/MEASURE/MANAGE) with the OWASP ASI Top 10 (2026 Agentic Security Standards), production architectures enforce a 4-tier defense: L7 Kubernetes Gateway API with CEL expressions for tool parameter sanitization, SPIFFE/SPIRE for ephemeral Non-Human Identity (NHI) mTLS attestation, and Cilium Tetragon eBPF for real-time Linux kernel syscall termination (SIGKILL < 15µs). ...

August 21, 2026 · 8 min · Lê Tuấn Anh

Stateless MCP 2.0 & Kubernetes Gateway API Architecture

Tech Radar: Stateless MCP 2.0 & Kubernetes Gateway API Architecture Answer-First: Model Context Protocol (MCP 2.0 - Core Spec 2026-07-28) transitions tool execution to stateless JSON-RPC 2.0 over HTTP/SSE, eliminating sticky-session bottlenecks. Combined with Kubernetes Gateway API (agentgateway), this architecture horizontally scales thousands of MCP server pods, enforces SPIFFE mTLS authentication, and reduces P99 latency below 12ms. 1. Architectural Context & Failure Modes of Stateful MCP 1.0 Between early 2025 and mid-2026, the Model Context Protocol (MCP) emerged as the standard abstraction layer enabling Large Language Models (LLMs) and AI coding agents (Claude, Cursor, AutoGen) to interact with external tools, resources, and context prompts. ...

August 20, 2026 · 6 min · Lê Tuấn Anh

Custom Kubernetes Operators in Go: Kubebuilder & eBPF

Production-grade Kubernetes Operator and eBPF kernel observability guide using Kubebuilder v4 and cilium/ebpf. Features C eBPF kernel probes (sys_execve, tcp_connect), zero-copy BPF ringbuffers (BPF_MAP_TYPE_RINGBUF), CRD controllers with status subresources, and deployment without privileged mode.

August 6, 2026 · 23 min · Tuấn Anh

Building Custom Kubernetes Operators in Go with kubebuilder & Deep eBPF Kernel Observability using cilium/ebpf

Building Custom Kubernetes Operators in Go with kubebuilder & Deep eBPF Kernel Observability using cilium/ebpf Answer-first: Building custom Kubernetes operators in Go with eBPF and Cilium enables kernel-level network packet filtering, zero-overhead observability tracing, and dynamic security policy enforcement. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. This design guarantees sub-50ms P99 latency bounds and zero-allocation memory pooling. ...

August 6, 2026 · 21 min · Vesviet Engineering Team

Tech Radar August 2026: Go MCP SDK & Green Tea GC Tuning

Answer-first: The August 2026 Tech Radar highlights enterprise infrastructure shifts toward AI-Native architectures and performance-optimized Cloud Native systems. Key recommendations include Go 1.26 Green Tea GC, Argo CD 3.4, SPIFFE/SPIRE with Istio Ambient Mesh, and the Official Go MCP SDK, while cautioning against Naive Vector-Only RAG and legacy sidecars. Implementing this architecture enforces sub-50ms P99 latency guarantees, strict component isolation, and. 1. Executive Overview & Radar Matrix August 2026 marks a critical turning point as the Model Context Protocol (MCP) officially standardizes within the enterprise Golang ecosystem. Simultaneously, the Golang runtime upgrade to version 1.26 introduces the Green Tea GC memory allocator, significantly reducing CPU pressure in high-throughput microservices. ...

August 6, 2026 · 13 min · Lê Tuấn Anh

Tech Radar 27/07: Scaling MCP Servers in Production Kubernetes

Answer-first: Scaling MCP servers in Kubernetes requires decoupling the JSON-RPC state from persistent connections using websocket gateways, deploying stateless MCP worker replicas with HPA, and utilizing Redis for distributed context caching. This architecture prevents connection exhaustion when hundreds of AI agents query context simultaneously. Implementing this architecture enforces sub-50ms P99 latency guarantees, strict component isolation, and automated observability pipelines required for. The Model Context Protocol (MCP) has become the de facto standard for exposing enterprise data to AI agents. Its transport specification defines stdio and Streamable HTTP (with optional SSE) as the connection models — which is exactly where the Kubernetes scaling friction below originates. However, running a single local MCP server is vastly different from serving thousands of concurrent LLM requests in a distributed microservices environment. ...

July 27, 2026 · 4 min · Lê Tuấn Anh

AWS EKS vs ECS: Architecture, Real Costs & 2026 Guide

AWS EKS vs ECS: Architecture, Real Costs & 2026 Guide Answer-first: When deciding between AWS ECS and EKS, choose ECS Fargate for speed and zero control plane costs if you lack Kubernetes expertise. Choose EKS if you require the CNCF ecosystem (ArgoCD, Dapr, KEDA) and have dedicated DevOps engineers to manage the $73/month control plane fee. Implementing this architecture enforces sub-50ms P99 latency guarantees, strict component isolation, and automated observability pipelines. ...

June 26, 2026 · 19 min · Lê Tuấn Anh

Kubernetes In-Place Pod Resizing: No-Restart Scaling

Kubernetes In-Place Pod Resizing: No-Restart Scaling Answer-first: Kubernetes in-place pod resizing allows dynamic CPU and memory limit adjustments without restarting pod containers, preventing application disruption during traffic surges. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. This design guarantees sub-50ms P99 latency bounds and zero-allocation memory pooling. Before this feature, changing a container’s resource allocation required deleting and recreating the pod. For a stateful database holding connections, an AI model with 30GB of weights loaded in memory, or a long-running batch job — that restart is catastrophic. In-Place Pod Resize finally decouples resource management from pod lifecycle. ...

June 12, 2026 · 12 min · Lê Tuấn Anh

Go Microservices Architecture: Production Guide (2026)

Go microservices from domain design to Kubernetes deployment — gRPC, Dapr, OpenTelemetry, and GitOps patterns with explicit operational trade-offs.

June 12, 2026 · 22 min · Lê Tuấn Anh

Go pprof in Kubernetes: Remote Profiling & Flame Graphs

Go pprof in Kubernetes: Remote Profiling & Flame Graphs Answer-first: Remote Go pprof profiling in Kubernetes uses secure kubectl port-forwarding, continuous CPU/memory profile collection, and flame graph analysis to identify production goroutine leaks. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. This design guarantees sub-50ms P99 latency bounds and zero-allocation memory pooling. You’ve instrumented your Go service with net/http/pprof, run go tool pprof locally against the development binary, and spotted the hot path in your flame graph. Then you deploy to Kubernetes and the bottleneck disappears — because the workload profile in Kubernetes differs from local testing (different request mix, connection pool pressure, GC behavior under actual memory pressure, scheduler interference from co-located pods). ...

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

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. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. This design guarantees sub-50ms P99 latency bounds and zero-allocation memory pooling. 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 · 12 min · Lê Tuấn Anh

Self-Hosting GraphHopper on Kubernetes with OSM Data

Self-Hosting GraphHopper on Kubernetes with OSM Data Answer-first: Self-hosting GraphHopper routing engines on Kubernetes uses initContainers for S3 graph cache hydration, JVM heap tuning, and HPA auto-scaling to process heavy routing traffic. Sizing pods with 4GB off-heap memory and 1GB JVM heap for country-level OpenStreetMap data achieves sub-50ms routing queries while cutting commercial map API costs by over 95%. GraphHopper is arguably the most capable open-source routing engine available — it supports Contraction Hierarchies (CH) for sub-millisecond route queries, custom vehicle profiles, turn restrictions, and the full OpenStreetMap road network. The problem most teams encounter is not the algorithm; it is the operational challenge of running it in Kubernetes: loading a large OSM PBF file, sizing JVM memory correctly, handling the long CH pre-processing startup time, and updating map data without downtime. ...

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

Argo CD 3.4 & 3.3 Guide: GitOps Upgrades & Cluster Pause

Argo CD 3.4 & 3.3 Guide: GitOps Upgrades & Cluster Pause (2026) Answer-first: ArgoCD key updates streamline Kubernetes GitOps deployments through multi-cluster application sets, progressive rollouts, dynamic config management, and enhanced OpenTelemetry audit observability. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. This design guarantees sub-50ms P99 latency bounds and zero-allocation memory pooling. ...

May 18, 2026 · 11 min · Lê Tuấn Anh

OSRM Shared Memory on Kubernetes: Zero-Downtime Updates

OSRM Shared Memory on Kubernetes: Live Traffic Updates with Zero-Downtime Answer-first: Operating OSRM on Kubernetes with live traffic updates uses POSIX shared memory (/dev/shm), atomic memory pointer swapping via osrm-datastore, and Multi-Level Dijkstra (MLD) cell customization without restarting routing pods. Sharing a single 15GB graph across 10+ worker pods cuts node RAM usage by 85%+ while delivering sub-2ms P99 matrix latencies and zero-downtime speed updates. The Challenge of Operating Large-Scale OSRM on Kubernetes Normally, the osrm-routed process loads the entire binary map file directly into its Heap Memory. For massive files weighing tens of gigabytes, a single Kubernetes Pod can take anywhere from 5 to 10 minutes to finish loading before it becomes healthy and ready to serve traffic. This creates two fatal operational issues: ...

May 15, 2026 · 12 min · Lê Tuấn Anh

21-Service Go Ecommerce Microservices Diagram

21-Service Go Ecommerce Microservices Diagram E-Commerce Architecture Patterns: Monolith vs Microservices Answer-first: An ecommerce microservices architecture diagram organizes enterprise capabilities into 6 core bounded domains (Commerce Flow, Product & Content, Logistics, Post-Purchase, Identity & Access, Platform Operations), orchestrating 21 Go microservices via gRPC and Dapr Pub/Sub event mesh. This architecture achieves sub-50ms P99 latency, isolates database-per-service failures, and guarantees reliable checkout rollbacks using distributed Saga workflows. Monolithic vs Microservices E-Commerce Comparison Dimension Monolithic E-Commerce Microservices E-Commerce Scaling Vertical scaling of entire monolith application Independent horizontal scaling per domain (e.g., Catalog 10x Cart) Database Architecture Single shared database with cross-table SQL joins Database-per-service (PostgreSQL, Redis, Elasticsearch) with zero cross-domain access Deployment Frequency Low frequency; all-or-nothing monolithic releases High frequency; independent CI/CD pipelines per microservice Fault Tolerance Low; a single bug or memory leak crashes the entire store High; failure in one domain (e.g., Reviews) does not block Checkout Complexity Low initial architectural and operational complexity High distributed complexity (Saga pattern, gRPC contracts, Dapr mesh) Operational Cost Lower initial cost; scales expensively at high traffic Higher initial infrastructure setup; cost-effective at high scale Practical latency and memory metrics comparing an Envoy-based API Gateway to a custom Go reverse proxy under 100k concurrent connections. How to tune circuit breaker thresholds (go-resiliency/breaker) to prevent premature service isolation during temporary network jitters. When transitioning from a monolithic platform to a distributed microservice setup, the hardest question isn’t “How do we write the code?” — it’s “How do these moving parts talk to each other safely, and why is each boundary drawn exactly where it is?” ...

April 12, 2026 · 11 min · Lê Tuấn Anh

GitOps at Scale: Kubernetes & ArgoCD for Microservices

GitOps at Scale: Kubernetes & ArgoCD for Microservices Answer-first: GitOps at scale uses ArgoCD, Helm chart templates, and automated CI/CD pipelines to manage multi-cluster Kubernetes deployments with full audit traceability and rapid rollback capabilities. Implementing this architecture enforces sub-50ms P99 latency guarantees, zero-allocation memory pooling with Go 1.24 unique.Handle, and fault-tolerant Dapr 1.15 component orchestration for resilient production scaling. Building 21 well-architected Go microservices is only half the battle. If your deployment process relies on an engineer running kubectl apply from their laptop on a Friday afternoon, you haven’t built an enterprise platform — you’ve built a ticking time bomb. ...

April 12, 2026 · 10 min · Lê Tuấn Anh