66366 members! Sign up to stay informed.

Sponsored Links


Resources

.NET Research Library
Get .NET related white papers, case studies and webcasts

News News News Messages: 6 Messages: 6 Messages: 6 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

New Message Queuing Service from Amazon

Posted by: Paul Ballard on November 05, 2004 DIGG
Amazon has launched a beta of their new, shared, always on message queue service allowing developers to create applications distributed across the Internet without requiring a dedicated server to store the message. Implemented as a web service with examples in .NET (C#), this service is free to developers while in beta.
The Amazon Simple Queue Service offers a reliable, highly scalable hosted queue for buffering messages between distributed application components.

The web service API is fairly simple and includes the following functions:
  • CreateQueue: Create queues for your own use, or to share with others.
  • ConfigureQueue: Modify the properties of an existing queue.
  • ListMyQueues: List your existing queues.
  • DeleteQueue: Delete one of your queues.
  • Enqueue: Add any data entries up to 4 KB in size to a specified queue.
  • Read: Return data from a specified queue. No data-key is required, and data is returned in roughly the same order it was added to the queue.
  • Dequeue: Remove a specified piece of data from a specified queue.

Read more about the Amazon Simple Queue Service here.

Threaded replies

·  New Message Queuing Service from Amazon by Paul Ballard on Fri Nov 05 02:07:11 EST 2004
  ·  New Message Queuing Service from Amazon by Brendan Tompkins on Fri Nov 05 14:24:20 EST 2004
    ·  New Message Queuing Service from Amazon by bob farmer on Sat Nov 06 13:58:55 EST 2004
      ·  New Message Queuing Service from Amazon by Nick Minutello on Mon Nov 08 18:57:31 EST 2004
        ·  New Message Queuing Service from Amazon by bob farmer on Mon Nov 08 23:06:41 EST 2004
          ·  Server Side Content by Jesse James on Fri Jun 05 12:23:44 EDT 2009
    ·  why? by neill jordan on Mon Nov 08 13:04:41 EST 2004
  Message #145169 Post reply Post reply Post reply Go to top Go to top Go to top

New Message Queuing Service from Amazon

Posted by: Brendan Tompkins on November 05, 2004 in response to Message #145061
This service is free to developers while in beta.

Can I also offer another free alternative, Web Service Message Queue (WSMQ) There is no hosted option, but the source code is free, as is the installation, and samples. .NET Framework is required.

This is great that the world is beginning to think of Web-Services for Queuing!

  Message #145285 Post reply Post reply Post reply Go to top Go to top Go to top

New Message Queuing Service from Amazon

Posted by: bob farmer on November 06, 2004 in response to Message #145169
That all sound great until I read:
Applications should be prepared for the event where the same message is read more than once from the queue. In particular: A message may be returned by Read even though it has already been dequeued; and concurrent Read calls may return the same message to multiple readers. This behavior is a result of prioritizing reliable data storage (even in the face of hardware failures), and we expect such events to occur very infrequently. One way applications can cope with these occasional duplicates is by making the messages stored in the queue idempotent – that is, by ensuring that the effect of repeated receipt of a message is the same as that of receiving it once.

This restriction makes it fairly unusable for a wide range of applications. E.g. if I have setup multiple message consumers who read messages from a queue and send emails/SMS etc., the "ideal" of a idempotent message queue cannot be achieved (or only by putting another message queue in between that supports different consumption models - which would defeat the purpose).

Is there any intent to deal with this issue?

  Message #145410 Post reply Post reply Post reply Go to top Go to top Go to top

why?

Posted by: neill jordan on November 08, 2004 in response to Message #145169
Just curious as to why amazon would be offering this service. It doesn't seem to have much to do with retail sales. Any ideas?

  Message #145430 Post reply Post reply Post reply Go to top Go to top Go to top

New Message Queuing Service from Amazon

Posted by: Nick Minutello on November 08, 2004 in response to Message #145285
This restriction makes it fairly unusable for a wide range of applications

Even if the messaging implementation can guarantee once and only once delivery, in reality, a lot of applications still need to be able to deal with duplicate messages.

Even with once and only once delivery semantics, there is usually the case the the message producers are capabable of producing duplicate messages...

Ultimately, with messaging, its not possible to scale (storage and bandwidth) and provide seemless failover and provide Once And Only Once delivery semantics. Something has to give...

-Nick

  Message #145441 Post reply Post reply Post reply Go to top Go to top Go to top

New Message Queuing Service from Amazon

Posted by: bob farmer on November 08, 2004 in response to Message #145430
This restriction makes it fairly unusable for a wide range of applications
Even if the messaging implementation can guarantee once and only once delivery, in reality, a lot of applications still need to be able to deal with duplicate messages.Even with once and only once delivery semantics, there is usually the case the the message producers are capabable of producing duplicate messages...Ultimately, with messaging, its not possible to scale (storage and bandwidth) and provide seemless failover and provide Once And Only Once delivery semantics. Something has to give...-Nick

Nick, from what I recall is you are fairly with JMS. I understand that from a producer side you cannot prevent duplicate messages. From a consumer side messaging should be fairly capable of scaling and failover, right? I tinkered around for a while with OpenJMS and that worked very well (with fairly small messages in a PTP queue which require very time/processor extensive processing). What are the problems here? Is it the ack?

I think the same would be nice in the amazon example. You receive a message from a queue (which locks it), process it and when you're done you either acknowledge successful execution (ie deleting the message) or you "rollback" (ie unlock it).

  Message #309756 Post reply Post reply Post reply Go to top Go to top Go to top

Server Side Content

Posted by: Jesse James on June 05, 2009 in response to Message #145441
Everything here ties in strongly to the current state of the anti-spyware server side economy. It's clear that norton 360 3.0 2 year subscription coupon codes and voucher codes are the best way to save money these days on the internet. It's becoming increasingly clear that free downloading of pc tools is a major element when assessing the money saving value of PC Tools Anti Spyware. The same concerns come into play with the coupon codes and symantec norton 360 antivirus voucher codes seen in Norton 360 3.0 Voucher which is why saving money with coupon codes and voucher codes is so important these days for pc tools promotional discounts with norton 360 server side.

 
New content on TheServerSide.NETNew content on TheServerSide.NETNew content on TheServerSide.NET

DSLs and language interop

Language "mashups" will become more prominent, and developers will become polyglots, one programmer suggests.

VS 2008 Resources

SearchWinDevelopment.com offers an introduction to the language, performance, testing and data management improvements in VS 2008.

VB code downloads home

VBCode.com code snippets cover all aspects of application development, from data binding to security to the user interface.

XAML Learning Guide

Get up to date on XAML best practices with a variety of articles, tutorials and webcasts. [SearchWinDevelopment.com]

Company uses VSTS DB edition to tame workflow

One team's experience with the VSTS DB edition suggests that it can improve workflow for dev teams. It also enhanced Agile efforts. (June 24, Article)

Book: Intro to DSL Tools

Microsoft has begun to include DSL tools in the VSTS kit. A new book by Steve Cook and other VSTS team members helps set the stage. (June 24, Article)

I See the Silverlight Shining!

Cartoon: Be it ever so humble there is no place like your home after you get a Microsoft Home Server . (June 18, Cartoon)

A look at .NET 3.5

Microsoft's Thom Robbins says new technology to highlight in NET 3.5 includes AJAX, LINQ for both C# and VB, as well as tooling enhancements intended to ease the task of building WPF, WF and WCF apps. (June 29, Podcast)

Venkat Subramaniam on AJAX

Venkat Subramaniam discusses AJAX bottlenecks, the tenets of Agile development and more. He spoke at the Ajax Experience. (June 25, Tech Talk)

Building a Claims-Based Security Model in WCF - Part 2

In the second of a two-part series, Michele Leroux Bustamente discusses design decisions related to the claims-based security model. Read the story and walk through the process for creating a set of claims-based utilities to encapsulate claims authorization at the service tier. (May 24, Article)

Introducing the Entity Framework

Understanding why the Entity Framework exists and learning where it can fit into your projects can get you prepared for the eventual release early next year. (May 10, Article)

WCF Security Learning Guide

Resource: This learning guide gives you quick access to useful links on Windows Communication Foundation security information. (April 24, Article)

Brad Abrams: Patterns for successful ASP.NET AJAX development

TSS.NET's Jack Vaughan spoke recently spoke with Microsoft's Brad Abrams to find out what he is seeing in the field and what the chefs in Redmond are cooking. Along the way he discusses patterns of AJAX frameworks. (April 11, Article)

Building a Claims-Based Security Model in WCF

In a two-part series, Michele Leroux Bustamente explains how claims-based security is supported by WCF, and how you can implement a claims-based security model for your services. (March 29, Article)

Authoring workflow using XAML

Windows Workflow Foundation is a new technology that many developers will need to get their heads around. In a brief excerpt adapted from Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#, K.Scott Allen considers aspects of workflow definition. (March 22, Chapter Excerpt)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map