From ecb3378d29a4f53604a9287ef7027a299f3d45d5 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 24 Aug 2024 01:33:49 +0200 Subject: a bit of doc, stub cache impl --- src/modules/loadbalance.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules/loadbalance.rs') 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; -- cgit v1.2.3-70-g09d2