Redis Cache and timeout

153 views
Skip to first unread message

lgu...@bitbang.com

unread,
Jul 6, 2017, 8:49:57 AM7/6/17
to Redis DB, emacc...@bitbang.com, cpi...@bitbang.com
Hi everyone!
I'm using Redis Cache on Azure (not in clustering mode) as a front-end cache layer. At the moment I have ~6M hash keys stored in cache. 
The system works well except some increase of timeout exceptions with the grow up of the requests: the order is ~22K requests that raise ~100 timeout exceptions. 
The strange thing is that the service is not overloaded (CPU percentage ~1%).
Is it normal that Redis' single-thread key search causes this increase of timeouts exceptions? May we expect a linear increase of timeout exceptions?

Thanks,
Luca 
 

Itamar Haber

unread,
Jul 6, 2017, 9:17:46 AM7/6/17
to Redis DB, cpi...@bitbang.com, emacc...@bitbang.com
Hello Luca,

This is almost certainly not a Redis issue, but rather one of the provider and the forked variant that it uses. I recommend contacting your RaaS provider's support - if anyone can help you, it is that.

Cheers,
Itamar

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

ma...@andyh.io

unread,
Jul 6, 2017, 9:24:08 AM7/6/17
to redi...@googlegroups.com, emacc...@bitbang.com, cpi...@bitbang.com
Probably you are running out of connections at Redis server. Redis itself is able to handle way more QPS than that.

Check if you set the number of maxconns(and soft limit, hard limit, etc) right on the machine itself. 

Sent from my iPhone
--
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.

lgu...@bitbang.com

unread,
Jul 6, 2017, 11:00:11 AM7/6/17
to Redis DB, emacc...@bitbang.com, cpi...@bitbang.com
Hi Iandyh,
thanks for the response, at the moment I have ~30 clients connected and the limit, on my Redis service, is set to 15000, fortunately I'm far from that limit.
Reply all
Reply to author
Forward
0 new messages