empiredan commented on code in PR #57:
URL: 
https://github.com/apache/incubator-pegasus-website/pull/57#discussion_r1448809451


##########
_docs/en/api/redis.md:
##########
@@ -2,4 +2,216 @@
 permalink: api/redis
 ---
 
-TRANSLATING
+# Redis adaptation
+
+## Architecture
+
+After deploying Redis Proxy to Pegasus, users can directly access the proxy 
through the Redis protocol, thereby indirectly accessing Pegasus services. The 
overall architecture is as follows:
+
+![redis_proxy_arch.png](/assets/images/redis_proxy_arch.png){:class="img-responsive"}
+
+Using the [Redis Protocol](https://redis.io/topics/protocol) between Redis 
Client and Redis Proxy. Currently, thr proxy supports all [RESP2 
protocols](https://redis.io/docs/reference/protocol-spec/) data types (i.e. 
Simple Strings, Errors, Integers, Bulk Strings and Arrays).
+
+Redis Proxy uses the Pegasus protocol to communicate with the Pegasus cluster. 
Here, the proxy acts as a regular Pegasus client, querying routing table from 
Meta Server and reading and writing user data with Replica Server.
+
+## The form of providing services
+
+Like the Redis service, the proxy instances are provided in the form of 
`host:port`. If the service pressure is high, multiple proxy instances can be 
provided to improve service throughput through horizontal scaling.
+
+Proxy is stateless, and multiple proxy instances share the same backend 
Pegasus service. Load balancing can be achieved through methods such as 
round-robin or hash.
+
+> The executable binary of Proxy is named `pegasus_rproxy`, 
[packed](/docs/build/compile-by-docker/#packaging) by `./run.sh pack_tools` 。
+
+## Configuration
+
+The configuration file rules for Redis Proxy follow 
[Configurations](/administration/config), refer to the 
[example](https://github.com/apache/incubator-pegasus/blob/master/src/redis_protocol/proxy/config.ini).

Review Comment:
   ```suggestion
   The configuration file rules for Redis Proxy follow 
[Configurations](/administration/config), referring to the 
[example](https://github.com/apache/incubator-pegasus/blob/master/src/redis_protocol/proxy/config.ini).
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to