[Asterisk-java-users] Handling parallel requests to AgiScript.service() method
Brought to you by:
srt
From: Satya P. <sat...@dh...> - 2008-06-17 23:12:00
|
Hello I'm setting up IVR using fastagi. I have to execute some business logic during the IVR flow I'm wondering how to handle parallel requests that come to service method. I guess at runtime a single instance of the AgiScript will serve all requests, please confirm If so, I should make my business logic thread safe, but I'm afraid that slows down the calls. What is advisable to handle parallel requests? Can I use Queues, but the AgiChannel is not Serializable Thanks for any pointers Satya |