
This patch brings together oslo.cache, oslo.config, and stevedore to provide pluggable, hierarchical catalogue caching for marconi proxy. Here's the list of changes: - add configuration/driver loading at the app level - remove select from proxy storage driver - unnecessary intelligence at storage layer - node.weighted_select -> partition.weighted_select (clearer name) - forwarding logic further refactored, placed in own module - caching logic placed in lookup module - selector passed down at app level to handle round-robin state globally * open to becoming configurable - adds several TODOs for a better proxy Change-Id: I3bc568315e685486d63cdce3ec278c89e3f2b2bc Implements: blueprint placement-service
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%