>  Thxs for the reply. yes..actually i have done that befor using sms-services
>  keyword (defualt). it will capture the sms and call the sms-service then
>  send a email using php script. and also i can send the MSISDN to the email
>  (from address field)  reply will call the HTTP request to the gateway using
>  2 parameters. msg and mobile no..
>
>  but my thought is php is single threaded. one at a time..any comments on
>  that..(gateway will queue the request and send..asynchronous mehtod).

Well, don't use PHP if you don't see it fits. How many concurrent
connections are you expecting? How many transactions per second are
you going to process? These are only some of the metrics that you
didn't mention in your original post (:

Anyway, if you're apprehensive with the threading issues, you can opt
for JAVA. Servlets are multithreaded. Servlet containers automatically
creates a new thread for every servlet request it receives.

When the servlet's done running the the method for the client's
requests, the thread completes and terminates automatically. Servlet
containers does that automatically for you.

Caveat: this doesn't ensure that you're completely off-the-hook for
thread safety - you can still bump into some synchronization issues.

Cheers.

Reply via email to