phpredis - Getting concurrent requests processing issue with Redis+PHP -
i using php 5.3 using redis, store php array data every requests in redis variable. setting value 1 redis variable , on every request incrementing value 1. using value key each array element. on concurrent requests creating problem - 1) skipping few records in between. 2) value of varible getting stored key getting duplicated.
right using "predis" php+redis client. please me in , let me know how can achive this.
did try using set (or sorted set) instead? don't need worry managing external index automatically done redis.
Comments
Post a Comment