• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

pedis: NoSQL data store using the SEASTAR framework, compatible with Redis.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

pedis

开源软件地址:

https://gitee.com/cloudius/pedis

开源软件介绍:

#Pedis (Parallel Redis)

What's Pedis?

NoSQL data store using the SEASTAR framework, compatible with REDIS.

Redis is very popular data structures server. For more infomation, see here: http://redis.io/Seastar is an advanced, open-source C++ framework for high-performance server applications on modern hardware.For more infomation, see here: http://www.seastar-project.org/

Now, the redis commands were supported as follow:

  • Key: DEL, EXISTS
  • String: GET, SET, DECR, INCR, DECRBY, INCRBY, APPEND, STRLEN, MGET, MSET
  • List: LINDEX, LINSERT, LLEN, LPUSH, LPUSHX, LPOP, LRANGE, LREM, LTRIM, LSET, RPOP, RPUSH, RPUSHX
  • Hash: HSET, HDEL, HGET, HLEN, HSTRLEN, HMSET, HMGET, HKEYS, HVALS, HEXISTS, HINCRBY
  • SET: SADD, SMEMBERS, SISMEMBER, SREM, SDIFF, SDIFFSTORE, SINTER, SINTERSTORE, SUNION, SUNIONSTORE, SMOVE, SPOP
  • Other: ECHO, PING

Building Pedis on Ubuntu 14.04

In addition to required packages by Seastar, the following packages are required by Pedis.

Installing required packages:

sudo apt-get install libaio-dev ninja-build ragel libhwloc-dev libnuma-dev libpciaccess-dev libcrypto++-dev libboost-all-dev libxen-dev libxml2-dev xfslibs-dev

Installing GCC 4.9 for gnu++1y. Unlike the Fedora case above, this willnot harm the existing installation of GCC 4.8, and will install anadditional set of compilers, and additional commands named gcc-4.9,g++-4.9, etc., that need to be used explicitly, while the "gcc", "g++",etc., commands continue to point to the 4.8 versions.

# Install add-apt-repositorysudo apt-get install software-properties-common python-software-properties# Use it to add Ubuntu's testing compiler repositorysudo add-apt-repository ppa:ubuntu-toolchain-r/testsudo apt-get update# Install gcc 4.9 and relativessudo apt-get install g++-4.9# Also set up necessary header file links and stuff (?)sudo apt-get install gcc-4.9-multilib g++-4.9-multilib

To compile Seastar explicitly using gcc 4.9, use:

git clone https://github.com/fastio/pedis.gitcd pedisgit submodule update --init --recursive./configure.py --compiler=g++-4.9ninja 

Run Pedis

./build/release/pedis --smp 1

Benchmark

The following describe the details of the Pedis benchmark making it reproducible.The result data was generated by memtier_benchmark(https://github.com/RedisLabs/memtier_benchmark).

Latest Results(Sep. 2016)

Pedis's latency was less then 0.5ms for 99% of all requests.

Test bed:

  • Server 1: Pedis/Redis Server
  • Server 2: memtier_benchmark tool

Software:

  • OS RedHat EL7
  • Pedis (latest)
  • Redis (2.8)

Hardware:

  • Memory: 128GB
  • SSD: 500GB
  • CPU: 24 logical cores
  • NIC: 1000Mb

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap