{"id":23467341,"url":"https://github.com/vipshop/vire","last_synced_at":"2025-08-26T23:33:11.058Z","repository":{"id":51447572,"uuid":"59757711","full_name":"vipshop/vire","owner":"vipshop","description":"Multithread redis","archived":false,"fork":false,"pushed_at":"2017-08-11T09:37:03.000Z","size":2010,"stargazers_count":203,"open_issues_count":6,"forks_count":68,"subscribers_count":41,"default_branch":"master","last_synced_at":"2023-10-26T06:49:57.999Z","etag":null,"topics":["muti-process","redis"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vipshop.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-26T14:37:59.000Z","updated_at":"2023-10-19T17:23:32.000Z","dependencies_parsed_at":"2022-08-21T20:41:12.996Z","dependency_job_id":null,"html_url":"https://github.com/vipshop/vire","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipshop%2Fvire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipshop%2Fvire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipshop%2Fvire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipshop%2Fvire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vipshop","download_url":"https://codeload.github.com/vipshop/vire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231095538,"owners_count":18327193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["muti-process","redis"],"created_at":"2024-12-24T12:30:32.797Z","updated_at":"2024-12-24T12:30:33.557Z","avatar_url":"https://github.com/vipshop.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vire\n\n**vire** (pronounced \"vip-redis\") is a multithread redis(based on redis-3.2.0) maintains in vipshop.\n\n### QQ交流群：276406429\n\n## Dependence\n\nPlease install automake, libtool, autoconf and bzip2 at first.\n\n## Build\n\nTo build vire from source with _debug logs enabled_ and _assertions enabled_:\n\n    $ git clone  https://github.com/vipshop/vire.git\n    $ cd vire\n    $ autoreconf -fvi\n    $ ./configure --enable-debug=full\n    $ make\n    $ src/vire -h\n\nA quick checklist:\n\n+ Use newer version of gcc (older version of gcc has problems)\n+ Use CFLAGS=\"-O1\" ./configure \u0026\u0026 make\n+ Use CFLAGS=\"-O3 -fno-strict-aliasing\" ./configure \u0026\u0026 make\n+ `autoreconf -fvi \u0026\u0026 ./configure` needs `automake` and `libtool` to be installed\n\n## Run\n\n    $ src/vire -c conf/vire.conf -o log -T 6 -d\n\n## Features\n\n+ Multithread.\n+ Fast.\n+ Works with Linux, *BSD, OS X and SmartOS (Solaris)\n\n## Help\n\n    Usage: vire [-?hVdt] [-v verbosity level] [-o output file]\n                [-c conf file] [-p pid file]\n                [-T worker threads number]\n    \n    Options:\n    -h, --help             : this help\n    -V, --version          : show version and exit\n    -t, --test-conf        : test configuration for syntax errors and exit\n    -d, --daemonize        : run as a daemon\n    -v, --verbose=N        : set logging level (default: 5, min: 0, max: 11)\n    -o, --output=S         : set logging file (default: stderr)\n    -c, --conf-file=S      : set configuration file (default: conf/vire.conf)\n    -p, --pid-file=S       : set pid file (default: off)\n    -T, --thread_num=N     : set the worker threads number (default: 6)\n\n## Support redis command so far\n\n#### Connection\n\n+ ping\n+ quit\n+ echo\n+ select\n+ auth\n+ admin\n\n#### Server\n\n+ info\n+ flushall\n+ flushdb\n+ time\n+ dbsize\n+ command\n+ config\n+ client\n+ slowlog\n\n#### Key\n\n+ del\n+ exists\n+ ttl\n+ pttl\n+ expire\n+ expireat\n+ pexpire\n+ pexpireat\n+ persist\n+ randomkey\n+ type\n+ keys\n+ scan\n+ object\n\n#### String\n\n+ get\n+ set\n+ setnx\n+ setex\n+ psetex\n+ incr\n+ decr\n+ incrby\n+ decrby\n+ append\n+ strlen\n+ getset\n+ incrbyfloat\n+ setbit\n+ getbit\n+ setrange\n+ getrange\n+ bitcount\n+ bitpos\n+ mget\n+ mset\n\n#### Hash\n\n+ hset\n+ hget\n+ hlen\n+ hdel\n+ hexists\n+ hkeys\n+ hvals\n+ hgetall\n+ hincrby\n+ hincrbyfloat\n+ hmget\n+ hmset\n+ hsetnx\n+ hstrlen\n+ hscan\n\n#### List\n\n+ rpush\n+ lpush\n+ lrange\n+ rpop\n+ lpop\n+ llen\n+ lrem\n+ ltrim\n+ lindex\n+ lset\n\n#### Set\n\n+ sadd\n+ smembers\n+ scard\n+ srem\n+ spop\n+ sismember\n+ sscan\n+ sunion\n+ sunionstore\n+ sdiff\n+ sdiffstore\n+ sinter\n+ sinterstore\n\n#### SortedSet\n\n+ zadd\n+ zincrby\n+ zrange\n+ zrevrange\n+ zrem\n+ zcard\n+ zcount\n+ zrangebyscore\n+ zrevrangebyscore\n+ zrank\n+ zrevrank\n+ zscore\n+ zremrangebyscore\n+ zremrangebyrank\n+ zremrangebylex\n+ zscan\n\n#### HyperLogLog\n\n+ pfadd\n+ pfcount\n\n## License\n\nCopyright © 2016 VIPSHOP Inc.\n\nLicensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipshop%2Fvire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvipshop%2Fvire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipshop%2Fvire/lists"}