Testing GenUI & Semantic Edge Caching — AI Frontend (Part 6)

Generative UI architecture brings a new horizon for user experience, but it is the worst nightmare for QA and DevOps teams. How do you write an automated test script (E2E Test) for an interface when you don’t know what content the AI will generate beforehand? And how do you ensure the system doesn’t burn through API budgets when thousands of users ask the exact same question? 6.1. The Non-deterministic Hurdle in E2E Testing In traditional (Deterministic) applications, a Cypress or Playwright test script usually looks like this: ...

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

Zero DevOps E-commerce with Cloudflare Workers & Turborepo

Tired of maintaining expensive Kubernetes clusters, fine-tuning Auto-scaling groups on AWS, or wiring together complex CI/CD pipelines just to keep an e-commerce store alive? Welcome to the Zero DevOps era. In this post, we dissect Aura Store — a production-grade Cloudflare Workers E-commerce platform built entirely on Edge infrastructure, powered by a Turborepo Monorepo. Everything you see below is drawn directly from the running codebase. 1. Turborepo Monorepo Architecture in Practice Answer-first: Turborepo splits the e-commerce system into four independent apps — storefront-ui, admin-ui, public-api, and admin-api — and two shared packages: database and contract. This separation maximises build speed via Turborepo’s task graph cache and enforces a hard security boundary between the public-facing layer and internal tooling. ...

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

Cloudflare D1 + Durable Objects: Build a Real-Time Cart

Answer-first: Build a real-time shopping cart using Cloudflare D1, Durable Objects, and Workers. Full schema, TypeScript code, and conflict-free concurrent updates. The traditional shopping cart architecture is a familiar set of tradeoffs: Redis for session storage, PostgreSQL for order data, and a backend API tier that coordinates between them. It works, but it introduces latency proportional to the distance between the user and your datacenter, requires operational overhead for Redis cluster management, and struggles with globally concurrent cart edits from the same user across multiple devices. ...

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

Tech Radar, May 11, 2026: The Agentic-First Pivot, GKE Agent Sandbox, and Llama 4 Scout

The last 24 hours have marked a definitive “hard fork” in how the industry views the software engineering workforce and the infrastructure that supports it. We are moving beyond the era of “AI as a tool” and into the era of “The Agentic-First Organization,” where the primary role of the human engineer is becoming the architect of autonomous loops rather than the writer of manual logic. For those building on Cloudflare and GKE, today’s signals provide a clear roadmap: it is time to move from exploratory “vibe coding” to hardened, production-grade agentic infrastructure. ...

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

Astro on Cloudflare: Full-Stack Edge Architecture

Answer-first: Two paths to Cloudflare: building a full-stack edge site with Astro and putting WordPress behind Cloudflare CDN. Real config, costs, and gotchas. Running a content site on a traditional VPS or a managed Node.js host is fine until it isn’t. You pay for compute that sits idle 95% of the time, you manage SSL renewals, you worry about cold starts, and you watch your Lighthouse score suffer because your origin is in Singapore while your readers are in Frankfurt. ...

April 24, 2026 · 15 min · Lê Tuấn Anh