--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/groups/opt_out.
"What is your idle connection timeout and JedisPool connection limit set to?"
setMaxActive,
setMaxIdle etc
--
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/groups/opt_out.
--
Each command takes 1.2 seconds to run. But in Redis, they are running serially. So when two commands execute, it takes 2.4 seconds, causing some clients to time out on the Jedis side. Others squeeze in after commands complete, etc.
So really if all 10 clients were connected initially, and all clients executed the same sort command at more or less the same time (within a few tens of milliseconds), only the first to be read and executed by Redis would be executed. All others would time out, as all would have to wait a minimum of 2.4 seconds (which is greater than the 2 second default timeout).
- Josiah
(This was written on my phone. Please forgive my errors and/or brevity)