CloudServices/Sagrada/Queuey: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 245: Line 245:
added to a queue that multiple clients may be watching, and each message
added to a queue that multiple clients may be watching, and each message
will be given to an individual client.
will be given to an individual client.
Optionally, the client can 'reserve' a message to indicate it would like it,
and if the client does not verify that it has successfully handled the message
it will be put back in the queue or to a fail/retry queue if desired.


Requirements:
Requirements:
Line 320: Line 316:
             'created': 1322521547
             'created': 1322521547
         }
         }
= Use Cases =
== Notifications ==
The new version of [[Services/Notifications/Push|Notifications]] will use the
MQ to store messages for users from various websites and allow users to poll
the MQ directly for new notifications they have allowed.
* Internal app add's messages to a queue by queue name
* Internal app can delete queues by name
* Devices can read a queue by name
* Devices can read the X most recent messages
* Devices can read messages since XXX
* Messages are encoded as JSON
== Socorro ==
Socorro is Mozilla's crash reporting service, receiving in excess of 8 thousand
crashes per second during peaks. The MQ will be utilized to hold crash reports as
they come in, and used by consumers to process the crash reports.
* Application Key and Application Queue's will be created during setup.
* Webheads will be adding messages to the queue by queue name, with enough parititons
  setup for the various consumers.
* Consumers will process crashes off the queues


= Design Background =
= Design Background =
Confirmed users
192

edits

Navigation menu