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

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -