|
Aggie Student Toolkit — Load Balancer CSCE 412 Project 4
Arnav Fotedar · Fall 2026 · C++ load balancer simulation
|
Point-in-time picture of the load balancer, recorded at regular intervals. More...
#include <LoadBalancer.h>
Public Attributes | |
| unsigned long | cycle = 0 |
| Clock cycle of the snapshot. | |
| std::size_t | queueSize = 0 |
| Requests waiting in the queue. | |
| std::size_t | liveServers = 0 |
| All servers, including retiring ones. | |
| std::size_t | busyServers = 0 |
| Servers processing a request. | |
| std::size_t | idleServers = 0 |
| Servers with no request (inactive). | |
| std::size_t | retiringServers = 0 |
| Servers finishing work before removal. | |
| unsigned long | completed = 0 |
| Requests completed so far. | |
| unsigned long | rejected = 0 |
| Requests blocked by the firewall so far. | |
Point-in-time picture of the load balancer, recorded at regular intervals.
Definition at line 59 of file LoadBalancer.h.
| unsigned long Snapshot::cycle = 0 |
Clock cycle of the snapshot.
Definition at line 60 of file LoadBalancer.h.
| std::size_t Snapshot::queueSize = 0 |
Requests waiting in the queue.
Definition at line 61 of file LoadBalancer.h.
| std::size_t Snapshot::liveServers = 0 |
All servers, including retiring ones.
Definition at line 62 of file LoadBalancer.h.
| std::size_t Snapshot::busyServers = 0 |
Servers processing a request.
Definition at line 63 of file LoadBalancer.h.
| std::size_t Snapshot::idleServers = 0 |
Servers with no request (inactive).
Definition at line 64 of file LoadBalancer.h.
| std::size_t Snapshot::retiringServers = 0 |
Servers finishing work before removal.
Definition at line 65 of file LoadBalancer.h.
| unsigned long Snapshot::completed = 0 |
Requests completed so far.
Definition at line 66 of file LoadBalancer.h.
| unsigned long Snapshot::rejected = 0 |
Requests blocked by the firewall so far.
Definition at line 67 of file LoadBalancer.h.