< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Threading model


        There is presently no way to multi-thread the transaction-processing.

Best regards,
Byron Campen

Thanks Byron,

So is there no way to make it so that the stack uses a thread pool rather than having one thread doing all the work for all incoming messages?


Byron Campen wrote:
You can have multiple threads calling receive, sure. But, unless your threads are doing some pretty heavy lifting, having lots of them won't be all that advantageous (you'll end up with the stack thread taking up one CPU, and a handful of threads doing very little compared to the stack thread). Also, if you ever need to correlate an incoming message with one received previously, having the incoming stuff randomly scattered across multiple threads will probably not work to your advantage.

Best regards,
Byron Campen


_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/

Attachment: smime.p7s
Description: S/MIME cryptographic signature