Phần 1 Part 1 9 phút đọc 9 min read
Cloudflare developer platform là gì, và vì sao khác Lambda What the Cloudflare developer platform is — and why it differs from Lambda
Mental model đầu tiên: Workers, D1, R2, KV, Queues, DOs, Workers AI, Vectorize — nền tảng edge-native so với Lambda. First mental model: Workers, D1, R2, KV, Queues, DOs, Workers AI, Vectorize — edge-native vs Lambda.
Đọc trên CloudSecOp Read on CloudSecOp ↗ Phần 2 Part 2 7 phút đọc 7 min read
Workers runtime mental model: lifecycle, context, limit Workers runtime mental model: lifecycle, context, limits
fetch handler, waitUntil, subrequest, CPU vs wall time, cold start — 6 ngộ nhận khi chuyển từ Node/Lambda. fetch handler, waitUntil, subrequests, CPU vs wall time, cold starts — six Node/Lambda misconceptions.
Đọc trên CloudSecOp Read on CloudSecOp ↗ Phần 3 Part 3 8 phút đọc 8 min read
Mental model 3 tầng binding: Request, Identity, Storage The 3-binding mental model: Request, Identity, Storage
Khung chọn storage đúng cho mọi Worker — áp dụng trực tiếp lên app production. A frame for picking the right storage on every Worker — applied to a live app.
Đọc trên CloudSecOp Read on CloudSecOp ↗ Phần 4 Part 4 6 phút đọc 6 min read
Wrangler và Miniflare dev loop: từ init tới deploy trong 30 phút Wrangler + Miniflare dev loop: init to deploy in 30 minutes
wrangler init, dev local, vitest, D1 migration, secret, deploy 300+ PoP — vòng đời từ folder trống. wrangler init, local dev, vitest, D1 migrations, secrets, deploy to 300+ PoPs.
Đọc trên CloudSecOp Read on CloudSecOp ↗ Phần 5 Part 5 6 phút đọc 6 min read
KV deep-dive: cache toàn cầu, eventual consistency, vs D1 KV deep-dive: global cache, consistency, vs D1
5 pattern đúng, 3 anti-pattern, gotcha consistency khi dùng KV ở production. Five good patterns, three anti-patterns, and real consistency gotchas.
Đọc trên CloudSecOp Read on CloudSecOp ↗ Phần 6 Part 6 6 phút đọc 6 min read
D1 trong production: primary-replica, batch, và 7 gotcha D1 in production: primary-replica, batch, 7 gotchas
Sessions API, 5 query method, migration an toàn — bài học từ vận hành D1 thật. Sessions API, five query methods, safe migrations — lessons from real D1 ops.
Đọc trên CloudSecOp Read on CloudSecOp ↗