Code should be written to minimize the time it would take for someone else to understand it. This principle should guide all coding decisions, from naming variables to structuring functions to organizing modules. Even if you are the only person who will ever read your code, that person will be you six months from now—effectively a different person who has forgotten all the context you currently have.

— Dustin Boswell

✦

Blog

Nơi mình chia sẻ nhật ký và những câu chuyện nhỏ trong hành trình làm nghề.

❖

Docker multi-stage build — Cắt image từ 1.2GB xuống 90MB

6 tháng 8, 2026•Phong Hy

Học multi-stage build trong Docker để giảm image từ 1.2GB xuống 90MB — kèm Dockerfile mẫu, tricks layer cache và kinh nghiệm deploy VPS thực tế.

engineeringdevops
Đọc tiếp→

Conway's Law & Team Topologies — Tổ chức team theo dòng chảy (BMS)

5 tháng 8, 2026•Phong

Conway's Law: cấu trúc team quyết định kiến trúc hệ thống. Stream-aligned teams, platform teams, cognitive load và cách tổ chức team cho microservices.

sachbuilding-microservicesmicroservices+1
Đọc tiếp→

Testcontainers — Hết cảnh mock database khi viết integration test

5 tháng 8, 2026•Phong Hy

Testcontainers chạy PostgreSQL, Redis thật trong Docker cho integration test — hết cảnh mock giả, test sát production hơn. Kèm ví dụ Go.

engineeringtesting
Đọc tiếp→
User Interfaces & Micro Frontends — Chia UI theo team (BMS)

User Interfaces & Micro Frontends — Chia UI theo team (BMS)

4 tháng 8, 2026•Phong

UI composition cho microservices: page-level, server-side (SSI/ESI), client-side — micro frontends và cách tránh UI monolith.

sachbuilding-microservicesmicroservices+1
Đọc tiếp→
←Trước
1234···41
345···41
Sau→

Trang 3 / 41

Xem tất cả Tags→
✦
Home✦Blog✦Tags

Privacy Policy•Terms & Conditions© 2026 Phong Hy. Crafted with care.