# Thuật toán cân bằng tải

Dịch vụ Load Balancer của HyperCore hỗ trợ 2 thuật toán cân bằng tải:

* **Round-robin** chọn lần lượt các máy chủ có trong pool để định tuyến lưu lượng mà không quan tâm đến số lưu lượng các máy chủ đang có. Đây là thuật toán mặc định.
* **Least Connection** chọn máy chủ có số lượng kết nối ít nhất để định tuyến lưu đượng đến máy chủ này.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hypercore.vn/load-balancer/thuat-toan-can-bang-tai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
