An open source clone of Amazon's Dynamo.
Java C++ Python Shell Ruby M4 Other
Latest commit 37a5a28 Sep 26, 2016 @mattwisein mattwisein Replaced the following instances with http://www.project-voldemort.com
…since urls don't resolve from some places

$ grep -r 'http://project-voldemort' .
./clients/python/setup.py:      url='http://project-voldemort.com',
./NOTES:For the most up-to-date information see http://project-voldemort.com
./contrib/collections/src/java/voldemort/collections/VStack.java: *        voldemort JSON formats: http://project-voldemort.com/design.php
Permalink
Failed to load latest commit information.
.settings Format only edited lines setting Jan 7, 2015
bin Removed trailing whitespace, made list of partitions sorted by intege… Nov 12, 2015
clients Replaced the following instances with http://www.project-voldemort.com Sep 26, 2016
config Detect and Validate node Ids Jul 19, 2016
contrib Replaced the following instances with http://www.project-voldemort.com Sep 26, 2016
docs Updating omnigraffle for logical architecture Jul 16, 2011
example Polish up the Java Client example Aug 23, 2014
gradle/wrapper Multi module gradle build for voldemort Apr 9, 2016
src Introduced new boolean "readonly.omit.port" server configuration. Aug 29, 2016
test Fix the HintedHandOff flaky tests Jul 20, 2016
voldemort-contrib Dummy directory for injecting custom gradle behavior Jun 6, 2014
voldemort-protobuf Gradle Protobuf shadowed jar Feb 9, 2016
.gitignore Migrate from stores.xml to STORES folder in all example configs Aug 24, 2014
CONTRIBUTORS Update CONTRIBUTORS Jun 20, 2014
LICENSE Add license header to source files. Jan 13, 2009
NOTES Replaced the following instances with http://www.project-voldemort.com Sep 26, 2016
NOTICE Add Avro, Jackson and ParaNamer to NOTICE. Mar 6, 2010
README.md Resolved concurrency push conflict and add unit test, refactor quirky… Mar 10, 2016
build.gradle Upgrade to BDB JE 5.0.104 May 8, 2016
build.xml Fully disabled the Ant build in favor of the Gradle one. Apr 30, 2015
gradle.properties Releasing Voldemort 1.10.22 Sep 20, 2016
gradlew Multi module gradle build for voldemort Apr 9, 2016
gradlew.bat Generate gradle wrapper to work with versions May 30, 2014
release_notes.txt Releasing Voldemort 1.10.22 Sep 20, 2016
settings.gradle Multi module gradle build for voldemort Apr 9, 2016
tomcat-tasks.properties Initial import Jan 2, 2009
web.xml Initial import Jan 2, 2009

README.md

Voldemort is a distributed key-value storage system

Overview

  • Data is automatically replicated over multiple servers across multiple datacenters.
  • Data is automatically partitioned so each server contains only a subset of the total data
  • Server failure is handled transparently
  • Pluggable serialization is supported to allow rich keys and values including lists and tuples with named fields, as well as to integrate with common serialization frameworks like Protocol Buffers, Thrift, and Java Serialization
  • Data items are versioned to maximize data integrity in failure scenarios without compromising availability of the system
  • Each node is independent of other nodes with no central point of failure or coordination
  • Pluggable storage engines, to cater to different workloads
  • SSD Optimized Read Write storage engine, with support for multi-tenancy
  • Built in mechanism to fetch & serve batch computed data from Hadoop
  • Support for pluggable data placement strategies to support things like distribution across data centers that are geographical far apart.

It is used at LinkedIn by numerous critical services powering a large portion of the site. .

QuickStart

You can refer to http://www.project-voldemort.com for more info

Download Code

cd ~/workspace
git clone https://github.com/voldemort/voldemort.git
cd voldemort
./gradlew clean jar

Start Server

# in one terminal
bin/voldemort-server.sh config/single_node_cluster

Use Client Shell

Client shell gives you fast access to the store. We already have a test store defined in the "single_node_cluster", whose key and value are both String.

# in another terminal
cd ~/workspace/voldemort
bin/voldemort-shell.sh test tcp://localhost:6666/

Now you have the the voldemort shell running. You can try these commands in the shell

put "k1" "v1"
put "k2" "v2"
get "k1"
getall "k1" "k2"
delete "k1"
get "k1"

You can find more commands by runninghelp

Want to dig into the detailed implementation or even contribute to Voldemort? A quick git guide for people who want to make contributions to Voldemort.

Comparison to relational databases

Voldemort is not a relational database, it does not attempt to satisfy arbitrary relations while satisfying ACID properties. Nor is it an object database that attempts to transparently map object reference graphs. Nor does it introduce a new abstraction such as document-orientation. It is basically just a big, distributed, persistent, fault-tolerant hash table. For applications that can use an O/R mapper like ActiveRecord or Hibernate this will provide horizontal scalability and much higher availability but at great loss of convenience. For large applications under internet-type scalability pressure, a system may likely consist of a number of functionally partitioned services or apis, which may manage storage resources across multiple data centers using storage systems which may themselves be horizontally partitioned. For applications in this space, arbitrary in-database joins are already impossible since all the data is not available in any single database. A typical pattern is to introduce a caching layer which will require hashtable semantics anyway. For these applications Voldemort offers a number of advantages:

  • Voldemort combines in memory caching with the storage system so that a separate caching tier is not required (instead the storage system itself is just fast).
  • Unlike MySQL replication, both reads and writes scale horizontally
  • Data partioning is transparent, and allows for cluster expansion without rebalancing all data
  • Data replication and placement is decided by a simple API to be able to accommodate a wide range of application specific strategies
  • The storage layer is completely mockable so development and unit testing can be done against a throw-away in-memory storage system without needing a real cluster (or even a real storage system) for simple testing

Contribution

The source code is available under the Apache 2.0 license. We are actively looking for contributors so if you have ideas, code, bug reports, or fixes you would like to contribute please do so.

For help please see the discussion group, or the IRC channel chat.us.freenode.net #voldemort. Bugs and feature requests can be filed on Github.

Special Thanks

We would like to thank JetBrains for supporting Voldemort Project by offering open-source license of their IntelliJ IDE to us.