Weights 5:1:1
Smooth weighted round robin gives more turns to the strongest server while still spacing weaker servers into the sequence.
A, A, B, A, C, A, AMô phỏng trực quan cách thức hoạt động của các thuật toán cân bằng tải mạng (Round Robin, Weighted Round Robin, Least Connections, Random và IP Hash) khi phân phối lưu lượng.
Weight only affects the weighted round robin algorithm.
Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.
Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.
Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.
Simulate how round robin, weighted round robin, and least-connections algorithms distribute a stream of requests across servers.
Least connections only differs from round robin once requests take more than one tick to finish — that's what lets some servers still be "busy" when the next request arrives, which is exactly the condition least-connections is designed to react to.
Smooth weighted round robin gives more turns to the strongest server while still spacing weaker servers into the sequence.
A, A, B, A, C, A, AServer weights and request counts are simulated locally. No network requests are sent to any real backend or load balancer.
Round robin works well when every server is equally sized and requests are roughly equal cost. Weighted round robin suits a mix of server sizes. Least connections tends to perform best when request duration varies a lot.
It models the core decision logic correctly (including nginx's actual smooth weighted round-robin algorithm), but a production load balancer also handles health checks, connection draining, and session affinity, which this simulator doesn't.
Without one, every request would be considered "finished" instantly, and every server would always show zero active connections — making least-connections indistinguishable from round robin.
No. It only counts requests still active at the current tick, then chooses the server with the fewest active requests.
Tính địa chỉ mạng, dải IP khả dụng, broadcast và subnet mask theo CIDR.
Ước tính thời gian tải xuống hoặc tải lên tệp tin dựa trên dung lượng và tốc độ mạng.
Tạo tiêu đề Authorization Basic [base64] từ tên đăng nhập và mật khẩu.
Tạo địa chỉ MAC ngẫu nhiên theo các định dạng phân cách hai chấm, gạch ngang, dấu chấm.
Kiểm tra tình trạng cập nhật bản ghi DNS (A, AAAA, CNAME, MX, TXT, NS) trên toàn thế giới.
Tính tỷ lệ phần trăm của một số, tỷ lệ tăng trưởng, giảm giá, chiết khấu và độ lệch.
Đếm số ký tự, từ, câu, đoạn văn và ước tính thời gian đọc văn bản tức thì.
Tạo mật khẩu ngẫu nhiên có độ bảo mật cao hoặc cụm mật khẩu dễ nhớ, an toàn.
Tạo mã định danh duy nhất toàn cầu UUID v4 có độ ngẫu nhiên mật mã cao hàng loạt.
Định dạng, làm đẹp, kiểm tra cú pháp và nén gọn chuỗi dữ liệu JSON, YAML và XML tức thì.