|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
News
News
News
|
Messages: 12
Messages: 12
Messages: 12
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
Amazon Simple Queue Service announced
Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly scalable hosted queue for storing messages as they travel between computers. By using Amazon SQS, developers can move data between distributed application components performing different tasks, without losing messages or requiring each component to be always available.
The following operations are provided:- CreateQueue: Create queues for your own use, or to share with others.
- ListQueues: List your existing queues.
- DeleteQueue: Delete one of your queues.
- SendMessage: Add any data entries to a specified queue.
- ReceiveMessage: Return one or more messages from a specified queue, which are returned in roughly the same order it was added to the queue.
- DeleteMessage: Remove a message from a specified queue.
- PeekMessage: Return a specific entry from the queue without locking it.
- SetVisibilityTimeout: Control the amount of time after a message has been read that is locked from being read again.
- AddGrant: Allow other users to send messages to or receive messages from your queue.
The pricing is simple: $0.10 per 1,000 messages sent ($0.0001 per message sent), and $0.20 per GB of data transferred.
The code looks quite straightforward. From the Enqueue sample, here's the actual sending code (after some setup that includes authentication data):// Authenticating the Request SignRequestHandlerHMAC.setWSSecurityInfo(AWSAccessKeyId, SecretAccessKey); // Create a QueueService object, a Queue QueueService service = getQueueService( url ); // Create the message queue object MessageQueue msgQueue = getMessageQueue( service, queueName ); String msgId = msgQueue.sendMessage( message ); What do you think of the product and its implementation?
|
|
Message #213729
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Very cool
I applaud them. This is another long-term bet on their part to provide basic infrastructure for internet-based distributed applications. You'd have to send a LOT of messages to get anywhere near the cost of a WebSphere MQ license! :-)
|
|
Message #213731
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Confused
What would prompt any money making real-world business to use this? This may be attractive to freelance developers trying to build the next bittorrent/search-engine, but it would be tough to make money from.
Bad from a shareholder perspective.
|
|
Message #213737
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Confused
It's a very lightweight way to set up reliable messaging between two different businesses. I can see the OSS frameworks like Django/Rails using this as one possible lightweight messaging impl.
|
|
Message #213738
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Amazon Simple Queue Service announced
I guess developers would have to build their own transaction controls on top of this API?
thanks Johan
|
|
Message #213746
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Confused
Simple, it doesn't cost them much if anything to provide the service.
Amazon is basically exposing the services it already uses in house out to the public. It already has a customer service arm set up to handle its file storage service, as well as to support developers who want to interact with Amazons store APIs.
Adding this ability costs them essentially nothing.
The benefit of it is that it makes ad hoc integration easy from disparate sources. Now you can use a queuing service that scales and is trivial to set up to integrate the two PHP apps you have running at GoDaddy (or whatever $5 host you're using).
Now you can make micropayments for infrastructure rather than hosting and maintaining all of it your self.
|
|
Message #213761
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Very cool
This service is available since a year or more. Have there been any significant improvements since it was first announced?
|
|
Message #213819
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Amazon Simple Queue Service announced
I worry about privacy concerns. Now amazon can sniff the data and wonder how they might use to futher their own agenda.
|
|
Message #213827
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Amazon Simple Queue Service announced
I worry about privacy concerns. Now amazon can sniff the data and wonder how they might use to futher their own agenda.
Ever heard of encryption? Of course you should worry about confidentiality when using external services... but it should go without saying that it's not very different from worrying about your ISPs sniffing the traffic.
|
|
Message #213848
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Can we use XML here?
Why oh why can't you write the screen of code necessary to do this with a database table? what's the point of this acronym mess? help me understand how you "architects" think, I don't think you people do.
|
|
Message #213864
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Amazon Simple Queue Service announced
I guess developers would have to build their own transaction controls on top of this API?
thanks Johan
Very well asked. I guess thats why it is named "Simple Queue Service" and hey, how hard can implementing transactions be ? ;-)
|
|
Message #213884
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Can we use XML here?
What if you don't have a database in your system? Maybe I want to hook up several Swing rich clients on separate continents via a queue. This service has the potential to unlock new types of low-cost deployments.
You might consider spending less time insulting others and more time thinking.
|
|
 |
New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com |
 |
 |
Reza Rahman continues to explore the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(January 21, Article)
Ted Neward is an independent consultant specializing in high-scale enterprise systems, and an authority in Java and .NET technologies. He is the author and co-author of several books, including Effective Enterprise Java. At TheServerSide Java Symposium in March, he will be presenting sessions on pragmatic architecture, ECMAScript and Scala.
(January 15, Article)
Now that Oracle is absorbing Sun Microsystems, there mixed views on what should come of the Java Community Process (JCP). While some say Oracle should become the new steward of Java and keep the JCP much as it was, others argue that it may be time to open-source this widespread language.
(November 24, Article)
Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(November 2, Article)
SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options.
(September 28, Article)
Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team.
(September 22, Article)
Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies.
(July 14, Article)
JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags.
(June 29, Article)
In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project.
(June 23, Tech Talk)
Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now.
(June 15, Tech Talk)
In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements.
(June 15, Tech Talk)
In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls.
(June 4, Tech Talk)
Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable.
(May 28, Tech Talk)
This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work.
(May 26, Tech Talk)
Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers.
(May 21, Tech Talk)
Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application.
(May 19, Article)
Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)
The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)
|
|