ROMAと他NOSQLのベンチマーク比較(redis, levelDB, RocksDB)

# 検証しているNOSQL
- RocksDB
- levelDB
- redis
- ROMA(memory mode)
- ROMA(Tokyo Cabinet)
- ROMA(Groonga)

![roma-benchmark-logo.png](https://qiita-image-store.s3.amazonaws.com/0/103558/cf1cb1e6-6e16-2f85-768f-115a9853d732.png)

# 条件
## ベンチマーク環境
<table>
	<tbody>
		<tr>
			<td>Operating System</td>
			<td>CentOS Release 6.5</td>
		</tr>
		<tr>
			<td>Kernel</td>
			<td>2.6.32-431.el6.x86_64</td>
		</tr>
		<tr>
			<td>CPU</td>
			<td>Intel(R) Xeon(R) CPU X5650 @ 2.67GHz - 2 cores</td>
		</tr>
		<tr>
			<td>RAM</td>
			<td>4 GB</td>
		</tr>
		<tr>
			<td>NIC</td>
			<td>1.25 Gb/s</td>
		</tr>
		<tr>
			<td>Hardware Type</td>
			<td>VMWare Hypervisor base Virtual Machine</td>
		</tr>
		<tr>
			<td>BenchMark Tool</td>
			<td>Yahoo Cloud Service Benchmark(YCSB) tool</td>
		</tr>
	</tbody>
</table>

## 使用するデータ
<table>
	<tbody>
		<tr>
			<td>Record description</td>
			<td>Each record consisted of 10 string fields, each 10 bytes long and with a 2-byte name</td>
		</tr>
		<tr>
			<td>Record Size</td>
			<td>120 bytes</td>
		</tr>
		<tr>
			<td>Key Description</td>
			<td>The key was the word "user" followd by a 64 bit FowlerNoll-Vo hash4(indecimal notation)</td>
		</tr>
		<tr>
			<td>Key Size</td>
			<td>23 bytes</td>
		</tr>
	</tbody>
</table>

# Result
## Read Only Test
### Latency
![WorkloadCLatency.png](https://qiita-image-store.s3.amazonaws.com/0/103558/eb2ac9db-4d69-5db8-020c-f529a5854f0c.png)
![WorkloadCLatency-column.png](https://qiita-image-store.s3.amazonaws.com/0/103558/e46bd99a-5e48-e6c0-55f9-7f38f6caafbf.png)

### Throughput

![WorkloadCThroughput.png](https://qiita-image-store.s3.amazonaws.com/0/103558/b175cc65-910a-fec8-99fb-caee5ea09c13.png)
![WorkloadCThroughput-column.png](https://qiita-image-store.s3.amazonaws.com/0/103558/39019491-5b25-6ccd-9050-386c7ac3b1b6.png)

## Large DATA test
### INSERT
![WorkLoadD-Insert-ExecutionTime.png](https://qiita-image-store.s3.amazonaws.com/0/103558/5862f08e-7738-5261-6c5e-b0be5cf7b6ec.png)
![WorkLoadD-Insert-Throughput.png](https://qiita-image-store.s3.amazonaws.com/0/103558/b738e4db-bf9a-9ad3-d656-3c4c0cd4f905.png)
![WorkLoadD-Insert-DataSize.png](https://qiita-image-store.s3.amazonaws.com/0/103558/2a6b86e6-5e78-8f60-6d04-0bbf178df331.png)
![WorkLoadD-Insert-Latency.png](https://qiita-image-store.s3.amazonaws.com/0/103558/7ffabe1a-b09f-3db7-2521-954b373772b8.png)

### READ
![WorkLoadD-Read-ExecutionTime.png](https://qiita-image-store.s3.amazonaws.com/0/103558/8149799a-76de-ff9f-d4d3-4e0607fb7021.png)
![WorkLoadD-Read-Throughput.png](https://qiita-image-store.s3.amazonaws.com/0/103558/b56d523f-cbd1-a1ae-6d3b-3b1c53cb094f.png)
![WorkLoadD-Read-Latency.png](https://qiita-image-store.s3.amazonaws.com/0/103558/6ecf19ee-507a-6f31-73ba-fbe969d88b1e.png)

### UPDATE
![WorkLoadD-Update-ExecutionTime.png](https://qiita-image-store.s3.amazonaws.com/0/103558/875ffa47-b987-1866-a4e5-74624a71bae5.png)
![WorkLoadD-Update-Throughput.png](https://qiita-image-store.s3.amazonaws.com/0/103558/c94c9bbd-ca47-eea2-b57f-b892b607ca79.png)
![WorkLoadD-Update-Latency.png](https://qiita-image-store.s3.amazonaws.com/0/103558/84ce47f9-3706-da56-1ec7-b764e0faa7de.png)

# 参照URL
ROMA Blog: http://roma-kvs.org/blogs/blog-entry-8.html