Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
riak_mongo is a collection of things necessary to make Riak act like MongoDB to the clients
Erlang
tree: 8d00bdf92f

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
deps
ebin
include
priv
src
test
.gitignore
Emakefile
Makefile
README
rebar
rebar.config

README

riak_mongo makes Riak look like Mongo. In the first step, it will allow Mongo drivers to seamlessly connect to it using Mongo Wire Protocol and to map to the underlying Riak data store. In the next step it also might be interesting to have a Mongo based Riak backend.

Currently, I'm working on the very basic implementation of the Wire protocol, working my way
through different packet types. Right now, you can get the mongo shell connecting to the
server. I use to do "make dev" after compilation and to call

> riak_mongo:start(temporary, ["127.0.0.1", 32323]).

The mongo shell is called like "mongo --verbose -port 32323". And I get the prompt now,
though ignoring one TCP packet yet. No SSL and no IPv6 yet, just the first basics. Also
the beauty of the code can be discussed, but shouldn't be yet.

The very huge task will of course be to understand and translate to Riak all the
mongo commands. But hey, the first step is done.
Something went wrong with that request. Please try again.