Redis coroutine client

Although swoole has its own coroutine client, we found some problems in the production environment: Swoole's redis client does not fully support Redis's full commands, such as geo search, and transactions, especially in cluster mode redis, which is not supported by the swoole client. To this end, we decided to implement a full version of the redis client using the swoole tcp client.

Support method

Currently, the redis client component already supports all methods except scripting (currently supports 178 methods):

  • connection
  • cluster
  • geohash
  • hash
  • keys
  • lists
  • pub/sub
  • server
  • string
  • sorted sets
  • sets
  • transaction
  • pipe

Due to more redis commands, 1 or 2 commands may be missed