We see that you are viewing the US version of our website from another country. If you would like to view a local version of our website, please click the link below...

Support: 1-877-934-0407
1-877-934-0409

Contact International Support

You can call from outside the United States for free from these countries.

  • Argentina / 0800-666-3175
  • Brazil / 0-800-892-3931
  • Chile / 1230-020-9016
  • Colombia / 01800-913-1498
  • Mexico / 01-800-099-0216
  • Peru / 0800-55584
  • United States / 1-800-961-4454
  • Venezuela / 0-800-100-4663
  • Rest of Latin America 1-210-312-2329
Additional charges may be incurred if calling within other Latin America countries.

How it works

A single API

Most applications don’t need a queuing or subscriber service—they need both. With Cloud Queues, you get one API to manage two queue models:

Producer-Consumer



Post messages to a queue, retain those messages for up two weeks, and allow workers to claim and delete them when finished.

Producer-Subscriber



Post notifications such as system status and updates to a queue, and allow subscribers to GET messages without claiming them.

Easy to use

Cloud Queues is built off a simple REST API. Here are some basic calls from the Cloud Queues API:


  • Create Queue
  • Post Message
  • Claim Message
  • Example Response


PUT /v1/queues/demoqueue HTTP/1.1
Host: ord.queues.api.rackspacecloud.com
Content-type: application/json
X-Auth-Token: 0f6e9f63600142f0a970911583522217
Accept: application/json
{
}
POST /v1/queues/demoqueue/messages HTTP/1.1
Host: ord.queues.api.rackspacecloud.com
Content-type: application/json
Client-ID: QClient
X-Auth-Token: 0f6e9f63600142f0a970911583522217
Accept: application/json
[
  {
    "ttl": 300,
    "body": {
      "event": "BackupStarted"
    }
  },
  {
    "ttl": 60,
    "body": {
      "play": "hockey"
    }
  }
]
POST /v1/queues/demoqueue/claims HTTP/1.1
Host: ord.queues.api.rackspacecloud.com
Content-type: application/json
Client-ID: QClient
X-Auth-Token: 0f6e9f63600142f0a970911583522217
Accept: application/json
{
  "ttl": 300,
  "grace": 300
}
HTTP/1.1 200 OK
Content-Length: 53
Content-Type: application/json; charset=utf-8
Content-Location: /v1/queues/demoqueue/stats
{
  "messages": {
    "claimed": 2409,
    "free": 146929,
    "total": 149338,
    "newest": {
      "age": 12,
      "created": "2013-08-12T20:45:46Z",
      "href": "/v1/queues/fizbit/messages/50b68a50d6f5b8c8a7c62b01"
    },
    "oldest": {
      "age": 63,
      "created": "2013-08-12T20:44:55Z",
      "href": "/v1/queues/fizbit/messages/50b68a50d6f5b8c8a7c62b01"
    }
  }
}

How to get started


Sign up for the Rackspace public cloud or use your existing account, and provision a Cloud Server (normal charges apply).



Create Queues for producer-consumer or publisher-subscriber models: There is no limit to the number of queues or messages your application can use.



Start posting and claiming messages: See the API documentation for information on message TTL, claim TTL, and other metadata options.

Get fully managed, scalable messaging for your distributed application.

Sign Up Now

Racker Powered
©2014 Rackspace, US Inc.