Tăng Tốc Delivery: Chuyển Từ 'Vibe Code' Sang 'Spec-First' với AI Assistant

Thời gian gần đây tôi làm việc rất nhiều với AI. Lúc đầu thì dùng nó như một trợ lý code — hỏi, trả lời, sinh code mẫu. Nhưng càng về sau tôi nhận ra: nếu không có một “khung” rõ ràng thì AI dễ bịa code hoặc làm mọi thứ lộn xộn. Tôi bắt đầu quan tâm đến hướng spec-first: viết đặc tả (spec) thật rõ, rồi để AI code theo spec đó. Đúng lúc này GitHub tung ra Spec Kit — một bộ công cụ giúp chúng ta áp dụng Spec-Driven Development một cách gọn gàng. ...

September 14, 2025 · 3 min · 575 words · Duong Quoc Hao

Lessons Learned: Fixing SSO Issues in a Multi-Node Spring Boot App

Last week, I was assigned to implement SSO (Single Sign-On) for a project called HappyClub. The backend runs on Java Spring Boot, and locally everything worked just fine — smooth SSO redirect, valid tokens, no errors. But as soon as I deployed to the staging environment (which runs 2 pods on Kubernetes), I hit two painful issues. I wasted quite a bit of time debugging because I didn’t read the Spring Security docs carefully at first 😅. ...

August 2, 2025 · 4 min · 645 words · Duong Quoc Hao

Large-Scale System Design

Designing a system for 10 users is very different from designing one for 10 million. Scaling isn’t just about “adding more servers” — it’s an architectural challenge: where the data flows, how it’s processed, and how the system holds under pressure. In this article, I’ll share a step-by-step approach to building a scalable system — not through formulas or dogma, but through real-world design thinking shaped by hands-on experience. 1. Start with a Single Server In the early stage, the entire system often runs on a single machine. ...

July 19, 2025 · 4 min · 702 words · Duong Quoc Hao

Vì sao tôi viết blog dù chưa giỏi lập trình

Tôi không phải là “lính mới chập chững”, cũng chưa phải “senior dẫn dắt team 8 người, mỗi ngày code 2000 dòng”. Tôi đã đi làm vài năm, đã ăn hành kha khá, và… vẫn còn đang học tiếp với mục tiêu “LEARNING TO EARNING” (Một 1 người anh từng nói với tôi). Tôi vẫn có những ngày debug 4 tiếng vì unit test run failed. Và vâng — tôi vẫn tra Stack Overflow hằng ngày, bây giờ thì hỏi AI bất cứ lúc nào. ...

July 2, 2025 · 3 min · 570 words · Duong Quoc Hao