Tutorial Tutorial Tutorial Application Services Application Services Application Services ~10 phút ~10 min ~10 នាទី Đồng bộ 2026-06-10 Synced 2026-06-10 ធ្វើសមកាល 2026-06-10

Tải Shedding Load shedding ស្លាក Shedding

Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។

← Danh mục ← Catalog ← បញ្ជី

Giải thích nhanh Quick context បរិបទរហ័ស

Thuộc nhóm Application Services — tập trung bảo vệ, tăng tốc và vận hành ứng dụng/web phía trước origin. Tutorial «Load shedding» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.

Use load shedding to prevent an at-risk endpoint from becoming unhealthy and starting the failover process.

ប្រើការបាត់បន្ថយផ្ទុកដើម្បីជួយកាត់បន្ថយទីបញ្ចប់ដែលមានសុវត្ថិភាពដើម្បីក្លាយជាមិនសុខភាពនិងចាប់ផ្តើមដំណើរការបញ្ហានេះ។

Lưu ý Note ចំណាំ

Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម

  • Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
  • Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
  • Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
  • This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
  • Open the Official docs link below for CLI commands, code snippets, and full screenshots.
  • Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
  • នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
  • ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
  • Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។

Overview Overview Overview

Phần «Tổng quan» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Sử dụng bỏ tải để ngăn chặn một điểm cuối có rủi ro từ becoming unhealthy và bắt đầu quá trình failover.
Use load shedding to prevent an at-risk endpoint from becoming unhealthy and starting the failover process.
ប្រើការបាត់បន្ថយផ្ទុកដើម្បីជួសជុលទីបញ្ចប់ដែលមានអារម្មណ៍ពី becoming unhealthy និងចាប់ផ្តើមដំណើរការបញ្ហានេះ។
Sau khi bạn cấu hình tải xuống trên một hồ bơi, hồ bơi đó sẽ bắt đầu chuyển hướng lưu lượng truy cập sang các hồ bơi khác theo cài đặt tải xuống của bạn và steering policy của load balancer.
Once you configure load shedding on a pool, that pool will begin diverting traffic to other pools according to your load shedding settings and the load balancer's steering policy.
Once you configure load shedding on a pool, that pool will begin diverting traffic to other pools according to your load shedding settings and the load balancer's steering policy.

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Bước 1 - Xác định các điểm cuối rủi ro Step 1 — Identify at-risk endpoints ជំហានទី 1 - ពិនិត្យឡើងវិញ Risk Endpoints

Phần «Step 1 — Identify at-risk endpoints» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Step 1 — Identify at-risk endpoints" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ជំហានទី 1 - ពិនិត្យឡើងវិញ Risk Endpoints» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Sử dụng số liệu nội bộ của bạn, xác định các điểm cuối có nguy cơ đạt đến ngưỡng thất bại của họ.
Using your internal metrics, identify endpoints at risk of reaching their failure threshold.
ការប្រើប្រាស់ឧបករណ៍កំណត់ផ្ទាល់ខ្លួនរបស់អ្នក, identify endpoints at risk of reaching their failure threshold.
  • Nếu điểm cuối của bạn đang thấy lưu lượng truy cập tăng nhưng chưa có nguy cơ thất bại, hãy bắt đầu với Step 2.
  • Nếu điểm cuối của bạn sắp thất bại, hãy bắt đầu với Step 4.
  • If your endpoint is seeing increased traffic but is not yet at risk of failure, start with Step 2.
  • If your endpoint is about to fail, start with Step 4.
  • ប្រសិនបើកន្លែងបញ្ចប់របស់អ្នកបានមើលឃើញការដឹកជញ្ជូនខ្ពស់ប៉ុន្តែមិនមានអារម្មណ៍ថាមានអារម្មណ៍ថាមិនចាប់ផ្តើមជាមួយ Step 2 ។
  • ប្រសិនបើបញ្ចប់បញ្ចប់របស់អ្នកគឺជារៀងរាល់ពេលដែលអ្នកកំពុងចាប់ផ្តើមជាមួយ Step 4 ។

Bước 2 - Loại bỏ lưu lượng truy cập mặc định từ một hồ bơi Step 2 — Shed default traffic from a pool ជំហានទី 2 — ការបាត់បន្ថយការដឹកជញ្ជូនដោយគោលបំណងពីសាកលវិទ្យាល័យ

Phần «Step 2 — Shed default traffic từ pool» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Step 2 — Shed default traffic from a pool" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ជំហានទី 2 — ការបាត់បន្ថយការដឹកជញ្ជូនដោយគោលបំណងពីសាកលវិទ្យាល័យ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Một khi bạn đã xác định một điểm cuối có rủi ro, hãy đổ một lượng nhỏ lưu lượng truy cập Default từ nhóm của điểm cuối đó. Lưu lượng truy cập này không liên kết với các phiên Session affinity hiện có.
Once you have identified an at-risk endpoint, shed a small amount of Default traffic from that endpoint's pool. This traffic is not affiliated with existing Session affinity sessions.
នៅពេលដែលអ្នកបានរកឃើញកន្លែងបញ្ចប់ដែលមានសុវត្ថិភាពអ្នកអាចបាត់បង់ទំហំតូចនៃការដឹកជញ្ជូន Default ពីកន្លែងបញ្ចប់នេះ។ ការដឹកជញ្ជូននេះមិនត្រូវបានភ្ជាប់ជាមួយប្រព័ន្ធប្រតិបត្តិការ Session affinity ។
Cài đặt tải thả thông qua dashboard hoặc API.
Configure load shedding via the dashboard or the API.
ទាញយកប្រព័ន្ធប្រតិបត្តិការ API ឬ dashboard ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Cấu hình thông qua dashboard Configure via dashboard ការកំណត់ដោយ Dashboard

Phần «Cấu hình via dashboard» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Configure via dashboard" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការកំណត់ដោយ Dashboard» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Để cho phép giảm tải cho một hồ bơi cụ thể thông qua bảng điều khiển:
To enable load shedding for a specific pool via the dashboard:
ដើម្បីអនុញ្ញាតឱ្យការបាត់បន្ថយផ្ទុកសម្រាប់សាកលវិទ្យាល័យពិសេសតាមរយៈប្រព័ន្ធប្រតិបត្តិការ:
  1. Đi đến Load Balancing
  2. Chọn tab Pools
  3. Trên một hồ bơi, chọn Edit.
  4. Mở Configure Load Shedding Dropdown.
  5. Đối với Default traffic, hãy chọn Policy và Shed %:
  1. Go to Load Balancing.
  2. Select the Pools tab.
  3. On a pool, select Edit.
  4. Open the Configure Load Shedding dropdown.
  5. For Default traffic, select a Policy and a Shed %:
  1. សូមចូលទៅ Load Balancing ។
  2. សូមចុច Pools ។
  3. នៅលើបណ្តាញអ្នកជ្រើស Edit ។
  4. ទាញយក Configure Load Shedding ទាញយក
  5. សម្រាប់ Default traffic សូមជ្រើស Policy និង Shed %:
