Redis is understandably super fast with reads that an RDMB. If a Redis cluster is processing queries taking longer than 1 second, what impact can that have on the redis cluster in regards to new requests sent to the redis cluster by clients?
Since Redis is single threaded, would that mean that other queries would remain in the command queue while the slow query executes?
And if more writes from other clients keep coming through and piling inside the command queue, would the redis cluster eventually start blocking incoming requests?
Last question, is it ok to change the redis daemon on each node in the cluster to "No", and allow redis to process multiple connections at the same time not sequentially?
How would doing so impact the performance clients connections to the redis cluster?
--
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/d/optout.
Do you know what commands you are going to run, and/or how long you should expect them to last?
1) 1) (integer) 75
2) (integer) 1447057594
3) (integer) 2020760
4) 1) "SET"
2) "noti:in:ur:67445315:follow"
3) "1"
2) 1) (integer) 74
2) (integer) 1446771851
3) (integer) 2400234
4) 1) "SET"
2) "noti:msg:unread:130507369:854169"
3) "1"
3) 1) (integer) 73
2) (integer) 1446768149
3) (integer) 1228490
4) 1) "SET"
2) "noti:msg:unread:114024283:849089"
3) "1"
--
You received this message because you are subscribed to a topic in the Google Groups "Redis DB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/redis-db/U6szotLMF9A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to redis-db+u...@googlegroups.com.
1274:M 23 Nov 14:00:03.576 - Client closed connection
1274:M 23 Nov 14:00:03.645 - Client closed connection
1274:M 23 Nov 14:00:03.673 - Client closed connection
1274:M 23 Nov 14:00:03.684 - Client closed connection
1274:M 23 Nov 14:00:03.695 - Client closed connection
1274:M 23 Nov 14:00:03.722 - Client closed connection
1274:M 23 Nov 14:00:03.755 - Client closed connection
1274:M 23 Nov 14:00:03.760 - Client closed connection
1274:M 23 Nov 14:00:03.789 - Client closed connection
1274:M 23 Nov 14:00:03.798 - Client closed connection
1274:M 23 Nov 14:00:03.810 - Client closed connection
1274:M 23 Nov 14:00:03.817 - Client closed connection
1274:M 23 Nov 14:00:03.857 - Client closed connection
1274:M 23 Nov 14:00:03.903 - Client closed connection
1274:M 23 Nov 14:00:03.911 - Client closed connection
1274:M 23 Nov 14:00:03.923 - Client closed connection
1274:M 23 Nov 14:00:03.960 - Client closed connection
1274:M 23 Nov 14:00:04.122 - Client closed connection
1274:M 23 Nov 14:00:04.153 - Client closed connection
1274:M 23 Nov 14:00:04.173 - Client closed connection
1274:M 23 Nov 14:00:04.211 - Client closed connection
1274:M 23 Nov 14:00:04.236 - Client closed connection
1274:M 23 Nov 14:00:04.276 - Client closed connection
1274:M 23 Nov 14:00:04.414 - Client closed connection
1274:M 23 Nov 14:00:04.503 - Client closed connection
<span style=
# here too, two connections are opened, followed by two closed
1274:M 23 Nov 14:59:45.315 - Accepted 192.168.1.174:60996
1274:M 23 Nov 14:59:45.317 - Accepted 192.168.1.174:60999
1274:M 23 Nov 14:59:45.324 - Client closed connection
1274:M 23 Nov 14:59:45.324 - Client closed connection
# here too, two connections are opened, followed by two closed
1274:M 23 Nov 14:59:45.400 - Accepted 192.168.1.76:28154
1274:M 23 Nov 14:59:45.402 - Accepted 192.168.1.78:23352
1274:M 23 Nov 14:59:45.409 - Client closed connection
1274:M 23 Nov 14:59:45.412 - Client closed connection
# here, one connection is opened, followed by one closed connection
1274:M 23 Nov 14:59:45.442 - Accepted 192.168.1.78:23386
1274:M 23 Nov 14:59:45.451 - Client closed connection
# So here, three connections are opened, followed by three closed connections almost instantly
1274:M 23 Nov 14:59:45.453 - Accepted 192.168.1.151:19482
1274:M 23 Nov 14:59:45.455 - Accepted 192.168.1.165:58343
1274:M 23 Nov 14:59:45.459 - Accepted 192.168.1.172:11545
1274:M 23 Nov 14:59:45.463 - Client closed connection
1274:M 23 Nov 14:59:45.464 - Client closed connection
1274:M 23 Nov 14:59:45.469 - Client closed connection
# here, two connections are opened, followed by two closed connections
1274:M 23 Nov 14:59:45.596 - Accepted 192.168.1.151:19631
1274:M 23 Nov 14:59:45.606 - Accepted 192.168.1.165:58487
1274:M 23 Nov 14:59:45.607 - Client closed connection
1274:M 23 Nov 14:59:45.614 - Client closed connection
# here, one connection is opened, followed by one closed connection
1274:M 23 Nov 14:59:45.621 - Accepted 192.168.1.164:21931
1274:M 23 Nov 14:59:45.624 - Client closed connection
# here, one connection is opened, followed by one closed connection
1274:M 23 Nov 14:59:45.661 - Accepted 192.168.1.122:47107
1274:M 23 Nov 14:59:45.663 - Client closed connection
IIRC predis (PHP) can't do persistent connections or pooling of any sort.