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

Cải thiện hiệu suất và độ tin cậy Improve performance and reliability ការបង្កើនប្រសិទ្ធិភាពនិងភាពងាយស្រួល

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 «4 – Improve performance» 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. Docs gốc chia khoảng 2 bước chính; bản tóm tắt dưới đây giúp bạn nắm khung trước khi làm theo từng lệnh.

Learn how to use Terraform with Cloudflare Load Balancing product to fail traffic over as needed.

តើធ្វើដូចម្តេចដើម្បីប្រើ Terraform ជាមួយនឹងផលិតផល Cloudflare Load Balancing ដើម្បីកាត់បន្ថយការដឹកជញ្ជូនដែលត្រូវការ។

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 đủ.
  • Kiểm tra token/API và state backend trước khi chạy trên môi trường production.
  • 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.
  • Verify API tokens and the state backend before running against production.
  • Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
  • នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
  • ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
  • សូមពិនិត្យមើល API tokens និងការបង្វិលប្រព័ន្ធប្រតិបត្តិការមុនពេលធ្វើការប្រឆាំងនឹងការផលិត។
  • 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 ផ្លូវការ ↗
Trong hướng dẫn này, bạn sẽ thêm nguồn gốc thứ hai cho một số vòng tròn cơ bản, và sau đó sử dụng sản phẩm Cloudflare Load Balancing để thất bại lưu lượng truy cập khi cần thiết. Bạn cũng sẽ cải thiện cấu hình load balancing của mình thông qua việc sử dụng "định hướng địa lý" để phục vụ kết quả từ một máy chủ nguồn địa lý gần nhất với người dùng cuối của bạn.
In this tutorial, you will add a second origin for some basic round robining, and then use the Cloudflare Load Balancing product to fail traffic over as needed. You will also enhance your load balancing configuration through the use of "geo steering" to serve results from an origin server that is geographically closest to your end users.
ក្នុងកម្មវិធីបច្ចុប្បន្ននេះអ្នកនឹងបន្ថែមប្រភពទីពីរសម្រាប់ការកាត់បន្ថយជាមូលដ្ឋានមួយចំនួនហើយបន្ទាប់មកប្រើផលិតផល Cloudflare Load Balancing ដើម្បីបាត់បន្ថយការដឹកជញ្ជូនតាមបំណង។ អ្នកនឹងបង្កើនការកំណត់ load balancing របស់អ្នកដោយប្រើ "ឧបករណ៍គ្រប់គ្រងធម្មជាតិ" ដើម្បីផ្គត់ផ្គង់ផលិតផលពីផ្គត់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់ផ្គង់

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

Điều kiện Prerequisites គោលបំណង

Phần «Yêu cầu trước» — đọ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 "Prerequisites" section below — open the official docs link for full screenshots and configuration tabs.

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

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Các đoạn mã Terraform dưới đây chỉ đề cập đến v5 SDK.
Terraform code snippets below refer to the v5 SDK only.
Terraform សៀវភៅកូដខាងក្រោមបង្ហាញតែសម្រាប់ SDK v5 ។

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

1.Điều Thêm bản ghi DNS khác cho www 1. Add another DNS record for www 1 ។ Add another DNS record for កុំព្យូទ័រ

Tạo new branch and add a DNS record for your Asia server:

Read the "1. Add another DNS record for www" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «1 ។ Add another DNS record for កុំព្យូទ័រ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Tạo một chi nhánh mới và thêm bản ghi DNS cho máy chủ Châu Á của bạn:
Create a new branch and add a DNS record for your Asia server:
បានបង្កើតទីផ្សារថ្មីនិងបន្ថែមលេខ DNS សម្រាប់សេវាកម្មអាស៊ីរបស់អ្នក:
Cửa sổ Terminal
Terminal window
បង្វិល Terminal
text
git checkout -b step4-configure-load-balancing
Thêm bản ghi DNS cho máy chủ web thứ hai, nằm ở châu Á. Ví dụ, địa chỉ IP cho máy chủ này là 198.51.100.15. Thêm bản ghi DNS thứ hai vào main.tf của bạn:
Add a DNS record for a second web server, located in Asia. For example purposes, the IP address for this server is 198.51.100.15. Add the second DNS record to your main.tf:
បន្ថែមប្រកាស DNS សម្រាប់សេវាកម្មបណ្ដាញទីពីរដែលមានទីតាំងនៅក្នុងប្រទេសអាស៊ី។ ឧទាហរណ៍សម្រាប់គោលបំណងអាសយដ្ឋាន IP សម្រាប់សេវាកម្មនេះគឺ 198.51.100.15 ។ បន្ថែមប្រកាសទីពីរ DNS ទៅ main.tf របស់អ្នក:
text
# Asia origin server

resource "cloudflare_dns_record" "www_asia" {

  zone_id = var.zone_id

  name    = "www"

  content = "198.51.100.15"

  type    = "A"

  ttl     = 300

  proxied = true

  comment = "Asia origin server"

}
Lưu ý rằng trong khi tên của resource là khác nhau bởi vì Terraform tài nguyên cùng loại phải được đặt tên duy nhất, tên DNS, hoặc những gì khách hàng của bạn sẽ gõ trong trình duyệt của họ, là như nhau: www.
Note that while the name of the resource is different because Terraform resources of the same type must be uniquely named, the DNS name, or what your customers will type in their browser, is the same: www.
Note that while the name of the resource is different because Terraform resources of the same type must be uniquely named, the DNS name, or what your customers will type in their browser, is the same: www.
Áp dụng thay đổi này để xem hành vi round-robin cơ bản:
Apply this change to see basic round-robin behavior:
សូមអនុវត្តការផ្លាស់ប្តូរនេះដើម្បីមើលប្រព័ន្ធប្រតិបត្តិការ Round-Robin:
Cửa sổ Terminal
Terminal window
បង្វិល Terminal
text
terraform plan

terraform apply
Kiểm tra phân phối tải cơ bản:
Test the basic load distribution:
ការធ្វើតេស្តការផ្លាស់ប្តូរផ្ទុកទូទៅ:
Cửa sổ Terminal
Terminal window
បង្វិល Terminal
text
# Make several requests to see both origins

for i in {1..4}; do

  curl https://www.example.com

  sleep 1

done
Kết quả dự kiến:
Expected output:
ផលិតផលដែលគួរឱ្យចាប់ផ្តើម:
text
Hello, this is 203.0.113.10!

Hello, this is 203.0.113.10!

Hello, this is 198.51.100.15!

Hello, this is 203.0.113.10!
Bạn sẽ thấy phân phối ngẫu nhiên giữa hai máy chủ nguồn của bạn. DNS dựa trên load balancing cơ bản này có những hạn chế - không có kiểm tra sức khỏe, không có hướng dẫn địa lý và các mô hình phân phối không thể đoán trước. Đối với các kịch bản nâng cao hơn, chẳng hạn như nguồn gốc ở các vùng địa lý khác nhau hoặc lỗi tự động, bạn sẽ muốn sử dụng Cloudflare's Load Balancing.
You'll see random distribution between your two origin servers. This basic DNS-based load balancing has limitations - no health checks, no geographic steering, and unpredictable distribution patterns. For more advanced scenarios like origins in different geographies or automatic failover, you'll want to use Cloudflare's Load Balancing.
អ្នកនឹងរកឃើញការផ្គត់ផ្គង់ទូទៅរវាងផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែកផ្នែករបស់អ្នក។ នេះ DNS base-based load balancing មានកំណត់ - គ្មានការត្រួតពិនិត្យសុខភាព, គ្មានការត្រួតពិនិត្យឧស្សាហកម្ម, និងគំរូផ្គត់ផ្គង់មិនគិតថ្លៃ។ សម្រាប់ប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមានប្រសិនបើមាន Cloudflare's Load Balancing

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

2.Đối với Chuyển sang sử dụng sản phẩm Cloudflare của Load Balancing 2. Switch to using Cloudflare's Load Balancing product 2 ។ ការផ្លាស់ប្តូរទៅប្រើផលិតផល Cloudflare នៃ Load Balancing

Phần «Switch to using Cloudflare's Load Balancing product» — đọ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 "2. Switch to using Cloudflare's Load Balancing product" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «2 ។ ការផ្លាស់ប្តូរទៅប្រើផលិតផល Cloudflare នៃ Load Balancing» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Như được mô tả trong Load Balancing tutorial, bạn sẽ cần phải hoàn thành ba nhiệm vụ:
As described in the Load Balancing tutorial, you will need to complete three tasks:
ដូចដែលបានបង្ហាញនៅក្នុង Load Balancing tutorial អ្នកនឹងត្រូវបញ្ចប់បីតម្រូវការ:
  1. Tạo một màn hình để chạy kiểm tra sức khỏe chống lại máy chủ nguồn của bạn.
  2. Tạo một nhóm một hoặc nhiều máy chủ nguồn sẽ nhận được lưu lượng truy cập cân bằng tải.
  3. Tạo load balancer với tên máy chủ bên ngoài – ví dụ, www.example.com – và một hoặc nhiều nhóm.
  1. Create a monitor to run health checks against your origin servers.
  2. Create a pool of one or more origin servers that will receive load balanced traffic.
  3. Create a load balancer with an external hostname — for example, www.example.com — and one or more pools.
  1. បង្កើតម៉ាស៊ីនត្រួតពិនិត្យដើម្បីដំណើរការការត្រួតពិនិត្យសុខភាពប្រឆាំងនឹងសេវាកម្មដើមរបស់អ្នក។
  2. បានបង្កើតក្រុមប្រឹក្សាភិបាលមួយឬច្រើននៃសេវាកម្មដើមមួយដែលនឹងទទួលបានការដឹកជញ្ជូនផ្ទុករលាយ។
  3. បានបង្កើត load balancer ជាមួយនឹងឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ខាងក្រៅ - ដូចជា www.example.com - និងក្រុមមួយឬច្រើន។
Chúng tôi có thể theo dõi nguồn gốc bằng cách tạo một kiểm tra sức khỏe cơ bản làm cho một yêu cầu GET cho mỗi nguồn gốc trên URL. Nếu nguồn gốc trả về mã trạng thái 200 (OK) trong vòng năm giây, nó được coi là khỏe mạnh. Nếu nó không làm điều đó ba lần liên tiếp, nó được coi là không lành mạnh. Kiểm tra sức khỏe này sẽ được chạy một lần mỗi phút từ một số khu vực và bạn có thể cấu hình thông báo email trong trường hợp bất kỳ sự cố nào được phát hiện.
We can monitor the origins by creating a basic health check that makes a GET request to each origin on the URL. If the origin returns the 200 status code (OK) within five seconds, it is considered healthy. If it fails to do so three times in a row, it is considered unhealthy. This health check will be run once per minute from several regions and you can configure an email notification in the event any failures are detected.
យើងអាចត្រួតពិនិត្យប្រភពដោយបង្កើតការត្រួតពិនិត្យប្រសិទ្ធិភាពមូលដ្ឋានដែលធ្វើឱ្យសំណួរ GET សម្រាប់ប្រភពទាំងអស់នៅលើ URL ។ ប្រសិនបើផលប៉ះពាល់នេះបានបង្វិលកូដ 200 (OK) ក្នុងរយៈពេល 5 វិនាទី, វាត្រូវបានគេស្គាល់ថាវាមានសុវត្ថិភាព។ ប្រសិនបើវាមិនធ្វើដូច្នេះបីដងបន្ទាប់មកវាត្រូវបានគេស្គាល់ថាមិនមានសុខភាព។ ការត្រួតពិនិត្យសុខភាពនេះនឹងត្រូវបានដំណើរការមួយដងក្នុងមួយដងពីតំបន់ផ្សេងៗគ្នាហើយអ្នកអាចកំណត់ការប្រកាសអ៊ីម៉ែលក្នុងករណីដែលបញ្ហាណាមួយត្រូវបានរកឃើញ។
Trong ví dụ này, nhóm sẽ được gọi là www-origins với hai nguồn gốc được thêm vào nó:
In this example, the pool will be called www-origins with two origins added to it:
នៅក្នុងឧទាហរណ៍នេះក្រុមប្រឹក្សាភិបាលនឹងត្រូវបានគេហៅ www-origins ជាមួយនឹងការបន្ថែមទីពីរទៅវា:
  • www-us (203.0.113.10) #Ph0# (203.0.113.10)
  • www-asia (198.51.100.15) #Ph0# (198.51.100.15)
  • www-us (203.0.113.10)
  • www-asia (198.51.100.15)
  • www-us (203.0.113.10)
  • www-asia (198.51.100.15)
