Skip to main content

All Questions

0 votes
1 answer
594 views

StackExchange.Redis Async with Fire and Forget not setting the keys

I'm trying to figure out when I try to use Redisclient with Async operations with command flag as Fire and Forget, out of 5 stringSet only 3 is getting set 2 strings are not available in the server. ...
Poothabalan's user avatar
-1 votes
1 answer
422 views

Await Task.WhenAll(BatchList) - Code continues before Redis Cache is updated

I am calling Redis with a batch request, though it seems that my code is continuing past the Await Task WhenAll statement before the cache has been updated. Am I awaiting the tasks in the wrong way? ...
Holland Risley's user avatar
0 votes
1 answer
239 views

SocketClosed on ZADD

I'm trying to efficiently insert 75k+ strings (filenames) into a redis Sorted Set for initial data seeding. With this code I am getting RedisConnectionException: SocketClosed on ZADD which is probably ...
Joe Phillips's user avatar
  • 51.3k
1 vote
1 answer
1k views

.NET StackExchangeRedis and order of execution with Batch not guaranteed?

I am reviewing the following code which is trying to: add an key/value to a Redis db. set an expiry on that new redis key. i.e. { var batch = database.CreateBatch(); var tasks = new Task[] ...
Pure.Krome's user avatar
  • 87.2k
2 votes
1 answer
373 views

Func for async goes in deadlock?

Objective: I am using redis for cache and trying to get a cache value if not available get from repo and set the cache value. Problem: client side js keeps waiting forever and it seems to be in ...
Justin Homes's user avatar
  • 3,809
1 vote
1 answer
1k views

Dead lock when retrieving several keys from Redis

I'm trying to get the result of this queries to redis (using stackexchange C# client) in parallel but somehow I'm running in deadlock and not sure where The method for retrieving the data: public ...
mitomed's user avatar
  • 2,076
5 votes
1 answer
10k views

StackExchange.Redis Async calls slower than sync calls

I understand that the point of asynchronous methods are not to improve performance but I am finding that the asynchronous methods on the StackExchange.Redis is taking alot longer than the sync methods....
Kaladin's user avatar
  • 803
7 votes
1 answer
7k views

StackExchange.Redis async call hangs

Trying to figure out why this code hangs. I can remove any one of the 3 lines at the bottom of the test and it won't hang, but all 3 together makes it hang. Any help would be greatly appreciated! [...
Eric J. Smith's user avatar