README.md 945 字节
Newer Older
K
KernelMaker 已提交
1
# Pika
K
KernelMaker 已提交
2
## Introduction [中文] (https://github.com/baotiao/pika/blob/pika2.0/README_CN.md)
T
The Gitter Badger 已提交
3
[![Join the chat at https://gitter.im/baotiao/pika](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/baotiao/pika?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
B
baotiao 已提交
4 5 6 7
Pika is a database that has the same feature as redis. And Pika is compability
with redis client. 

The reason why we develop Pika is to solve redis's memory limitation
Z
Zongzhi Chen 已提交
8

B
baotiao 已提交
9
Pika used Nemo as storage engine, Nemo is developed base on rocksdb.
B
baotiao 已提交
10

B
baotiao 已提交
11
Nemo support multi data structure by using rocksdb's kv port. Such as list,
B
baotiao 已提交
12
hash, zset, set
B
baotiao 已提交
13

B
baotiao 已提交
14
Because rocksdb is using disk, so Nemo don't have capacity limitation.
B
baotiao 已提交
15

B
baotiao 已提交
16 17
The protocol used to contact with Pika is redis protocol, so you don't need to
change your code to migrate to Pika
B
baotiao 已提交
18 19

### Thread Model
B
baotiao 已提交
20

B
baotiao 已提交
21 22
Pika used multi threads model. The main thread accept the request and then send
the request to the work threads.