Part 5 — The BOD Perspective: Expectations, Costs, Legal Risks & Internal AI

So far, we have discussed AI extensively from the perspective of Programmers and Testers. But if you step into the boardroom of the Board of Directors (BOD) or Chief Technology Officers (CTO), you’ll see a completely different lens. Executives (BOD) don’t care how fancy your AI is, or how long your prompts are. Their lens consists of 3 vital variables: Cost, Time-to-Market, and Risk Management. The misalignment between BOD expectations and the working reality of Programmers is creating a zone of extreme pressure. ...

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

Part 6 — Role Shift: From Coder to AI Orchestrator

In Part 5, we saw the Board of Directors (BOD) frantically equipping internal AI systems to push productivity KPIs. At this point, if you stubbornly sit and type every line of code from start to finish, you will be left behind. To survive, programmers must shed the “Coder” jacket and put on the “AI Orchestrator” mantle. What is an AI Orchestrator? Imagine you’ve just been promoted to Tech Lead, and under your command is a swarm of extremely agile but… brainless (lacking contextual thinking) AI “interns”. ...

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

Part 7 — System Design: The Priceless Survival Territory for Developers

No matter how top-tier your Prompt Engineering skills are, sooner or later you will hit a reality wall: Writing code to create a feature is easy, but designing a system that can handle millions of users is incredibly difficult. In an era where AI is taking over “typing” tasks, System Design is the life preserver, the “inviolable territory” that keeps you from being phased out. AI is Good at “Building Rooms”, Not “Building Houses” Imagine software development as building an apartment complex. ...

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

Part 8 — The Junior Paradox: Building Foundations When AI Does the Basics

At this point, we have painted a relatively bright prospect: Programmers escaping the drudgery of boring typing, becoming System Architects, and orchestrating AI. But this prospect is only true for Senior Developers — those who already have a solid professional foundation to assess the right/wrong of source code. For newcomers (Freshers/Juniors), the advent of AI has inadvertently created the worst training crisis in history: The Junior Paradox. How Does This Paradox Work? For the last 20 years, the evolutionary path from Junior to Senior was a path full of “suffering” but necessary. You learned CSS hacks, you cried over a missing semicolon (;), you struggled to config Webpack, and you repeatedly wrote hundreds of CRUD functions from project to project. It was those hours of “struggling” with basic problems that formed what is called Technical Intuition or “Programming Muscle”. ...

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

Part 9 — LLM Integration: The Mindset of Building AI-Native Applications

In the previous 8 parts, we dissected using AI as a Tool to assist programmers. We explored the death of syntax memorization, the boundaries of responsibility, navigated AI review fatigue and legal landmines, and established the need for Orchestration and System Design. But in this final part, we will flip the script entirely. The ultimate mission of a System Architect (AI-Driven Architect) is not just coding faster, but putting AI as the “heart” of the very product they are building. We call this AI-Native Application architecture. ...

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

Tech Radar 22/06: Dapr v1.18, Kratos Clean Architecture & Master-Level Workflows

Welcome to this week’s Tech Radar. In our previous issue, we explored Kratos Clean Architecture & Dapr Pub/Sub. Today, we tackle the most complex domain of distributed systems: Stateful Orchestration. We will dissect how to implement Dapr Workflows and the Actor model within Kratos. Before we dive into the code, let’s look at the breaking news from the past 72 hours. 1. Tech News Radar: Dapr v1.18 & KubeCon India 2026 Answer-first: The past 72 hours brought massive shifts. Dapr v1.18 dropped with WorkflowAccessPolicy for hard-gated workflow security, OpenTelemetry officially graduated from CNCF at KubeCon India, and Go 1.26.4 shipped. Meanwhile, Kubernetes 1.33 reaches End-of-Life on June 28. ...

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

Communication Protocols — gRPC vs REST vs GraphQL in Go Microservices

Prerequisite: This is Part 12 of the System Design Masterclass. Previous parts built the reliability patterns — this part covers comparing communication protocols and data formats for microservice communication. Answer-first: gRPC is optimized for internal microservices using binary Protobuf serialization over multiplexed HTTP/2 or HTTP/3 streams. REST uses standard JSON over HTTP/1.1 or HTTP/2, serving as the default for public APIs. GraphQL operates as an aggregator at the API gateway or Backend-for-Frontend (BFF) layer, allowing clients to query specific properties, but requires complexity limits and DataLoader batching to prevent server degradation. ...

June 18, 2026 · 10 min · Tanh

Go Security & API Rate Limiting — Token Bucket, Leaky Bucket & Redis Lua

Prerequisite: This is Part 11 of the System Design Masterclass. Previous parts built the core components — this part covers securing APIs and managing client traffic spikes at scale. Answer-first: API rate limiting defends backend services by restricting request volume. Security requires a layered defense: Web Application Firewalls (WAF) block edge-level volumetric spikes, API Gateways manage L7 credentials and quotas, and application middleware enforces fine-grained business limits. Client identification must rely on validated, secure IP parsing (using the PROXY protocol or rightmost X-Forwarded-For checks). ...

June 18, 2026 · 9 min · Tanh

Go Observability & pprof — Memory Leaks, CPU Profiling & GODEBUG

Prerequisite: This is Part 10 of the System Design Masterclass. Previous parts built the architecture — this part teaches you how to see inside a running system and diagnose production performance issues. Answer-first: Go’s built-in pprof profiler provides CPU sampling, heap allocation analysis, goroutine stack inspection, and blocking profiler — all available as HTTP endpoints in running production services with minimal overhead. Heap diff between two snapshots is the fastest way to identify memory leaks. ...

June 18, 2026 · 9 min · Tanh

Consistent Hashing in Go — Virtual Nodes & CRC32 Ring

Prerequisite: Part 9 of the System Design Masterclass. Read Part 4: Database Scaling for context on horizontal partitioning strategies. Answer-first: Consistent Hashing minimizes key remapping when cluster membership changes. Adding or removing one node from a modulo-hash cluster remaps nearly all keys (catastrophic cache miss storm). Consistent Hashing remaps only $K/N$ keys — the theoretical minimum necessary. Why Modulo Hashing Fails When Scaling Answer-first: hash(key) % N changes to hash(key) % (N+1) when a node is added, causing nearly all key-to-node mappings to change. This creates a massive cache miss storm as the entire working set must be reloaded from the database simultaneously. ...

June 18, 2026 · 8 min · Tanh