[OpenSIPS-Devel] [OpenSIPS/opensips] f001f0: Added support for multiple timer processes in TM. ...
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Mar 10 10:15:43 CET 2014
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: f001f098a0cf3996655e1ca47675b15d2f69c984
https://github.com/OpenSIPS/opensips/commit/f001f098a0cf3996655e1ca47675b15d2f69c984
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2014-03-10 (Mon, 10 Mar 2014)
Changed paths:
M modules/tm/h_table.c
M modules/tm/h_table.h
M modules/tm/lock.c
M modules/tm/lock.h
M modules/tm/timer.c
M modules/tm/timer.h
M modules/tm/tm.c
Log Message:
-----------
Added support for multiple timer processes in TM. The timer process may easyly become a bottleneck in TM because:
(a) single lock on the timer lists,
(b) single process to purge/free all transactions,
(c) single process running all failure routes (with all script complexity of failure routes).
This patch addresses all the above problems allowing multi-locking and multi-processing for the the overall timer concept in TM.
Existing "own_timer_proc" module parameter extended from boolean value to an integer value : 0 - no separate timer proc for TM; 1 - one separate timer proc for TM; n - multiple timer procs for TM.
More information about the Devel
mailing list