search

Home  >  Q&A  >  body text

php - workerman error using redis data

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

淡淡烟草味淡淡烟草味2773 days ago921

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-06-10 09:49:34

    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?

    reply
    0
  • Cancelreply