RE: multiple sessions

2002-05-14 Thread Oded Arbel

IIRC, Kannel does Keep alive, so you can send all the messages on a keep
alive connection - it'll be so much faster since the TCP
build-up/tear-down happens only once per batch.

--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
And remember, when you look into the pit, the pit looks back into you.
 -- Anonymous INTERCAL hacker


 -Original Message-
 From: Chirag [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, May 14, 2002 5:53 AM
 To: [EMAIL PROTECTED]
 Subject: multiple sessions
 
 
 Hi,
 
 I am using Kannel 1.1.5 and i use the url...
 http://127.0.0.1:13013/cgi-bin/sendsms?user=testpass=testto=
 999text=h
 ello
 
 I have written an application which does bulk messaging 
 and hence sends
 1000 sms at a time (one after the other). But the difficulty 
 i am facing by
 using this URL to submit to the kannel is that i have to open 
 and close the
 connection 1000 times is there a  way in which i have to open the
 connection only once, submit all my sms and then finally close the
 connection. Currently, becoz of opening and closing connection
 everytime.i am facing critical performance degradation.
 
 Thanx in advance
 
 Chirag
 
 
 




Re: multiple sessions

2002-05-14 Thread Bruno David Simões Rodrigues

On Tue, 2002-05-14 at 04:52, Chirag wrote:
 Hi,
 
 I am using Kannel 1.1.5 and i use the url...
 http://127.0.0.1:13013/cgi-bin/sendsms?user=testpass=testto=999text=h
 ello
 
 I have written an application which does bulk messaging and hence sends
 1000 sms at a time (one after the other). But the difficulty i am facing by
 using this URL to submit to the kannel is that i have to open and close the
 connection 1000 times is there a  way in which i have to open the
 connection only once, submit all my sms and then finally close the
 connection. Currently, becoz of opening and closing connection
 everytime.i am facing critical performance degradation.

i guess you could send multiple to's using space or you can compile it
with --enable-docs --enable-drafts, check the post-xml information and
send multiple da.

I've sent 200k, 10k at each post (I got http timeout with 100k)

Could you please try it and see if everything is ok with you ?
Specially, check if access.log contains as many messages as the ones you
sent...


 
 Thanx in advance
 
 Chirag