<p>The event interface is working in a synchronous mode (the events are handled inside the same process that are issued/received).<br>
It would be good to have the ability to define two type of events:</p>

<ul class="task-list">
<li>synchronous events (existing implementation);</li>
<li>asynchronous events.</li>
</ul><p>The async events should be handled by a pool of workers dedicated to this task and event dispatching over the pool of workers should be configurable:</p>

<ul class="task-list">
<li>round robin;</li>
<li>hash over a PV (to ensure that events for a specific task are handled sequentially by the same worker).</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/251">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODcyMDEyMiwiZGF0YSI6eyJpZCI6MzQ5NTgzMTZ9fQ==--c614d77415f12e86f7c98ab201e7d39dee4474fd.gif" width="1" /></p>