Executive Summary — The Big Picture of Geospatial & Routing Architecture

The Engineering Challenge Building a modern logistics platform (like food delivery, ride-hailing, or fleet management) requires computing distances and Estimated Times of Arrival (ETA) at an immense scale. The $N^2$ Problem: If you have 1,000 drivers and 1,000 orders, calculating the distance between every possible combination requires 1,000,000 individual route calculations. Speed: These calculations must happen in real-time (under 50ms) to ensure seamless user experiences and prevent dispatching algorithms from timing out. Accuracy: The system must account for real-world constraints such as one-way streets, “no left turn” rules, and dynamic traffic congestion. Standard point-to-point APIs (like basic Google Maps API calls) are too slow and too expensive for massive Distance Matrix generation. You need an internal, highly optimized Routing Engine. ...

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

Why E-commerce Needs Agentic Search?

The search engine is the heart of every e-commerce platform. If customers cannot find a product, they will not buy it. Over the past decade, when referring to Search, we defaulted to Elasticsearch (with the BM25 algorithm). However, as user search behavior evolves—from typing abrupt keywords (“men’s running shoes”) to long queries full of complex intent (“find me waterproof trail running shoes, size 42, under $100, that can be delivered today”), traditional search engines begin to reveal their fatal flaws. ...

May 22, 2026 · 4 min · Vesviet Team

Agentic Architecture & Golang Orchestration Power

If you have ever tried to push a RAG or Multi-Agent system written in Python (using LangChain or AutoGen) into a Production environment with thousands of concurrent requests, you have likely tasted the pain. Servers run out of RAM, CPUs become bottlenecked, and latency skyrockets uncontrollably. The root cause does not lie in the LLMs. The root cause lies in the Orchestration Architecture you are using. In Part 1 of this series, we will dissect why Python falls short in the Agentic era, and why Golang, combined with the Eino (CloudWeGo) framework, is the “ultimate weapon” for building the brain of next-generation e-commerce search systems. ...

May 22, 2026 · 5 min · Vesviet Team

Part 1: The Convergence - Agentic RAG & GraphRAG

1. Introduction: Ending the “Meaningless” War In early 2024, the tech world erupted into a heated debate: “When LLMs have Context Windows of up to 2 million tokens (like Gemini 1.5 Pro), will RAG die?” Or “Will Agentic AI completely replace traditional RAG?” By 2026, the answer is clear: No one was killed. The most cutting-edge Enterprise AI systems today do not pick sides. Instead, they run on a Convergence architecture. This architecture transforms RAG from a rudimentary Search Engine into a Knowledge Runtime. ...

May 17, 2026 · 3 min · Lê Tuấn Anh

Part 6: Location Clustering with Uber H3 & Redis Semantic Caching

Caching an exact GPS coordinate is impossible. Because floating-point numbers are infinitely precise, two users standing 1 meter apart will have completely different coordinates (106.0001 vs 106.0002). If your Redis key is simply lat1,lng1:lat2,lng2, your Cache Hit Rate will forever remain at 0%. Answer-first: To survive massive scale, you must implement Semantic Caching. Instead of caching raw coordinates, use Uber H3 to “snap” coordinates into 100-meter hexagonal buckets. Your cache key becomes route:{h3_origin}:{h3_dest}. This instantly transforms a compute-heavy routing problem into a lightning-fast Redis memory lookup. ...

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

Go Microservices Architecture: Production Guide

Go microservices from domain design to Kubernetes deployment — gRPC, Dapr, OpenTelemetry, and GitOps patterns from a real 21-service production migration.

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

Chapter 9: Database Sharding & Read/Write Splitting for Billion-Record Tables

← Previous | Series hub Chapter 9: Scaling the Final Database Bottleneck When your application reaches tens of millions of users, the Database becomes the ultimate bottleneck. CPU maxes out at 100%, RAM depletes, and queries take seconds instead of milliseconds. This is the stage where you must deploy distributed database strategies. 1. Read/Write Splitting Answer-first: Because 80% of traffic is Read-only, separate your DB into a Write Master and Read Slaves. Use GORM’s dbresolver plugin to route queries automatically without altering business logic. ...

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

Chapter 6: API Gateway vs Service Mesh in Microservices Architecture

← Previous | Series hub | Next → Chapter 6: Clarifying the Boundaries: API Gateway vs Service Mesh When your Golang application scales from dozens to hundreds of Microservices, managing communication becomes a macro-level challenge. You will constantly encounter two tightly coupled concepts: API Gateway and Service Mesh. Many engineers ask: “If I already deploy Istio (Service Mesh), do I still need Kong (API Gateway)?” The answer lies in the fundamental difference between North-South and East-West traffic. ...

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

Chapter 1: How Systems Handle Millions of Requests/s (C10M)? Lessons from Shopee & Alipay

← Series hub Next → Chapter 1: Overcoming the C10M Barrier To build a system capable of handling millions of Requests Per Second (RPS) — known as the C10M problem — vertical scaling is never enough. It requires a meticulously designed Distributed Architecture. 1. The Shift from C10K to C10M Answer-first: While C10K was solved by non-blocking I/O (like NGINX), C10M shifts the bottleneck to the OS kernel. Systems must bypass the kernel using DPDK or XDP to handle 10 million connections efficiently. ...

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

Magento Developers in Vietnam: Hiring & Vetting Guide

Answer-first: How to technically vet Magento developers in Vietnam: hiring models, interview questions to identify real engineers, and red flags to avoid tech debt. If you are searching for individual Magento developers in Vietnam to hire as in-house engineers or freelancers, you are not searching for a job listing — you are trying to answer a harder question: how do you distinguish a developer who can safely own a revenue-critical commerce system from one who can install plugins and edit themes? ...

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