The events will be shared amongst a group of browsers. I'm under the impression that MSMQ is a decent bit of infrastructure to install and runs it's backend on sql server. Are there any lightweight data structures that will allow the same functionality?
-Mark On Tue, Jul 29, 2008 at 11:19 AM, Brady Kelly <[EMAIL PROTECTED]> wrote: >> I am programming an AJAX based app, and I need to create a server-side >> event queue. Each browser will be polling the server for new events >> and passing the last EventID that it has received. I need a data >> structure that can be queried for any eventid greater than the one >> being supplied by the browser. Also, the event queue can expire >> certain events once all of the browsers have received them, or to make >> it simpler, it could just be a rolling window of the last 20 events. >> I haven't done any programming with messaging queues before, so I'm >> totally at a loss as to where to start. Any help would be greatly >> appreciated. >> >> Thanks, >> Mark > > I've done only minimal work with MSMQ, but I think that's what you'd want > here. It's all ready to go, so all you have to do is handle iterative > peeking until the EventID is reached. You failed to mention whether the > events are specific to each browser or shared. > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com