Lộ trình cho người muốn ship API hoặc tool mà không quản máy chủ. Đọc bài kiến thức, rồi làm lab hub, rồi lab chính thức nếu có.A path for people who want to ship an API or a tool without running a server. Read the knowledge lesson, do the hub lab, then the official lab when one exists.ផ្លូវសម្រាប់អ្នកចង់ ship API ឬ tool ដោយមិនដំណើរការ server។ អានមេរៀនចំណេះដឹង រួចធ្វើ lab hub រួច lab ផ្លូវការ បើមាន។
Bốn sản phẩm, bốn việc. Cả bốn đều có mức Free có hạn, không phải “chỉ Paid”. Chọn một cái khi Worker và storage đã ổn. Đối chiếu dashboard trước khi bật.Four products, four jobs. All four have a limited Free allowance. They are not “Paid only”. Pick one after the Worker and storage are stable. Check the dashboard before you turn one on.Four products, four jobs. All four have a limited Free allowance. They are not “Paid only”. Pick one after the Worker and storage are stable. Check the dashboard before you turn one on.
Cách hoạt độngHow it worksHow it works
Durable Object giữ trạng thái của một thứ, ví dụ một phòng chat. Trên Free chỉ có backend SQLite. Queue nhận việc nền và làm sau. Workflow là chuỗi bước dài, có thể tạm dừng (sleep) giữa các bước. Hyperdrive nối Worker tới Postgres hoặc MySQL bên ngoài. Nó không thay D1.A Durable Object keeps the state of one thing, such as one chat room. On Free, only the SQLite backend is available. A queue takes background work and does it later. A Workflow is a long chain of steps that can pause (sleep) between steps. Hyperdrive connects a Worker to external Postgres or MySQL. It does not replace D1.A Durable Object keeps the state of one thing, such as one chat room. On Free, only the SQLite backend is available. A queue takes background work and does it later. A Workflow is a long chain of steps that can pause (sleep) between steps. Hyperdrive connects a Worker to external Postgres or MySQL. It does not replace D1.
Kiến trúcArchitectureArchitecture
Worker thường vô trạng thái. Những sản phẩm này thêm trạng thái, hàng đợi, hoặc đường tới database có sẵn. Gắn một binding, đừng gắn cả bốn cho lab đầu.A Worker is usually stateless. These products add state, a queue, or a path to a database you already have. Attach one binding. Do not attach all four for the first lab.A Worker is usually stateless. These products add state, a queue, or a path to a database you already have. Attach one binding. Do not attach all four for the first lab.
Khi nào dùngWhen to use itWhen to use it
Đọc để biết mình chưa cần mua gì. Làm lab hub khi một use case thật đã chọn đúng một sản phẩm.Read this to see what you do not need to buy yet. Do the hub lab when a real use case has picked exactly one product.Read this to see what you do not need to buy yet. Do the hub lab when a real use case has picked exactly one product.
Khi nào không dùngWhen not to use itWhen not to use it
Đừng thêm Durable Object chỉ để lưu một cờ. Việc đó là KV. Đừng dùng Hyperdrive thay database SQL nhỏ. Việc đó là D1.Do not add a Durable Object just to store one flag. That job is KV. Do not use Hyperdrive instead of a small SQL database. That job is D1.Do not add a Durable Object just to store one flag. That job is KV. Do not use Hyperdrive instead of a small SQL database. That job is D1.
Gói và giới hạnPlans and limitsPlans and limits
Tách từng sản phẩm, kiểm tra 2026-11-15. Durable Objects: có trên Free, chỉ SQLite. Bảng giá: 5 triệu dòng đọc/ngày, 100.000 dòng ghi/ngày, 5 GB tổng. Trang limits: một object SQLite trên Free ngừng ghi ở 1 GB. Vượt hạn Free thì thao tác đó lỗi. Queues: trang pricing ghi 10.000 thao tác/ngày và giữ tin 24 giờ trên Free. Một tutorial vẫn nói phải có Workers Paid mới bật Queues trong dashboard — xem dashboard. Workflows: có trên Free, 3.000 step/ngày, CPU 10 ms, request dùng chung hạn mức Workers. Hyperdrive: 100.000 query/ngày trên Free; vượt hạn thì query lỗi. Nguồn: https://developers.cloudflare.com/durable-objects/platform/pricing/ https://developers.cloudflare.com/durable-objects/platform/limits/ https://developers.cloudflare.com/queues/platform/pricing/ https://developers.cloudflare.com/workflows/reference/pricing/ https://developers.cloudflare.com/hyperdrive/platform/pricing/Split by product, checked 2026-11-15. Durable Objects: on Free, SQLite only. The pricing table lists 5 million rows read per day, 100,000 rows written per day, and 5 GB total. The limits page says one SQLite object on Free stops writes at 1 GB. Past a Free cap, that operation fails. Queues: the pricing page lists 10,000 operations per day and 24-hour retention on Free. One tutorial still says you need Workers Paid to enable Queues in the dashboard. Check the dashboard. Workflows: on Free, 3,000 steps per day, 10 ms of CPU, requests shared with the Workers quota. Hyperdrive: 100,000 queries per day on Free; past that cap, the query fails. Sources: https://developers.cloudflare.com/durable-objects/platform/pricing/ https://developers.cloudflare.com/durable-objects/platform/limits/ https://developers.cloudflare.com/queues/platform/pricing/ https://developers.cloudflare.com/workflows/reference/pricing/ https://developers.cloudflare.com/hyperdrive/platform/pricing/Split by product, checked 2026-11-15. Durable Objects: on Free, SQLite only. The pricing table lists 5 million rows read per day, 100,000 rows written per day, and 5 GB total. The limits page says one SQLite object on Free stops writes at 1 GB. Past a Free cap, that operation fails. Queues: the pricing page lists 10,000 operations per day and 24-hour retention on Free. One tutorial still says you need Workers Paid to enable Queues in the dashboard. Check the dashboard. Workflows: on Free, 3,000 steps per day, 10 ms of CPU, requests shared with the Workers quota. Hyperdrive: 100,000 queries per day on Free; past that cap, the query fails. Sources: https://developers.cloudflare.com/durable-objects/platform/pricing/ https://developers.cloudflare.com/durable-objects/platform/limits/ https://developers.cloudflare.com/queues/platform/pricing/ https://developers.cloudflare.com/workflows/reference/pricing/ https://developers.cloudflare.com/hyperdrive/platform/pricing/
Không phải báo giá. Đối chiếu docs và dashboard. Kiểm tra lần cuối: 2026-11-11.Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11.Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11.
Thuật ngữGlossaryGlossary
Durable ObjectDurable ObjectDurable Objecti
Một ô nhớ cho một thực thể, ví dụ một phòng hoặc một phiên.A memory cell for one entity, such as one room or one session.A memory cell for one entity, such as one room or one session.
HyperdriveHyperdriveHyperdrivei
Cầu từ Worker tới Postgres hoặc MySQL sẵn có. Không phải D1.A bridge from a Worker to existing Postgres or MySQL. Not D1.A bridge from a Worker to existing Postgres or MySQL. Not D1.
Lab nằm ở bài riêng. Đọc ý chính trước, rồi mở lab.Labs live on their own pages. Read the main ideas, then open a lab.Labs live on their own pages. Read the main ideas, then open a lab.
Ví dụ chính thức từ Cloudflare Resources — gợi ý theo chủ đề bài học trong lộ trình này.Official examples from Cloudflare Resources — matched to this lesson within this path.Official examples from Cloudflare Resources — matched to this lesson within this path.
Trong phần 2, Kristian mở rộng trên môi trường hiện có được xây dựng trong phần 1, bằng cách cho bạn thấy cách tích hợp các mô hình AI mới và giới thiệu các thông số mới cho phép bạn tùy chỉnh cách images được tạo ra.
In part 2, Kristian expands upon the existing environment built in part 1, by showing you how to integrate new AI models and introduce new parameters that allow you to customize how images are generated.
នៅក្នុងផ្នែកទី 2 Kristian ពង្រីកលើបរិស្ថានដែលមានស្រាប់ដែលបានសាងសង់ក្នុងផ្នែកទី 1 ដោយបង្ហាញអ្នកពីរបៀបបញ្ចូលគំរូ AI ថ្មី និងណែនាំប៉ារ៉ាម៉ែត្រថ្មីដែលអនុញ្ញាតឱ្យអ្នកប្ដូរតាមបំណងពីរបៀបដែល images ត្រូវបានបង្កើត។
Học xong hoặc muốn đổi hướng?Finished or want a different path?Finished or want a different path?
Ba lộ trình độc lập — mỗi lộ trình chỉ gồm bài học và tài liệu trong phạm vi đó. Chọn lộ trình khác khi sẵn sàng, không cần học song song.Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.