kgriffs fb4b34d0ee fix(mongodb): Remove $or clause used to claim messages
The $or clause was removed from one of the queries in
ClaimController.create() because it is no longer necessary,
and makes the query slower than it would otherwise be.

Mongo will just use the _id_ index now, which should be fine
since scanning a small set of messages by c.e is fast.

Change-Id: Ifcb918ef66d072a10690ad49406f4a787e84becd
Implements: blueprint bp/api-perf-tuning
2013-09-20 10:16:41 -05:00
2013-09-19 10:55:22 -04:00
2013-08-14 16:10:08 -05:00
2012-11-01 09:52:20 +01:00

Marconi

Message queuing service for OpenStack

Running a local Marconi server with MongoDB

  1. Install MongoDB

  2. Start a MongoDB instance:

    mongod
  3. Clone the Marconi repo:

    git clone https://github.com/stackforge/marconi.git
  4. cd to your local copy of the repo

  5. Copy the Marconi config files to the directory ~/.marconi:

    cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.conf
  6. Find the [drivers:storage:mongodb] section in ~/.marconi/marconi.conf and modify the URI to point to your local mongod instance:

    uri = mongodb://localhost
  7. Run the following so you can see the results of any changes you make to the code, without having to reinstall the package each time:

    python setup.py develop
  8. Start the marconi server:

    marconi-server
Description
OpenStack Messaging (Zaqar)
Readme 46 MiB
Languages
Python 96.1%
PHP 1.5%
Shell 1.2%
HTML 0.8%
Lua 0.3%