微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

tstdb keyvalue数据库

程序名称:tstdb

授权协议: Apache

操作系统: Linux

开发语言: C/C++

tstdb 介绍

tstdb是一种基于日志重放机制的memcached兼容的key-value数据库,可用于需要缓存数据落地的一些场合。

它兼容memcached的客户端(支持get,set和delete命令),支持value过期设置。读写性能与memcached接近。日志重放速度很快,作者测试时一亿数据的reloading(key:10bytes
,value: 20 bytes)只需要2分钟,内存占用2.1G。

Introduction

1. keys are loaded into memory, and are organized as a ternary search tree

2. big values are stored on disk-based log; no disk IO for reading small
values, which are less than 8 bytes

3. log file and hint file are used to reload data when restarting db server

4. very fast! both the qps and data reloading speed.

5. a memcached compatible server.

Todo LIST:

supporting prefix searching.

Have a look

http://code.google.com/p/tstdb/source/browse/

Download

tstdb_0.2.tar.gz

Install

epoll is needed!

tar -xzf tstdb_0.2.tar.gz
cd tstdb
make

run the server: ./tstserver

show help./tstserver -h

Performance

the performance is comparable to memcached.

you cat test it by yourself.
benchmark

tstdb 官网

http://code.google.com/p/tstdb/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