php - workerman error using redis data
淡淡烟草味
淡淡烟草味 2017-06-10 09:47:34
0
1
900

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

淡淡烟草味
淡淡烟草味

reply all(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?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template