Hi Peter,
Thanks for your help, it's good to have a real case like yours, makes me feel more confortable. :-)
 
With my best regards,
Michele

Peter Beckman <[EMAIL PROTECTED]> wrote:
On Wed, 26 Jan 2005, michele munro wrote:

> I was trying to optmize my actual process of sending SMS, to be able to
> send bulk SMS avoiding the use of a large amount of sockets connected to
> the port 13013 of my kannel smsbox.
>
> My actual php process for sending sms to smsbox is doing the following steps:
>
> 1- Validates the request for sending an SMS.
>
> 2- Inserts the SMS request id into the datadabase (an autoincrement id
> that corresponds to the smsid).
>
> 3- Sends the sms to the smsbox (an http get request to Kannel
> http://IP/cgi-bin/sendsms), using also the dlr mask and the dlrurl:
> http://IP/mydlr.php?smsid... so that Kannel can correlate the right DLR
> to the right smsid.
>
> So far so good! My question now , is when I have thousands of sms
> requests to send, which means thousands of get http and so thousands of
> sockets opened to 13013. How can avoid this? Is this going to degrade my
> HTTP server performance? How can I have only one smsbox socket 13013
> opened while I'm sending bulk sms?

It won't degrade your separate HTTP server performance (ie. Apache running
on port 80/443). Since you are connecting probably to local.ip or
localhost TCP sockets shouldn't be too big of a worry, so no, probably no
degredation. We are using DLR urls as well, doesn't seem to be a problem.

We are sending 16,000+ messages a day through kannel with no sweat, using
the 13013 HTTP port.


---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'

Reply via email to