Module: sip-router
Branch: master
Commit: 59c31fe72e95d60f42752bfcae3a18563b2c9700
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=59c31fe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Feb 12 14:03:24 2010 +0100
dispatcher(k): basic framework for load dispatching
- a lightweight system to do a fair distrubution based on load
- no dependency on dialog, by using an internal table of active calls
with minimal info, to keep the module suitable for small devices and
have good performances
- not completed, requires xavp support for a compact info structure to
be carried in transaction for each failover step
---
modules_k/dispatcher/dispatch.c | 94 ++++++++++++-
modules_k/dispatcher/dispatch.h | 6 +
modules_k/dispatcher/dispatcher.c | 10 ++
modules_k/dispatcher/ds_ht.c | 278 +++++++++++++++++++++++++++++++++++++
modules_k/dispatcher/ds_ht.h | 67 +++++++++
5 files changed, 453 insertions(+), 2 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=59c…