On 04.03.2008, at 12:24, Alejandro Guerrieri wrote:
Ok, "contribute it GPL'ed to the project", I was meant to make it
available to the project, I don't want to get into a licensing
nightmare, just wanted to give it back to you guys! :)
The purpose of this box is to overcome latency problems that arise
when trying to enqueue thousands of messages, for example from PHP.
I think the problem is not Kannel or HTTP, the problem is your way of
using it in PHP.
If you for example use something like file("http://localhost/
sendsms=...") in php to send an SMS, PHP will stop and wait until
Kannel has respondet to it. After that you can continue. This wont get
you over something like 10 sms/sec. However if you run 10 such PHP
scripts in parallel, you will get 100 sms/sec without any problems. So
the latency is caused by PHP waiting for the reply instead of
continuing and preparing to requeue the next message. Parallelizing is
the margic word here.
So instead of full throttle, you will get stop & go.
My goal is to implement a generic interface able of abstract the
kannel functionality into some languages librarys. In doing it, I
can aim to implement generic (PHP, Perl, Python, etc.) interfaces
for sending messages.
If you are really concerned about performance, you would use a non
interpreted language to send SMS. And if you are even more concerned
about a specific delivery, you would implement SMPP right away in your
code. This eliminiates the abstraction layer of Kannel (while tying
you to SMPP only of course). But if thats stopping you to get to the
performance you need (like > 10'000 sms/sec) then you should do that.
However, up to 1'000 sms/sec, you will have absolutely no problem in
Kannel.
So again. What speeds do you see and what speeds would you need really?
Andreas Fink
Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG
---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331 Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail: [EMAIL PROTECTED]
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
Say NO to Power Line Communications: http://www.youtube.com/watch?v=pdcY0Eetvsw