MyRocks Docker Images

DZone 's Guide to

MyRocks Docker Images

Facebook's MyRocks DB is picking up steam! Check out how you can quickly and easily install it and start playing with it through Docker.

· Database Zone ·
Free Resource

In this post, I’ll point you to MyRocks Docker images with binaries, allowing you to install and play with the software.

During the @Scale conference, Facebook announced that MyRocks is mature enough that it has been installed on 5% of Facebook’s MySQL slaves. This has saved 50% of the space on these slaves, which allows them to decrease the number of servers by half. Check out the announcement here.

Those are pretty impressive numbers, so I decided to take a serious look at MyRocks. The biggest showstopper is usually binary availability, as Facebook only provides the source code.

You can get the image from here.

To start MyRocks:

docker run -d --name myr -P  perconalab/myrocks

To access it, use a regular MySQL client:

mysql -h127.0.0.1

From there you should see RocksDB installed:

show engines;
| Engine | Support | Comment | Transactions | XA | Savepoints |
| ROCKSDB | DEFAULT | RocksDB storage engine | YES | YES | YES |

I hope it makes easier to start experimenting with MyRocks!

Related Refcard:

client, code, docker, facebook, images, mysql, percona, source

Published at DZone with permission of Vadim Tkachenko , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}