Load Balancing Reference Architecture Load Balancing Reference Architecture Load Balancing Reference Architecture
/reference-architecture/architectures/load-balancing
Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែមLộ trình đang học Current learning path Current learning path
Application Services Application Services Application Services
Làm đúng từng bước trên dashboard: zone chạy, HTTPS Full (strict), WAF log rồi block, cache không phá session. Click through the dashboard: a live zone, Full (strict) HTTPS, WAF log-then-block, cache that does not break sessions. ចុចតាម dashboard៖ zone កំពុងដំណើរការ, HTTPS Full (strict), WAF log-then-block, cache ដែលមិនបំបែក session។
Phần 6: Load Balancing và DDoS (tùy chọn) Part 6: Load Balancing and DDoS (optional) ផ្នែក 6: Load Balancing និង DDoS (ស្រេចចិត្ត) · Bài 1/1 Lesson 1/1 មេរៀន 1/1
| Mục tiêuGoalគោលដៅ | Thêm Load Balancing và/hoặc chuẩn bị DDoS/Waiting Room khi có nhiều origin hoặc sự kiện traffic — plan-gated. Add Load Balancing and/or prepare DDoS/Waiting Room when you have many origins or a traffic event — plan-gated. បន្ថែម Load Balancing និង/ឬរៀបចំ DDoS/Waiting Room ពេលអ្នកមាន origin ច្រើនឬព្រឹត្តិការណ៍ traffic — plan-gated។ |
|---|---|
| Ai làmWho does thisអ្នកធ្វើ | Network / SRE Network / SRE Network / SRE |
| Thời gianTimeរយៈពេល | ~45 phút lab; production cần maintenance window ~45 min lab; production needs a maintenance window ~45 min lab; production ត្រូវការ maintenance window |
| Kết thúc bạn sẽ cóYou'll finish withពេលបញ្ចប់អ្នកនឹងមាន | Hiểu pool/monitor/steering; biết DDoS L3/L4 tự có khi proxied; Waiting Room chỉ khi event. You understand pool/monitor/steering; you know L3/L4 DDoS is on when proxied; Waiting Room is for events only. អ្នកយល់ pool/monitor/steering; អ្នកដឹង DDoS L3/L4 បើកពេល proxied; Waiting Room សម្រាប់ event តែប៉ុណ្ណោះ។ |
| Trước khi bắt đầuBefore you beginមុនពេលចាប់ផ្តើម | Phần 1–3 xong. Hai origin (hoặc một origin + fallback) nếu làm LB. Learning path Load Balancing + Prevent DDoS. Parts 1–3 done. Two origins (or one origin + fallback) if you do LB. Load Balancing + Prevent DDoS learning paths. Parts 1–3 បញ្ចប់។ Origin ពីរ (ឬ origin មួយ + fallback) ប្រសិនបើអ្នកធ្វើ LB។ ផ្លូវសិក្សា Load Balancing + Prevent DDoS។ |
| Gói / planPlanPlan | Load Balancing là sản phẩm tính phí. Waiting Room thường Business/Enterprise. DDoS unmetered khi traffic đi qua proxy. Load Balancing is a paid product. Waiting Room is typically Business/Enterprise. Unmetered DDoS applies when traffic is proxied. Load Balancing គឺផលិតផលបង់ប្រាក់។ Waiting Room ជាធម្មតា Business/Enterprise។ Unmetered DDoS អនុវត្តពេល traffic ត្រូវបាន proxy។ |
1 Traffic → Load Balancing: tạo monitor (HTTPS, path /health, interval 60s), pool, rồi LB hostname. Traffic → Load Balancing: create a monitor (HTTPS, path /health, interval 60s), a pool, then the LB hostname. Traffic → Load Balancing: បង្កើត monitor (HTTPS, path /health, interval 60s), pool, បន្ទាប់មក LB hostname។
Nhập: Enter: បញ្ចូល៖ Monitor: https://origin/health expect 200 | Pool: origin-a, origin-b | Steering: Off hoặc Dynamic theo nhu cầu Monitor: https://origin/health expect 200 | Pool: origin-a, origin-b | Steering: Off or Dynamic as needed Monitor: https://origin/health expect 200 | Pool: origin-a, origin-b | Steering: Off ឬ Dynamic តាមតម្រូវការ
Checkpoint: Checkpoint: Checkpoint៖ Fail một origin trong lab — monitor Unhealthy, traffic sang origin còn lại. DNS LB hostname Proxied. Fail one origin in the lab — monitor Unhealthy, traffic moves to the remaining origin. LB hostname is Proxied. Fail origin មួយក្នុង lab — monitor Unhealthy, traffic ផ្លាស់ទៅ origin ដែលនៅសល់។ LB hostname គឺ Proxied។
2 DDoS: xác nhận hostname Proxied (lớp L3/L4). Application DDoS + WAF/rate limit đã có ở Phần 3. DDoS: confirm the hostname is Proxied (L3/L4 layer). Application DDoS + WAF/rate limit already live in Part 3. DDoS: បញ្ជាក់ hostname គឺ Proxied (ស្រទាប់ L3/L4)។ Application DDoS + WAF/rate limit មានរួចនៅ Part 3។
Bạn sẽ thấy: What you'll see: អ្នកនឹងឃើញ៖ Learning path Prevent DDoS attacks — không thay thế origin lockdown. Prevent DDoS attacks learning path — does not replace origin lockdown. ផ្លូវសិក្សា Prevent DDoS attacks — មិនជំនួស origin lockdown។
3 Sự kiện (sale, ticket): Waiting Room trên path cụ thể — queue, không để origin 5xx. Events (sale, tickets): Waiting Room on a specific path — queue instead of origin 5xx. Event (sale, ticket): Waiting Room លើ path ជាក់លាក់ — queue ជំនួស origin 5xx។
Checkpoint: Checkpoint: Checkpoint៖ Một path event có Waiting Room template; path còn lại không bị queue. One event path has a Waiting Room template; other paths are not queued. Path event មួយមាន Waiting Room template; path ផ្សេងមិនត្រូវបាន queue។
Nguồn sự thật: tài liệu chính thức Cloudflare Developers (diễn giải, không sao chép nguyên văn). Nhãn menu dashboard có thể đổi — chọn mục tương đương gần nhất. Source of truth: official Cloudflare Developer docs (paraphrased, not copied verbatim). Dashboard labels shift — follow the nearest equivalent. ប្រភពពិត: official Cloudflare Developer docs (paraphrased)។ Dashboard labels ផ្លាស់ — តាម equivalent ជិតបំផុត។
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.
/reference-architecture/architectures/load-balancing
Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែមTheo hướng dẫn này để kiểm tra hành vi waiting room của bạn để đáp ứng với tải. Để mô phỏng chính xác lưu lượng truy cập, chạy kịch bản thử nghiệm hoặc lập kế hoạch của bạn trong một khoảng thời gian dài hơn một phút, lý tưởng hơn 2-3 phút.
Follow this tutorial to test your waiting room behavior in response to load. To accurately simulate traffic, run your test script or planner for a period of time longer than a minute, ideally more than 2-3 minutes.
បន្ទាប់ពីការធ្វើតេស្តនេះដើម្បីធ្វើតេស្តការធ្វើតេស្ត waiting room របស់អ្នកក្នុងការឆ្លើយតបទៅនឹងការផ្ទុក។ ប្រសិនបើអ្នកមានការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃការរៀបចំនៃ
Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែមHướng dẫn này nhằm mục đích là một ví dụ giới thiệu về cách bạn có thể tận dụng quản lý lưu lượng truy cập toàn cầu của Cloudflare.
This tutorial is intended as an introductory example of how you can leverage Cloudflare's global traffic management.
វគ្គបណ្តុះបណ្តាលនេះមានគោលបំណងជាឧទាហរណ៍ដំបូងអំពីរបៀបដែលអ្នកអាចប្រើសម្រាប់ការគ្រប់គ្រងការដឹកជញ្ជូនពិភពលោក Cloudflare ។
Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែមPage Rules cho phép bạn bỏ qua cài đặt khu vực cho các mẫu URL cụ thể. Chuyển hướng các URL cũ với một chuyển hướng 301 vĩnh viễn
Page Rules let you override zone settings for specific URL patterns. Redirects old URLs with a 301 permanent redirect.
Page Rules អនុញ្ញាតឱ្យអ្នកបដិសេធការកំណត់តំបន់សម្រាប់លំនាំ URL ជាក់លាក់។ បញ្ជូនបន្ត URLs ចាស់ជាមួយនឹង 301 ប្តូរទិសអចិន្ត្រៃយ៍។
Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែមXem thêm ví dụ trong lộ trình → More examples in this path → More examples in this path →
Quản lý bot Bot management Bot management
Luồng phát hiện, chấm điểm và xử lý bot traffic trên edge — nền tảng cho WAF, rate limit và Bot Management. Cloudflare has bot management capabilities to help identify and mitigate automated traffic to protect domains from bad bots. Cloudflare has bot management capabilities to help identify and mitigate automated traffic to protect domains from bad bots.
Thuật ngữ: Concepts: Concepts: Bot score · Super Bot Fight Mode · WAF · Rate limiting
Sơ đồ chính thức ↗ Official diagram ↗ Official diagram ↗ · Bot Bots Bots
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.
Follow-along Worker-first: C3 + Wrangler, rồi storage, Pages (compat), operate và AI Follow-along Worker-first: C3 + Wrangler, then storage, Pages (compat), operate, and AI Follow-along Worker-first: C3 + Wrangler បន្ទាប់មក storage, Pages (compat), operate និង AI
Vào lộ trình này → Enter this path → Enter this path →Triển khai Zero Trust theo từng mô-đun: identity, thiết bị, ZTNA, Gateway, DLP, AI và Cloudflare WAN Deploy Zero Trust module by module: identity, devices, ZTNA, Gateway, DLP, AI, and Cloudflare WAN Deploy Zero Trust module by module: identity, devices, ZTNA, Gateway, DLP, AI, and Cloudflare WAN
Vào lộ trình này → Enter this path → Enter this path →Adopt AI an toàn từ user đến ứng dụng Adopt AI safely from users to applications Adopt AI safely from users to applications
Vào lộ trình này → Enter this path → Enter this path →Vận hành Cloudflare an toàn, ổn định và hiệu quả Operate Cloudflare safely, reliably, and efficiently Operate Cloudflare safely, reliably, and efficiently
Vào lộ trình này → Enter this path → Enter this path →Chưa chắc — làm bài chọn lộ trình Not sure — use the path selector Not sure — use the path selector · So sánh cả ba lộ trình Compare all three paths Compare all three paths