现在c端单线程rpush数据到redis ,我java端用的是hiredis client,能否多线程lpop数据,多线程lpop是否会出现重复pop到同一个数据啊?
高洛峰2017-04-24 09:14:21
Redis is single-threaded, that is, the server side is single-threaded to handle all client requests, so your multiple client requests are executed serially one by one.