Lựa chọn chính sách
Policy options
គោលបំណង
Khi thả Default traffic, bạn có hai lựa chọn Policy:
When shedding Default traffic, you have two Policy options:
នៅពេលបាត់បង់ Default traffic អ្នកមានបំណងទាំងពីរ Policy:
  • Random: Xóa ngẫu nhiên tỷ lệ phần trăm yêu cầu được chỉ định trong Shed %. Phân phối lưu lượng truy cập chính xác hơn, nhưng có thể gây ra các yêu cầu từ cùng một IP để đạt các điểm cuối khác nhau.
  • IP hash: Xóa phần trăm của không gian hash địa chỉ IP được chỉ định trong Xóa %. Đảm bảo các yêu cầu từ cùng một IP sẽ đạt cùng một điểm cuối, nhưng có thể bỏ ra một tỷ lệ phần trăm yêu cầu cao hơn hoặc thấp hơn đáng kể.
  • Random: Randomly sheds the percentage of requests specified in the Shed %. Distributes traffic more accurately, but may cause requests from the same IP to hit different endpoints.
  • IP hash: Sheds the percentage of IP address hash space specified in the Shed %. Ensures requests from the same IP will hit the same endpoint, but may shed a significantly higher or lower percentage of requests.
  • Random: កាត់បន្ថយទំហំនៃសំណួរដែលបានបញ្ជាក់នៅក្នុង Shed % ។ ការផ្គត់ផ្គង់ការដឹកជញ្ជូនយ៉ាងត្រឹមត្រូវជាងមុនប៉ុន្តែអាចធ្វើឱ្យសំណួរពី IP ដែលដូចគ្នានេះទៅនឹងបញ្ចប់ផ្សេងគ្នា។
  • IP hash: កម្រិតនៃអាសយដ្ឋាន IP ដែលបានបញ្ជាក់នៅក្នុង កម្រិត % ។ ការធានាថាតម្រូវការពី IP ដែលដូចគ្នានេះនឹងទទួលបានតម្រូវការដូចគ្នានេះទេប៉ុន្តែអាចទទួលបានតម្រូវការខ្ពស់ឬតម្រូវការខ្ពស់។
Để biết thêm hướng dẫn về việc chọn chính sách, hãy tham khảo Shedding policies.
For more guidance on choosing a policy, refer to Shedding policies.
ប្រសិនបើអ្នកមានព័ត៌មានបន្ថែមអំពីការជ្រើសរើសគោលបំណង, សូមមើល Shedding policies ។
Tỷ lệ %
Shed %
លក្ខខណ្ឌ %
Khi chọn Shed %, hãy bắt đầu với một tỷ lệ phần trăm nhỏ và tăng dần. Đặc biệt nếu bạn chọn IP hash shedding policy, bạn có thể mất nhiều lưu lượng truy cập hơn dự kiến.
When choosing a Shed %, start with a small percentage and increase gradually. Particularly if you choose the IP hash shedding policy, you might shed more traffic than expected.
នៅពេលដែលអ្នកជ្រើស Shed %, សូមចាប់ផ្តើមជាមួយនឹងកម្រិតតូចនិងកើនឡើងយ៉ាងឆាប់រហ័ស។ ជាពិសេសប្រសិនបើអ្នកជ្រើស IP hash shedding policy អ្នកអាចបាត់បន្ថយការដឹកជញ្ជូនច្រើនជាងការគិតថ្លៃ។

Cấu hình thông qua API Configure via API ការកំណត់ដោយ API

Phần «Cấu hình via API» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Configure via API" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការកំណត់ដោយ API» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Để cho phép tải xuống cho một hồ bơi cụ thể thông qua API, update the values cho đối tượng load_shedding của hồ bơi.
To enable load shedding for a specific pool via the API, update the values for the pool's load_shedding object.
ដើម្បីអនុញ្ញាតឱ្យការបាត់បន្ថយផ្ទុកសម្រាប់ការបាត់បន្ថយឯកទេសតាមរយៈ API, update the values សម្រាប់ការបាត់បន្ថយ load_shedding នៃការបាត់បន្ថយ។
Ví dụ yêu cầu
Example request
លក្ខណៈពិសេស
Request
Request
Request
text
curl --request PATCH \

"https://api.cloudflare.com/client/v4/accounts/{account_id}/load_balancers/pools/{pool_id}" \

--header "Authorization: Bearer <API_TOKEN>" \

--header "Content-Type: application/json" \

--data-binary '{

  "load_shedding": {

    "default_percent": 20,

    "default_policy": "random",

    "session_percent": 0,

    "session_policy": "hash"

  }

}'
Để biết thêm hướng dẫn về việc chọn chính sách thả, hãy xem Shedding policies.
For more guidance on choosing a shedding policy, see Shedding policies.
ប្រសិនបើអ្នកមានព័ត៌មានបន្ថែមអំពីការជ្រើសរើសគោលបំណងនៃការបាត់បង់, សូមមើល Shedding policies ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Bước 3: Theo dõi giao thông Step 3 — Monitor traffic ជំហានទី 3 - ការត្រួតពិនិត្យការដឹកជញ្ជូន

