This post will discuss how to get RocksDB from Docker containers to use with Percona Server for MongoDB.
With our Percona Server for MongoDB 3.2 release, we made RocksDB a first class citizen. With this newly-available engine, we want to make it easy for everybody interested to try it. So it is now available in docker images from https://hub.docker.com/r/percona/percona-server-mongodb/.
If you have docker running, starting RocksDB is very easy:
1 docker run -d -p 27017:27017 percona/percona-server-mongodb --storageEngine=rocksdb
Then run:
1 |
mongo --eval "printjson(db.serverStatus())" |
You should see this as part of the output:
1 2 3 4 5 |
"storageEngine" : { "name" : "rocksdb", "supportsCommittedReads" : true, "persistent" : true }, |
Give it a try, and let us know how RocksDB works for you!
Does it or the previous 3.08 version support ssl?
Jason,
I do not see a reason why ssl would not work.
ssl works fine, thanks. but percona/percona-server-mongodb is only 3.0.8. there is no 3.2 version in the docker repo. it would be very helpful if you would publish one.
@Jason,
Thanks,
I added percona-server-mongodb:3.2 and updated percona-server-mongodb:3.0.12