Sobes.tech

Why does SemaphoreSlim not solve the cache stampede protection problem in a distributed system and what should be used instead?

355

How does Redis ensure correct handling of concurrent commands from multiple clients?

198

What is the problem with multiple string concatenations in a loop and what can replace it?

165

What lifetimes exist in .NET DI and why should Redis ConnectionMultiplexer be registered as a Singleton?

158

How did you store time series data: using a regular PostgreSQL or a specialized Time Series DB? Why?

157

What storage and data processing optimizations were used for a stream of 3-5 thousand events per second: indexes, partitioning, sharding?

147

What is the complexity of searching for blocked items in a List inside a loop over products, and how can it be optimized?

143

How does ValueTask differ from Task, when should it be used, and what are its limitations?

140

Why is creating a new HttpClient for each request a problem and how can it be fixed?

139

How should product prices be cached and what risks arise from cache misses?

136

Why are you looking for a new job and what project format interests you?

134

Why is distributing data across shards via customerId % shardCount problematic when changing the number of shards, and what solution should be used?

133