Answer the question
In order to leave comments, you need to log in
How to speed up php-redis (it's very slow)?
Right off the
bat, the redis-benchmark on the server shows ~120k set/get operations per second, which suits me.
when testing php5.6 + redis
100000 iterations
lrang name 0 -1
- ~7 seconds are executed...
If we arrange everything in one large transaction (pipeline), then about ~0.6 seconds... which gives an increase of x10 speed, but one large transaction I don't like.
redis-server version 3.0.6 (default config).
php-redis version (3.1.2-1+deb.sury.org~xenial+1).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question