Phần «Step 3 — Monitor traffic» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Step 3 — Monitor traffic" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ជំហានទី 3 - ការត្រួតពិនិត្យការដឹកជញ្ជូន» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Một khi bạn đã bắt đầu giảm lưu lượng truy cập mặc định, hãy đánh giá các hiệu ứng bằng cách xem lại Overview metrics trong phân tích Load Balancing. Dựa trên những con số này và các số liệu nội bộ của bạn, bạn sẽ biết liệu bạn có cần phải chuyển hướng lưu lượng truy cập thêm từ hồ bơi hay không.
Once you have started shedding default traffic, evaluate the effects by reviewing the Overview metrics in Load Balancing analytics. Based on these numbers and your internal metrics, you will know whether you need to divert additional traffic from the pool.
នៅពេលដែលអ្នកបានចាប់ផ្តើមការបាត់បន្ថយការដឹកជញ្ជូនទូទាត់, ពិនិត្យឡើងវិញផលប៉ះពាល់ដោយពិនិត្យឡើងវិញ Overview metrics នៅក្នុង Load Balancing analytics ។ ដោយផ្អែកលើទំហំទាំងនេះនិងទំហំផ្ទាល់ខ្លួនរបស់អ្នកអ្នកនឹងដឹងថានៅពេលដែលអ្នកត្រូវការដើម្បីផ្លាស់ប្តូរការដឹកជញ្ជូនបន្ថែមពីបណ្តាញ។
Nếu bạn thấy lưu lượng truy cập tăng lên đến một hồ bơi, bạn có thể cần phải đổ thêm lưu lượng truy cập. Hồ bơi lãng phí một phần trăm của tổng lưu lượng truy cập, vì vậy bất kỳ sự gia tăng nào trong tổng lưu lượng truy cập cũng sẽ làm tăng lưu lượng truy cập đến hồ bơi của bạn.
If you see increased traffic to a pool, you may need to shed additional traffic. Pools shed a percentage of total traffic, so any increase in total traffic will also increase the traffic reaching your pool.
ប្រសិនបើអ្នកមើលឃើញការដឹកជញ្ជូនកើនឡើងទៅក្នុងបណ្តុះបណ្តាលអ្នកអាចត្រូវចំណាយការដឹកជញ្ជូនបន្ថែមទៀត។ កុំព្យូទ័រកាត់បន្ថយផ្នែកមួយនៃការដឹកជញ្ជូនទាំងមូល, ដូច្នេះការកើនឡើងណាមួយនៃការដឹកជញ្ជូនទាំងមូលនឹងកើនឡើងការដឹកជញ្ជូនដែលបានមកដល់កុំព្យូទ័ររបស់អ្នក។

Bước 4 – Xóa lưu lượng truy cập bổ sung (tùy chọn) Step 4 — Shed additional traffic (optional) ជំហាន 4 — បាត់បន្ថយការដឹកជញ្ជូនបន្ថែម (បន្ថែមទៀត)

Phần «Step 4 — Shed additional traffic (optional)» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Step 4 — Shed additional traffic (optional)" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ជំហាន 4 — បាត់បន្ថយការដឹកជញ្ជូនបន្ថែម (បន្ថែមទៀត)» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Nếu bạn cần phải giảm thêm lưu lượng truy cập bể bơi:
If you need to shed additional pool traffic:
ប្រសិនបើអ្នកត្រូវចំណាយការដឹកជញ្ជូនបន្ថែមទៀត:
  1. Thực hiện theo các bước được nêu trong Step 2.
  1. Follow the steps outlined in Step 2.
  1. សូមអនុវត្តតាមដំណោះស្រាយដែលបង្ហាញនៅក្នុង Step 2 ។
