All Projects → vipshop → Vire

vipshop / Vire

Licence: apache-2.0
Multithread redis

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Vire

Redis Roaring
Roaring Bitmaps for Redis
Stars: ✭ 191 (-4.02%)
Mutual labels:  redis
Notorious
Go: A feature-complete, performant torrent tracker
Stars: ✭ 194 (-2.51%)
Mutual labels:  redis
Redis Timeseries
Future development of redis-timeseries is at github.com/RedisLabsModules/redis-timeseries.
Stars: ✭ 197 (-1.01%)
Mutual labels:  redis
Rediscompare
rediscompare is a tool for chech two redis db data consistency. 是用来对比、校验redis 多个数据库数据一致性的命令行工具,支持单实例到单实例、单实例到原生集群、多实例多库到单实例等场景。
Stars: ✭ 194 (-2.51%)
Mutual labels:  redis
Istio Micro
istio 微服务示例代码 grpc+protobuf+echo+websocket+mysql+redis+kafka+docker-compose
Stars: ✭ 194 (-2.51%)
Mutual labels:  redis
Repoll
Redis管理平台Repoll,现已开源,基于redis3.x,支持单机、哨兵以及集群模式
Stars: ✭ 196 (-1.51%)
Mutual labels:  redis
Dailyreport
日报管理系统V1版本,适合小团队的每日汇报记录
Stars: ✭ 191 (-4.02%)
Mutual labels:  redis
Phpredis Phpdoc
@phpdoc extension php for IDE autocomplete
Stars: ✭ 198 (-0.5%)
Mutual labels:  redis
Firecamp
Serverless Platform for the stateful services
Stars: ✭ 194 (-2.51%)
Mutual labels:  redis
Spring Cloud Azure
Spring Cloud integration with Azure services
Stars: ✭ 197 (-1.01%)
Mutual labels:  redis
Rate Limit
🚔 General purpose rate limiter implementation.
Stars: ✭ 193 (-3.02%)
Mutual labels:  redis
Interviewguide
《大厂面试指北》——包括Java基础、JVM、数据库、mysql、redis、计算机网络、算法、数据结构、操作系统、设计模式、系统设计、框架原理。最佳阅读地址:http://notfound9.github.io/interviewGuide/
Stars: ✭ 3,117 (+1466.33%)
Mutual labels:  redis
Dsock
Distributed WebSocket broker
Stars: ✭ 197 (-1.01%)
Mutual labels:  redis
Zend Diagnostics
Universal set of diagnostic tests for PHP applications.
Stars: ✭ 192 (-3.52%)
Mutual labels:  redis
Redis Manager
Redis 一站式管理平台,支持集群的监控、安装、管理、告警以及基本的数据操作
Stars: ✭ 2,646 (+1229.65%)
Mutual labels:  redis
Zi5book
book.zi5.me全站kindle电子书籍爬取,按照作者书籍名分类,每本书有mobi和equb两种格式,采用分布式进行全站爬取
Stars: ✭ 191 (-4.02%)
Mutual labels:  redis
Mudpi Core
Configurable automation library for linux SBC boards including raspberry pi
Stars: ✭ 194 (-2.51%)
Mutual labels:  redis
Springboot mybatisplus
SpringBoot集成MyBatisPlus
Stars: ✭ 199 (+0%)
Mutual labels:  redis
Ratelimit
A Redis-backed rate limiter written in Ruby
Stars: ✭ 197 (-1.01%)
Mutual labels:  redis
Note Gin
【重构中....】🎉📗📝Cloud note file system, supporting MD file batch upload and download and online reading📌 前端:https://github.com/biningo/note-vue
Stars: ✭ 197 (-1.01%)
Mutual labels:  redis

vire

vire (pronounced "vip-redis") is a multithread redis(based on redis-3.2.0) maintains in vipshop.

QQ交流群:276406429

Dependence

Please install automake, libtool, autoconf and bzip2 at first.

Build

To build vire from source with debug logs enabled and assertions enabled:

$ git clone  https://github.com/vipshop/vire.git
$ cd vire
$ autoreconf -fvi
$ ./configure --enable-debug=full
$ make
$ src/vire -h

A quick checklist:

  • Use newer version of gcc (older version of gcc has problems)
  • Use CFLAGS="-O1" ./configure && make
  • Use CFLAGS="-O3 -fno-strict-aliasing" ./configure && make
  • autoreconf -fvi && ./configure needs automake and libtool to be installed

Run

$ src/vire -c conf/vire.conf -o log -T 6 -d

Features

  • Multithread.
  • Fast.
  • Works with Linux, *BSD, OS X and SmartOS (Solaris)

Help

Usage: vire [-?hVdt] [-v verbosity level] [-o output file]
            [-c conf file] [-p pid file]
            [-T worker threads number]

Options:
-h, --help             : this help
-V, --version          : show version and exit
-t, --test-conf        : test configuration for syntax errors and exit
-d, --daemonize        : run as a daemon
-v, --verbose=N        : set logging level (default: 5, min: 0, max: 11)
-o, --output=S         : set logging file (default: stderr)
-c, --conf-file=S      : set configuration file (default: conf/vire.conf)
-p, --pid-file=S       : set pid file (default: off)
-T, --thread_num=N     : set the worker threads number (default: 6)

Support redis command so far

Connection

  • ping
  • quit
  • echo
  • select
  • auth
  • admin

Server

  • info
  • flushall
  • flushdb
  • time
  • dbsize
  • command
  • config
  • client
  • slowlog

Key

  • del
  • exists
  • ttl
  • pttl
  • expire
  • expireat
  • pexpire
  • pexpireat
  • persist
  • randomkey
  • type
  • keys
  • scan
  • object

String

  • get
  • set
  • setnx
  • setex
  • psetex
  • incr
  • decr
  • incrby
  • decrby
  • append
  • strlen
  • getset
  • incrbyfloat
  • setbit
  • getbit
  • setrange
  • getrange
  • bitcount
  • bitpos
  • mget
  • mset

Hash

  • hset
  • hget
  • hlen
  • hdel
  • hexists
  • hkeys
  • hvals
  • hgetall
  • hincrby
  • hincrbyfloat
  • hmget
  • hmset
  • hsetnx
  • hstrlen
  • hscan

List

  • rpush
  • lpush
  • lrange
  • rpop
  • lpop
  • llen
  • lrem
  • ltrim
  • lindex
  • lset

Set

  • sadd
  • smembers
  • scard
  • srem
  • spop
  • sismember
  • sscan
  • sunion
  • sunionstore
  • sdiff
  • sdiffstore
  • sinter
  • sinterstore

SortedSet

  • zadd
  • zincrby
  • zrange
  • zrevrange
  • zrem
  • zcard
  • zcount
  • zrangebyscore
  • zrevrangebyscore
  • zrank
  • zrevrank
  • zscore
  • zremrangebyscore
  • zremrangebyrank
  • zremrangebylex
  • zscan

HyperLogLog

  • pfadd
  • pfcount

License

Copyright © 2016 VIPSHOP Inc.

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].