Facebook goes open source with its workhorse embedded data store

Facebook's RocksDB is an embeddable, persistent key-value store designed for fast reads and writes

By , IDG News Service |  Software

Continuing its practice of sharing internally developed software, Facebook has released as open source RocksDB, the embedded data store the company developed to serve content to its 1.2 billion users.

The company has posted the code for the database on Github, in hopes that others, both in industry and the academic community, will refine the software. With Facebook's emphasis on scalability, RocksDB may be of interest to other Internet services and enterprises that are building high-traffic apps for customers and employees.

In its newfound liberation, RocksDB joins other software that Facebook has released as open source. Facebook has posted the source code this year for the HipHop PHP virtual machine, the Presto query engine, the Flashcache caching software, and the Corona Hadoop scheduler, all of which were developed in-house.

RocksDB is not a full database of either a SQL or NoSQL variety. It has no indexing capabilities nor can it parse SQL queries. The software is a persistent key-value store designed to quickly serve material to users, according to a blog post by Dhruba Borthakur, an engineer on Facebook's database engineering team. It can also write or delete material to a database, but offers no advanced parsing capabilities.

Written in C++ as a library, RocksDB can be embedded into other applications, particularly those that need access to large sets of data with very low latency, such as a spam detection application or a search engine.

RocksDB is actually a fork of Google's LevelDB, a simple non-SQL data store for reading, writing and deleting data. Facebook, however, found that LevelDB did not perform well with data sets that could not fit into the server's working memory, so engineers modified Google's open-source code.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

SoftwareWhite Papers & Webcasts

Webcast On Demand

HP DevOps KnowledgeVault

Sponsor: HP

See more White Papers | Webcasts

Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Ask a Question
randomness