aboutsummaryrefslogtreecommitdiff
path: root/src/modules/loadbalance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/loadbalance.rs')
-rw-r--r--src/modules/loadbalance.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/loadbalance.rs b/src/modules/loadbalance.rs
index 168db33..5358b03 100644
--- a/src/modules/loadbalance.rs
+++ b/src/modules/loadbalance.rs
@@ -1,3 +1,7 @@
+//! Load balancing module
+//!
+//! Given a set of handlers, the handler that is the least busy will handle the next request.
+//! Current implementation does not scale well for many handlers.
use super::{Node, NodeContext, NodeKind, NodeRequest, NodeResponse};
use crate::{config::DynNode, error::ServiceError};
use anyhow::Result;