When K connects to another SIP proxy over TCP or TLS,
the connection is shared for all requests to that destination. If the receiving SIP proxy
is K, it means that only one worker process is handling all those requests. This may
become a bottleneck if processing of requests is time consuming, e.g., because of DB
operations.
It should therefore be possible one way or another to establish more than one parallel
TCP or TLS connections to the same destination. One solution could be based on a function
call, such as t_forward_connect(number), to be called before t_relay specifying the
desired number of parallel connections shared randomly by outgoing requests.
As simple workaround you could map multiple alias / IP addresses to a single NIC? And feed
the dispatcher module with the multiple alias.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1107#issuecomment-587034011