Preventing Cache Stampede in High-Traffic APIs with Double-Checked Locking
As the number of users of your website grows and more requests are sent to your server, the first component that comes under pressure is usually the database. To reduce the load, applications commonly introduce a caching layer in front of the database. ....
Read more
Customize Redis commands with LuaScript in Asp.Net Core
If we want to call Redis commands directly into the program, we can use LuaScript, which is located in the StackExchange.Redis library. Using LuaScript, we can execute several Redis commands in one request. Consider a scenario in which the number of times an API or me ....
Read more
