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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -