
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
Marconi
Message queuing service for OpenStack
Running a local Marconi server with MongoDB
Install MongoDB
Start a MongoDB instance:
mongod
Clone the Marconi repo:
git clone https://github.com/stackforge/marconi.git
cd to your local copy of the repo
Copy the Marconi config files to the directory ~/.marconi:
cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.conf
Find the
[drivers:storage:mongodb]
section in ~/.marconi/marconi.conf and modify the URI to point to your local mongod instance:uri = mongodb://localhost
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
Start the marconi server:
marconi-server
Description
Languages
Python
96.1%
PHP
1.5%
Shell
1.2%
HTML
0.8%
Lua
0.3%