Trong bảng điều khiển, tăng Shed % cho Default traffic và/hoặc Session affinity traffic. Đối với API, tăng giá trị cho default<em>percent và/hoặc session</em>percent.
In the dashboard, increase the Shed % for Default traffic and/or Session affinity traffic. For the API, increase the value for default<em>percent and/or session</em>percent.
នៅលើប្រព័ន្ធប្រតិបត្តិការ បន្ថែម Shed % សម្រាប់ Default traffic និង / ឬ Session affinity traffic ។ សម្រាប់ API បន្ថែមតម្លៃសម្រាប់ default<em>percent និង / ឬ session</em>percent ។
Vì bỏ Session Affinity traffic sẽ làm gián đoạn existing sessions và có thể làm suy yếu trải nghiệm khách hàng, chỉ bật tùy chọn này nếu hồ bơi của bạn có nguy cơ trở nên không lành mạnh hoặc hồ bơi của bạn có tỷ lệ lưu lượng truy cập cao liên quan đến các phiên hiện có. Để biết thêm hướng dẫn, xem Shedding policies.
Since shedding Session Affinity traffic will disrupt existing sessions and may degrade the customer experience, only enable this option if your pool is in imminent danger of becoming unhealthy or your pool has a high percentage of traffic related to existing sessions. For more guidance, see Shedding policies.
ចាប់តាំងពីការបាត់បន្ថយ Session Affinity traffic នឹងបាត់បន្ថយ existing sessions និងអាចកាត់បន្ថយបទពិសោធន៍របស់អតិថិជន, អនុញ្ញាតឱ្យជម្រើសនេះតែប៉ុណ្ណោះប្រសិនបើកាបូបរបស់អ្នកមានសុវត្ថិភាពយ៉ាងឆាប់រហ័សឬកាបូបរបស់អ្នកមានប្រសិទ្ធិភាពខ្ពស់នៃការដឹកជញ្ជូនដែលទាក់ទងនឹងប្រព័ន្ធប្រតិបត្តិការនេះ។ ប្រសិនបើអ្នកមានអារម្មណ៍បន្ថែមទៀត, សូមមើល Shedding policies ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Bước 5 - Tắt Load Shedding Step 5 — Disable load shedding ជំហានទី 5 - បញ្ជាទាញយកទាញយក

Phần «Step 5 — Disable load shedding» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Step 5 — Disable load shedding" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ជំហានទី 5 - បញ្ជាទាញយកទាញយក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Một khi một điểm cuối không còn nguy hiểm, loại bỏ chất thải tải từ hồ bơi.
Once an endpoint is no longer at risk, remove load shedding from the pool.
នៅពេលដែលបញ្ចប់ទីនេះមិនមែនជាកន្លែងដែលមានសុវត្ថិភាពបន្ថែមពីការបាត់បន្ថយផ្ទុកពីការបាត់បន្ថយ។
Để loại bỏ mất tải trong bảng điều khiển, hãy thực hiện các bước tương tự như Configure load shedding via the dashboard nhưng đặt Shed % thành 0 cho cả Default traffic và Session affinity traffic.
To remove load shedding in the dashboard, perform the same steps as Configure load shedding via the dashboard but set the Shed % to 0 for both Default traffic and Session affinity traffic.
ប្រសិនបើអ្នកចង់កាត់បន្ថយការបាត់បន្ថយការផ្ទុកនៅក្នុងប្រព័ន្ធប្រតិបត្តិការ, សូមធ្វើការដូចគ្នាជាមួយ Configure load shedding via the dashboard ប៉ុន្តែកំណត់ Shed % ទៅ 0 សម្រាប់ Default traffic និង Session affinity traffic ។
Để loại bỏ việc bỏ tải thông qua API, hãy thực hiện các bước tương tự như Configure load shedding via the API nhưng đặt đối tượng load_shedding thành null.
To remove load shedding via the API, perform the same steps as Configure load shedding via the API but set the load_shedding object to null.
ប្រសិនបើអ្នកចង់ជួសជុលការបាត់បន្ថយផ្ទុកតាមរយៈ API សូមធ្វើការដូចគ្នាជាមួយ Configure load shedding via the API ប៉ុន្តែកំណត់អobject load_shedding ទៅ null ។

Shedding chính sách Shedding policies គោលការណ៍ Shedding

Phần «Shedding policies» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Shedding policies" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «គោលការណ៍ Shedding» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Đối với Default traffic, bạn có hai lựa chọn cho chính sách thả.
For Default traffic, you have two choices for shedding policy.
សម្រាប់ Default traffic អ្នកមានការជ្រើសរើសពីរដំណោះស្រាយសម្រាប់គោលនយោបាយការបាត់បង់។
Một chính sách Random:
A Random policy:
គោលនយោបាយ Random:
  • Xóa ngẫu nhiên tỷ lệ phần trăm yêu cầu được chỉ định trong Shed %.
  • Phân phối lưu lượng truy cập chính xác hơn bởi vì nó đổ ở mức yêu cầu.
  • Có thể gây ra các yêu cầu từ cùng một IP để đạt các điểm cuối khác nhau, có khả năng dẫn đến lỗ hổng bộ nhớ cache, độ trễ không nhất quán hoặc sự gián đoạn phiên cho DNS-only load balancers.
  • Randomly sheds the percentage of requests specified in the Shed %.
  • Distributes traffic more accurately because it sheds at the request level.
  • May cause requests from the same IP to hit different endpoints, potentially leading to cache misses, inconsistent latency, or session disruption for DNS-only load balancers.
  • វាត្រូវបានកាត់បន្ថយទំហំនៃសំណួរដែលបានបញ្ជាក់នៅក្នុង Shed % ។
  • ការផ្គត់ផ្គង់ការដឹកជញ្ជូនយ៉ាងត្រឹមត្រូវជាងមុនដោយសារតែវាត្រូវបានផ្គត់ផ្គង់នៅលើទម្រង់។
  • អាចធ្វើឱ្យសំណួរពី IP ដែលដូចគ្នានេះទៅនឹងបញ្ចប់ផ្សេងគ្នានេះអាចធ្វើឱ្យមានការបាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយ DNS-only load balancers ។
Một chính sách IP hash:
An IP hash policy:
កម្រិត IP កម្រិត :
  • Xóa phần trăm của không gian hash địa chỉ IP được chỉ định trong Xóa %.
  • Đảm bảo các yêu cầu từ cùng một IP sẽ đạt cùng một điểm cuối, điều này sẽ làm tăng các hit bộ nhớ đệm, cung cấp độ trễ nhất quán và bảo tồn các phiên.
  • Có thể yêu cầu quá mức hoặc quá thấp, vì hashing không đảm bảo phân phối IP hoàn hảo và IP riêng lẻ có thể chịu trách nhiệm cho các tỷ lệ phần trăm khác nhau của yêu cầu của bạn.
  • Sheds the percentage of IP address hash space specified in the Shed %.
  • Ensures requests from the same IP will hit the same endpoint, which will increase cache hits, provide consistent latency, and preserve sessions.
  • Can over- or under-shed requests, since hashing does not guarantee a perfectly even IP distribution and individual IPs may be responsible for different percentages of your requests.
  • បានបង្ហាញពីទំហំ IP នៃអាសយដ្ឋាន hash ដែលបានបញ្ជាក់នៅក្នុង % ។
  • ការធានាថាសំណួរពី IP ដែលដូចគ្នានេះនឹងចូលទៅក្នុងតំបន់បញ្ចប់ដូចគ្នានេះនឹងកើនឡើងការចែកចាយការចែកចាយការចែកចាយការចែកចាយការចែកចាយការចែកចាយការចែកចាយការចែកចាយការចែកចាយ។
  • អាចបញ្ជាតម្រូវការខ្ពស់ឬខ្ពស់, ដោយសារតែការ hashing មិនធានាឱ្យមានការផ្គត់ផ្គង់ IP ដែលមានតម្រូវការល្អឥតខ្ចោះនិង IPs មួយចំនួនអាចមានតម្រូវការសម្រាប់ចំនួនផ្សេងគ្នានៃតម្រូវការរបស់អ្នក។
Chọn chính sách Random khi bạn muốn phân phối chính xác hơn các yêu cầu thô và chính sách IP hash khi bạn muốn ngăn chặn một IP duy nhất nhấp nháy giữa các điểm cuối khác nhau.
Choose a Random policy when you want a more accurate distribution of raw requests and an IP hash policy when you want to prevent a single IP from flapping between different endpoints.
ជ្រើសគោលដៅ Random នៅពេលដែលអ្នកចង់ផ្លាស់ប្តូរសំណួរដំបូងយ៉ាងត្រឹមត្រូវជាងមុននិងគោលដៅ IP hash នៅពេលដែលអ្នកចង់កាត់បន្ថយគោលដៅ IP មួយតែមួយពីការបំបែករវាងបញ្ចប់ផ្សេងគ្នា។
Đối với Session Affinity traffic, bạn chỉ có thể sử dụng chính sách IP hash vì các yêu cầu này liên quan đến phiên hiện có. Chỉ tăng Shed % nếu bạn thoải mái phá vỡ existing sessions.
For Session Affinity traffic, you can only use an IP hash policy since these requests relate to existing sessions. Only increase the Shed % if you are comfortable disrupting existing sessions.
សម្រាប់ Session Affinity traffic អ្នកអាចប្រើគោលនយោបាយ IP hash ដោយសារតែសំណួរទាំងនេះទាក់ទងទៅនឹងដំណើរការដែលមាន។ បន្ថែម បិទ % ប្រសិនបើអ្នកមានភាពងាយស្រួលក្នុងការបាត់បន្ថយ existing sessions ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Fallback Ba Lan Fallback pools ហ្វេសប៊ុក

Phần «Fallback pools» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Fallback pools" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ហ្វេសប៊ុក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Nếu tất cả các hồ bơi trong một load balancer có Load shedding bật, một số lưu lượng truy cập sẽ đi đến hồ bơi rơi. Để ngăn chặn bất kỳ lưu lượng truy cập nào đến hồ bơi rơi, hãy đảm bảo rằng ít nhất một hồ bơi trong load balancer does not có tải thả được kích hoạt.
If all pools within a load balancer have Load shedding enabled, some traffic will go to the fallback pool. To prevent any traffic from reaching the fallback pool, ensure at least one pool within the load balancer does not have load shedding enabled.
If all pools within a load balancer have Load shedding enabled, some traffic will go to the fallback pool. To prevent any traffic from reaching the fallback pool, ensure at least one pool within the load balancer does not have load shedding enabled.

Bao gồm nhiều load balancers Pools in multiple load balancers កុំព្យូទ័រជាច្រើន load balancers

Phần «Pools in multiple load balancers» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Pools in multiple load balancers" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «កុំព្យូទ័រជាច្រើន load balancers» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Nếu bạn bật tải thả trên một hồ bơi, nó sẽ thả cùng một tỷ lệ phần trăm lưu lượng truy cập trên tất cả load balancer của bạn. Nếu bạn cần một điểm cuối để tiêu thụ tỷ lệ phần trăm lưu lượng truy cập khác nhau cho các load balancer khác nhau, hãy đặt điểm cuối đó trong nhiều nhóm.
If you enable load shedding on a pool, it will shed the same percentage of traffic across all your load balancers. If you need an endpoint to shed different percentages of traffic for different load balancers, put that endpoint in multiple pools.
ប្រសិនបើអ្នកអនុញ្ញាតការបាត់បន្ថយផ្ទុកនៅលើបណ្តាញវានឹងបាត់បន្ថយប្រសិទ្ធភាពដូចគ្នានេះនៅលើ load balancer របស់អ្នកទាំងអស់។ ប្រសិនបើអ្នកត្រូវការបញ្ចប់បញ្ចប់ដើម្បីបាត់បន្ថយទំហំផ្សេងគ្នានៃការដឹកជញ្ជូនសម្រាប់ load balancer ដែលផ្សេងគ្នានៃការបញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់បញ្ចប់
json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/load-balancing/","name":"Load Balancing"}},{"@type":"ListItem","position":3,"item":{"@id":"/load-balancing/additional-options/","name":"Additional configuration"}},{"@type":"ListItem","position":4,"item":{"@id":"/load-balancing/additional-options/load-shedding/","name":"Load shedding"}}]}

Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។

Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