Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] XML Feeds vs SQL Queries

From: Len Bullard <len.bullard@---.--->
To: Jonathan Robie <jonathan.robie@------.--->
Date: 8/8/2007 9:24:00 PM
Ok, I will reveal my massive ignorance but that's fine.  I was considering
the tradeoffs between querying the database to find anything new versus
polling the directory and having the database publish when it changes since
it will know.   The question seems to turn on where the most cycles are
being consumed: polling and file i/o vs querying on a scheduled basis.   In
ASP (another MSThrall gig), there are timers for refreshing a control so
hooking that up and querying is quite easy even for me.  OTOH, RSS readers
also handle that nicely.

I am somewhat stuck with the solutions I proposed, but for the sake of
learning and keeping signal high here on the big list, why is a messaging
system better?  

len

(Personal Note:  It is good to be back on the ground level of software
instead of schlepping answers back and forth among writers and managers in
the executive suites.)

From: Jonathan Robie [mailto:jonathan.robie@r...] 

Hi Len,

I think of both feeds and SQL queries as pull technologies - the user 
checks the feed to see if there's anything new, or does a query to see 
if there's anything new.

For this kind of push application, I'd be more inclined to use a 
messaging system that has both guaranteed delivery and really good 
performance. One of my current hobby horses is the AMQP protocol, which 
will be supported by Red Hat Messaging, an open source implementation 
for enterprise level applications. Early versions are available to 
download and play with.

Check it out here:

http://labs.jboss.com/rhmessaging/
http://rhm.et.redhat.com/page/Getting_Started_With_RHM

Jonathan
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent