IceFireDB-Proxy

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2022 License: Apache-2.0

README

banner

IceFireDB-Proxy

build License GitHub go.mod Go version

Icefiredb-proxy is a high performance Redis Proxy solution written in Go, including single node and cluster Proxy modes. Icefiredb-proxy detects request commands in real time and records logs and metrics for unstable keys, such as Big keys, hot keys, and slow keys, helping discover unreasonable data design and improving service stability.

Table of Contents

Install

This project uses Go. Go check them out if you don't have them locally installed.

1. Install Go
2. git clone https://github.com/IceFireDB/IceFireDB-Proxy.git $GOPATH/src/github.com/IceFireDB/IceFireDB-Proxy
3. cd $GOPATH/src/github.com/IceFireDB/IceFireDB-Proxy
4. make
Usage

Run a binary file directly, if you need to run in the background can be added to the systemd system management

./bin/Icefiredb-proxy -c ./config/config.yaml
Command support
String operating
  • APPEND
  • BITCOUNT
  • BITPOS
  • DECR
  • DECRBY
  • DEL
  • EXISTS
  • GET
  • GETBIT
  • SETBIT
  • GETRANGE
  • GETSET
  • INCR
  • INCRBY
  • MGET
  • MSET
  • SET
  • SETEX
  • SETEXAT
  • SETRANGE
  • EXPIRE
  • EXPIREAT
  • TTL
Set operating
  • SADD
  • SCARD
  • SETBIT
  • SISMEMBER
  • SMEMBERS
  • SPOP
  • SRANDMEMBER
  • SREM
  • SSCAN
List operating
  • LINDEX
  • LINSERT
  • LLEN
  • LPOP
  • LPUSH
  • LPUSHX
  • LRANGE
  • LREM
  • LSET
  • LTRIM
  • RPOP
  • RPUSH
  • RPUSHX
hash operating
  • HDEL
  • HEXISTS
  • HGET
  • HGETALL
  • HINCRBY
  • HINCRBYFLOAT
  • HKEYS
  • HLEN
  • HMGET
  • HMSET
  • HSCAN
  • HSET
  • HSETNX
  • HSTRLEN
  • HVALS
Sorted Sets
  • ZADD
  • ZCARD
  • ZCOUNT
  • ZINCRBY
  • ZLEXCOUNT
  • ZPOPMAX
  • ZPOPMIN
  • ZLEXCOUNT
  • ZRANGE
  • ZRANGEBYLEX
  • ZRANGEBYSCORE
  • ZRANK
  • ZREM
  • ZREMRANGEBYLEX
  • ZREMRANGEBYRANK
  • ZREMRANGEBYSCORE
  • ZREVRANGE
  • ZREVRANGEBYLEX
  • ZREVRANGEBYSCORE
  • ZREVRANK
  • ZSCAN
  • ZSCORE
Stream operating
  • XACK
  • XADD
  • XCLAIM
  • XDEL
  • XLEN
  • XINFO
  • XPENDING
  • XRANGE
  • XREADGROUP
  • XREVRANGE
  • XTRIM
  • XGROUP
other operating
  • COMMAND
  • PING
  • QUIT
License

Icefiredb-proxy is under the Apache 2.0 license. See the LICENSE directory for details.

Directories

Path Synopsis
cmd
proxy command
pkg
netstat
Package netstat provides primitives for getting socket information on a Linux based operating system.
Package netstat provides primitives for getting socket information on a Linux based operating system.
rediscluster
Package redis implement a pure redis cluster client, meaning it doesn't support any cluster commands.
Package redis implement a pure redis cluster client, meaning it doesn't support any cluster commands.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL