YCSB/tarantool
Sean Busbey af424b083d [version] update master branch to 0.14 2017-09-21 21:00:41 -05:00
..
src/main [core] Fixing squid:S1319 - Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList". 2017-08-05 15:26:42 -07:00
README.md [licensing] Added ASLv2 headers to files without them. 2015-08-07 10:49:16 -07:00
pom.xml [version] update master branch to 0.14 2017-09-21 21:00:41 -05:00

README.md

Tarantool

Introduction

Tarantool is a NoSQL In-Memory database. It's distributed under BSD licence and is hosted on github.

Tarantool features:

  • Defferent index types with iterators:
    • HASH (the fastest)
    • TREE (range and ordered retreival)
    • BITSET (bit mask search)
    • RTREE (geo search)
  • multipart keys for HASH and TREE indexes
  • Data persistence with by Write Ahead Log (WAL) and snapshots.
  • asynchronous master-master replication, hot standby.
  • coroutines and async. IO are used to implement high-performance lock-free access to data.
    • socket-io/file-io with yeilds from lua
  • stored procedures in Lua (Using LuaJIT)
  • supports plugins written on C/C++ (Have two basic plugins for working with MySQL and PostgreSQL)
  • Authentication and access control

Quick start

This section descrives how to run YCSB against a local Tarantool instance

1. Start Tarantool

First, clone Tarantool from it's own git repo and build it (described in our README.md):

cp %YCSB%/tarantool/conf/tarantool-tree.lua <vardir>/tarantool.lua
cp %TNT%/src/box/tarantool <vardir>
cd <vardir>
./tarantool tarantool.lua

OR you can simply download ans install a binary package for your GNU/Linux or BSD distro from http://tarantool.org/download.html

2. Run YCSB

Now you are ready to run! First, load the data:

./bin/ycsb load tarantool -s -P workloads/workloada

Then, run the workload:

./bin/ycsb run tarantool -s -P workloads/workloada

See the next section for the list of configuration parameters for Tarantool.

Tarantool Configuration Parameters

'tarantool.host' (default : 'localhost')

Which host YCSB must use for connection with Tarantool

'tarantool.port' (default : 3301)

Which port YCSB must use for connection with Tarantool

'tarantool.space' (default : 1024)

(possible values: 0 .. 255)

Which space YCSB must use for benchmark Tarantool