Reliable message queue?

2004-10-19 Thread Enver ALTIN
Hi,

As far as I can understand, Kannel's current implementation of outgoing
and incoming SMS queue is internal and implemented using the List
structure of gwlib.

This is not good, we can't safely restart processes this way because it
would lose any data in the queue.

I'm wondering if we could implement a MySQL and/or PostgreSQL based SMS
queue, providing a reliable storage to preserve data between sessions.
Just like the DLR code, we would need an abstraction over the real
backend doing the dirty job; to provide a unified interface to the
current queue code, I guess. Nothing trivial, but do you think it's
worth having this?

-HAND
-- 
Enver ALTIN   |http://skyblue.gen.tr/
Software developer @ Parkyeri |  http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


Re: Reliable message queue?

2004-10-19 Thread Kalle Marjola
On Tue, 2004-10-19 at 12:41, Enver ALTIN wrote:
> Hi,
> 
> As far as I can understand, Kannel's current implementation of outgoing
> and incoming SMS queue is internal and implemented using the List
> structure of gwlib.
> 
> This is not good, we can't safely restart processes this way because it
> would lose any data in the queue.
> 
Try enabling store-file

(yes, the current implementation has problems under heavy load. Maybe
I could salvage the better one from NMGW some day.
And in any case, push message can be lost if it is 'in air' between
smsbox and bearerbox unless my patch is applied)

-- 
 &Kalle Marjola ::: Development ::: Helsinki ::: Enpocket




RE: Reliable message queue?

2004-10-19 Thread Paul Keogh
> > 
> > As far as I can understand, Kannel's current implementation of 
> > outgoing and incoming SMS queue is internal and implemented 
> using the 
> > List structure of gwlib.
> > 
> > This is not good, we can't safely restart processes this 
> way because 
> > it would lose any data in the queue.
> > 
> Try enabling store-file
> 
> (yes, the current implementation has problems under heavy 
> load. Maybe I could salvage the better one from NMGW some 
> day. And in any case, push message can be lost if it is 'in 
> air' between smsbox and bearerbox unless my patch is applied)

I think the best solution is to mimic (or use) a JMS style 
transport. There are commercial products that allow you invoke
Java APIs from C code. 




Re: Reliable message queue?

2004-10-19 Thread Enver ALTIN
Hi,

On Tue, 2004-10-19 at 12:50 +0300, Kalle Marjola wrote:
> (yes, the current implementation has problems under heavy load. Maybe
> I could salvage the better one from NMGW some day.

Thanks for pointing this out.

> And in any case, push message can be lost if it is 'in air' between
> smsbox and bearerbox unless my patch is applied)

That's right, but still way better than nothing ;)
-- 
Enver ALTIN   |http://skyblue.gen.tr/
Software developer @ Parkyeri |  http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


Re: sms service behavior

2004-10-19 Thread Oscar Medina Duarte
Hi all !

I still haven't got any reply about this, please help !!

== Oscar

On Sat, 2004-10-16 at 11:22, Oscar Medina Duarte wrote:
> Hello !
> 
> I want to know what is the behavior of the smsbox in an sms service
> configured to do a post, I mean, when the http service is down, what
> would the smsbox do?
> 
> Would it re-attempt until the service is up again?
> How many times ?
> Is this configurable somewhere?
> 
> thanx for you're help !
> 
> == Oscar
> 
> 
>