Scale with Redis Cluster Horizontal scaling with Redis Cluster
Redis scales horizontally with a deployment topology called Redis Cluster. This topic will teach you how to set up, test, and operate Redis Cluster in production. You will learn about the availability and consistency characteristics of Redis Cluster from the end user's point of view.
If you plan to run a production Redis Cluster deployment or want to understand better how Redis Cluster works internally, consult the Redis Cluster specification. To learn how Redis Enterprise handles scaling, see Linear Scaling with Redis Enterprise.
Reactor模式是一种处理并发请求的事件驱动设计模式,常用于高性能网络编程。它基于I/O多路复用机制,使用同步非阻塞的方式处理客户端请求。下面我将详细介绍Reactor模式的结构和工作原理。
Reactor模式由以下几个角色构成: