Caching icon indicating copy to clipboard operation
Caching copied to clipboard

IDistributedCache and RedisCache are not thread safe

Open amirjalali1 opened this issue 9 years ago • 4 comments

IDistributedCache and RedisCache are not thread safe on a high traffic website i got the following error.

Timeout performing EVAL, inst: 9, queue: 1448, qu: 0, qs: 1448, qc: 0, wr: 0, wq: 0, in: 65536, ar: 0, clientName: xxxx
(Please take a look at this article for some common client-side issues that can cause timeouts: https://github.com/StackExchange/StackExchange.Redis/tree/master/Docs/Timeouts.md)

what should be done?

amirjalali1 avatar Apr 19 '17 03:04 amirjalali1

Related? https://github.com/StackExchange/StackExchange.Redis/issues/611

benaadams avatar Apr 26 '17 00:04 benaadams

Timeout doc is here: https://stackexchange.github.io/StackExchange.Redis/Timeouts

benaadams avatar Apr 26 '17 08:04 benaadams

no it's related to how redis is initialized

http://gigi.nullneuron.net/gigilabs/setting-up-a-connection-with-stackexchange-redis/ https://docs.microsoft.com/en-us/azure/redis-cache/cache-web-app-howto

amirjalali1 avatar Apr 26 '17 11:04 amirjalali1

This bug got stale so closing it. Please reactivate or file a new bug if you think we'll need to do any changes on this repo. Thank you.

muratg avatar Jan 03 '18 19:01 muratg