Now there is a question
First: When using redis, the values out of set, get, hset, hget are sometimes in redis, and sometimes they are string data
No problem if you use memcached
I now suspect that the redis single-threaded concurrent data string is coming out
It should be a problem with phpredis extension. I would like to ask for advice on how to solve it
Now PHP 7.1
I have used redis in Workerman and said there is no problem. . . It can't be the problem you mentioned. Of course, if you access the same key concurrently, isn't locking necessary?