Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to implement persistence to unix queues?

Status
Not open for further replies.

lalithamenon

Programmer
May 8, 2003
1
US



My application developed in unix has many processes and they talk to each other thru unix message queues.
unix queues are not file persistent.So when the server goes down all on a sudden ,all these queues(resources) are also cleared and as a result the packets in them are also lost.

I want to know what is the best way to provide persistence to the packets, so that every packet is guaranteed delivery?

Can anyone help?


 
Hi,

I would suggest that you need a process that organises the passing of messages between different processes - this manager process would have to receive all messages and store them in a database - only deleting them when the message has been sucessfully received.

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Hello, lalithamenon.

You could think in comunicate your process using a middleware like tibco or tuxedo.

Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top