阅读背景:

服务栈Redis连接的线程安全性

来源:互联网 

I've been having some problems with Service Stack recently- I've figured out that it seems to be caused by having multiple threads, each connecting to Redis to perform operations. If I have only one thread running at any one time it works fine, but any more and I get several different errors. I've seen elsewhere that it's best to use PooledRedisClientManager and calling GetClient on it, but it's still giving me trouble. I'd just like to know if Redis is thread-safe and what steps you can take to ensure it won't break on concurrent threads.I've been having some problems with Service Sta




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: