Comments (1)
Hi @marathonrush , thank you very much for reminding. But actually, I think your conclusion doesn't make sense. Actually, codis proxy guarantees that the commands from the same client will be handled and dispatched in FIFO order. That is to say, the commands' execution order can be guaranteed if they're sent from the same client and have same hash slot.
If you have read the source code of redis-port, the dirty code, I think you should know that the porting work can be divided into two stages. In the 1st stage, namely the RDB restoring stage, the database will be rebuilt in key-level, which means the execution order doesn't matter and redis-port will setup multiple connections to maximize the speed of restoring process. Then in the 2nd stage, namely the backlog restoring stage, the forwarded command-level backlog will be sent to codis-proxy, and the execution order does matter. In this stage, redis-port will only use single connection to forward the backlog commands. As I said at the very beginning of this reply, the codis-proxy can guarantee the FIFO order in this stage. That's my explanation. Please let me know if you have more questions. Thanks.
from redis-port.
Related Issues (20)
- make HOT 1
- redis4.0.1迁移到codis3.2.2报错 HOT 9
- 编译命令 HOT 3
- Twemproxy 迁移数据到codis报错 HOT 3
- redis2.x迁移至4.x报错 HOT 5
- codis集群 3.2往Redis单实例 2.8版本迁移出错 HOT 1
- M/S迁移数据到cluster报错
- 2.8.8单节点redis 迁移到codis 3.2集群 报错
- 从redis 3.2实例导入到相同的redis 3.2实例中报错
- 【bug】redis-sync密码带有'@'的时候无法正确解析密码 HOT 1
- how to install it HOT 1
- fix auth
- how to know which redis version is corresponded to the release version
- 使用redis-restore将rdb文件导入集群失败,导入单机就正常
- 支持ssl连接到aws上的redis吗 HOT 1
- redis 5.x support HOT 1
- 从 redis2.x迁移至redis5.0
- invalid RDB version number 9 HOT 7
- 迁移redis到codis报错 [PANIC] encode redis resp failed
- 带过期时间key丢失
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-port.