Twemproxy distributed cluster Cache proxy Server
is a lightweight Redis proxy server that is written in C and implemented in a proxy manner.
It unifies multiple Redis instances in the application backend by introducing an agent layer,
So that the application only needs to operate on the twemproxy, without having to care about the following specific
Number of real Redis or memcached instances, enabling Redis-based and
memcached the Cluster service. When a node is down, twemproxy can self-
Remove it from the cluster, and when it resumes service, the Twemproxy is automatically connected.
Because it is a proxy, Twemproxy will have a slight performance penalty. According to the Redis author
Test results, in most cases, the performance of Twemproxy is quite good, with direct
There is a maximum of 20% performance loss compared to Redis. Twemproxy follow Apache
License 2.0 Open Source agreement released,
Twemproxy is intended to reduce the number of times the cache server is accessed.
For more information, please see the distributed source code
Twemproxy distributed cluster Cache proxy Server