redis流水线的本质是改变流水线中指令的读写顺序。我们通常说流水线是进程间通信的一种手段,而redis流水线是基于套接字的通信,两者不具有可比性,这种理解有问题吗?
发布于 2020-01-22 22:27:12
进程间管道和Redis的网络管道是不同的东西。一个在https://www.tutorialspoint.com/inter_process_communication/inter_process_communication_pipes.htm上解释,另一个在https://en.wikipedia.org/wiki/Protocol_pipelining上解释
发布于 2021-08-18 18:40:29
两者是不同的:
Redis pipeline是一种在客户端实现的网络优化策略,可以同时向Redis-发送多条命令。有关redis-pipeline的更多信息,请访问:https://buildatscale.tech/what-is-redis-pipeline/
Unix管道是用于进程间通信的机制。https://en.wikipedia.org/wiki/Pipeline_(Unix)
https://stackoverflow.com/questions/59856863
复制相似问题