Bây giờ, hãy bỏ qua bất kỳ loại geo routing nào.
For now, skip any sort of geo routing.
ឥឡូវនេះ, បិទប្រភេទណាមួយនៃ geo routing ។
Khi bạn tạo load balancer (LB), nó sẽ là replace any existing DNS records with the same name. Ví dụ, nếu bạn tạo www.example.com load balancer bên dưới, nó sẽ thay thế hai bản ghi www DNS mà bạn đã xác định trước đó. Một lợi thế của việc để lại các bản ghi DNS là nếu bạn tạm thời vô hiệu hóa load balancing, kết nối với tên máy chủ này vẫn có thể.
When you create a load balancer (LB), it will replace any existing DNS records with the same name. For example, if you create the www.example.com load balancer below, it will supersede the two www DNS records that you previously defined. One benefit of leaving the DNS records in place is that if you temporarily disable load balancing, connections to this hostname are still possible.
នៅពេលដែលអ្នកបង្កើត load balancer (LB) វានឹង replace any existing DNS records with the same name ។ ឧទាហរណ៍, ប្រសិនបើអ្នកបង្កើត www.example.com load balancer នៅខាងក្រោមនេះ, វាត្រូវបានផ្លាស់ប្តូរទាំងពីរ www DNS សៀវភៅដែលអ្នកបានកំណត់មុនពេលមុន។ អត្ថប្រយោជន៍មួយនៃការផ្លាស់ប្តូរប្រកាស DNS គឺថា ប្រសិនបើអ្នកផ្លាស់ប្តូរប្រកាស load balancing ដោយឥតគិតថ្លៃអ្នកអាចចូលទៅក្នុងប្រកាសនេះទេ។
Để đạt được điều trên, hãy thêm cấu hình load balancing vào main.tf:
To achieve the above, add the load balancing configuration to main.tf:
ដើម្បីទទួលបានលទ្ធផលខាងលើ, បន្ថែមការកំណត់ load balancing ទៅ main.tf:
text
# Health check monitor

resource "cloudflare_load_balancer_monitor" "health_check" {

  account_id     = var.account_id

  expected_body = "alive"

  expected_codes = "2xx"

  method         = "GET"

  timeout        = 5

  path           = "/health"

  interval       = 60

  retries        = 2

  description    = "Health check for www origins"

  type           = "https"


  header = {

    Host = ["${var.domain}"]

  }

}


# Origin pool

resource "cloudflare_load_balancer_pool" "www_pool" {

  account_id = var.account_id

  name       = "www-origins"

  monitor    = cloudflare_load_balancer_monitor.health_check.id


  origins = [{

    name    = "www-us"

    address = "203.0.113.10"

    enabled = true

  }, {

    name    = "www-asia"

    address = "198.51.100.15"

    enabled = true

  }]


  description     = "Primary www server pool"

  enabled         = true

  minimum_origins = 1

  notification_email = "<YOUR_EMAIL>"

  check_regions   = ["WEU", "EEU", "WNAM", "ENAM", "SEAS", "NEAS"]

}


# Load balancer

resource "cloudflare_load_balancer" "www_lb" {

  zone_id       = var.zone_id

  name          = "www.${var.domain}"

  default_pools = [cloudflare_load_balancer_pool.www_pool.id]

  fallback_pool = cloudflare_load_balancer_pool.www_pool.id

  description   = "Load balancer for www.${var.domain}"

  proxied       = true

}
load balancer sẽ tự động thay thế bản ghi DNS hiện có của bạn bằng cùng tên (www).
The load balancer will automatically replace your existing DNS records with the same name (www).
ការ load balancer នឹងផ្លាស់ប្តូរដោយស្វ័យប្រវត្តិប្រវត្តិប្រវត្តិរបស់អ្នក DNS ជាមួយនឹងឈ្មោះដូចគ្នា (www) ។
Xem trước và áp dụng các thay đổi:
Preview and apply the changes:
ពិនិត្យឡើងវិញនិងអនុវត្តការផ្លាស់ប្តូរ:
Cửa sổ Terminal
Terminal window
បង្វិល Terminal
text
terraform plan

terraform apply
Kiểm tra cải thiện load balancing:
Test the improved load balancing:
ការធ្វើតេស្តនៃការធ្វើតេស្ត load balancing បានបង្កើនឡើង:
Cửa sổ Terminal
Terminal window
បង្វិល Terminal
text
# Test load distribution with health monitoring

for i in {1..6}; do

  echo "Request $i:"

  curl -s https://www.example.com

  sleep 2

done
Kết quả dự kiến:
Expected output:
ផលិតផលដែលគួរឱ្យចាប់ផ្តើម:
text
Request 1:

Hello, this is 198.51.100.15!

Request 2:

Hello, this is 203.0.113.10!

Request 3:

Hello, this is 198.51.100.15!

Request 4:

Hello, this is 203.0.113.10!

Request 5:

Hello, this is 203.0.113.10!

Request 6:

Hello, this is 198.51.100.15!
Bây giờ bạn nên thấy sự phân phối tải dự đoán hơn với những lợi ích bổ sung của việc giám sát sức khỏe và lỗi tự động.
You should now see more predictable load distribution with the added benefits of health monitoring and automatic failover.
អ្នកគួរតែរកឃើញការផ្លាស់ប្តូរផ្ទុកដែលមានប្រសិទ្ធិភាពជាងមុនជាមួយនឹងអត្ថប្រយោជន៍បន្ថែមនៃការត្រួតពិនិត្យសុខភាពនិងការបញ្ហានេះដោយស្វ័យប្រវត្តិ។
Tham gia và kiểm tra:
Merge and verify:
សូមស្វែងរកនិងត្រួតពិនិត្យ:
Cửa sổ Terminal
Terminal window
បង្វិល Terminal
text
git add main.tf

git commit -m "Step 4 - Create load balancer (LB) monitor, LB pool, and LB"

git push
Kiểm tra cấu hình đang hoạt động bằng cách kiểm tra bảng điều khiển Cloudflare dưới Traffic \> Load Balancing. Bạn nên xem màn hình, hồ bơi và load balancer với các chỉ số tình trạng sức khỏe. load balancer của bạn bây giờ sẽ:
Verify the configuration is working by checking the Cloudflare dashboard under Traffic \> Load Balancing. You should see your monitor, pool, and load balancer with health status indicators. Your load balancer will now:
សូមពិនិត្យមើលប្រព័ន្ធប្រតិបត្តិការ Cloudflare នៅក្រោមប្រព័ន្ធប្រតិបត្តិការ Traffic \> Load Balancing ។ អ្នកគួរតែមើលម៉ាស៊ីនត្រួតពិនិត្យរបស់អ្នក, កុំព្យូទ័រនិង load balancer ជាមួយនឹងវិញ្ញាបនប័ត្រសុខភាព។ ទូរស័ព្ទរបស់អ្នក load balancer ឥឡូវនេះនឹង:
  • Phân phối giao thông thông minh giữa các nguồn gốc
  • Tự động định tuyến xung quanh các máy chủ không lành mạnh
  • Cung cấp giám sát sức khỏe thời gian thực
  • Distribute traffic intelligently between origins
  • Automatically route around unhealthy servers
  • Provide real-time health monitoring
  • ការផ្គត់ផ្គង់ការដឹកជញ្ជូនដោយគួរឱ្យចាប់អារម្មណ៍រវាងដើម
  • ការធ្វើដំណើរដោយស្វ័យប្រវត្តិនៅជុំវិញសេវាកម្មដែលមិនមានប្រសិទ្ធិភាព
  • ការត្រួតពិនិត្យសុខភាពក្នុងអំឡុងពេលពិតប្រាកដ
json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/terraform/","name":"Terraform"}},{"@type":"ListItem","position":3,"item":{"@id":"/terraform/tutorial/","name":"Tutorials"}},{"@type":"ListItem","position":4,"item":{"@id":"/terraform/tutorial/use-load-balancing/","name":"4 – Improve performance"}}]}

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

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 ↗ ឯកសារផ្លូវការ ↗