Friday, April 22, 2005

Recently, (and very quietly), Amazon Web Services updated Simple Queue Service to Beta 2. What's new since November's initial release:
  • Random Access to Queue Entries
  • Improved Error Reporting
  • API for Number of Entries in a Queue
  • Entry-Specific Read-Lock

2 comments:

Anonymous said...

Random access to a queue? Doesn't that make it not a queue?

John Cormie said...

No. Enqueue() still puts elements at the front of the queue and Read() still returns elements from the back. However, with beta 2, you can also ReadById() any element irrespective of its position in the queue. Think of it as having a pointer or iterator to an element inside the structure that you can dereference or otherwise operate on.