How to limit only one thread for network operation for update cached data
Learn how to use Interlocked.Exchange to ensure only one thread performs network operations for updating cached data.
An open notebook of stranger things that I encounter in my everyday life.
Learn how to use Interlocked.Exchange to ensure only one thread performs network operations for updating cached data.
In REST API, most of the time we only send request ID when the calls fails with 4XXX or 5XXX status codes. But it is a good practice to send the request ID with every response. This can be useful for debugging issues where successful response doesn’t produce the expected result from the backend service.
This is part one of the tutorial series Zero to Hero in Microservices with dotnet core.
In this series of blog articles, we are going to start from a basic dotnet core MVC application and then improve it to full blown Microservices with state of the art Microservices patterns and practices. To follow this blog service, you will need those tools-
In ASP.NET core 2.1, setting up functional testing project got much easier with the release of [Microsoft.AspNetCore.Mvc.Testing](https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc.Testing) nuget package.
On my journey to be a better programmer, I stated to learn C++. This is how I am using bazel to build my project with google test integration.
Although you can install `TaskWarrior` from `Ubuntu` package manager, but it doesn't have latest version. So you have to download source code and compile it.
Although we can use IDE for creating new java projects, if we use a build tool like `gradle` and create the project from ground up then not only we have more control, we can also change between IDEs as we feel the need.
Responsive image make your website faster by loading the image that is required for the screen. Loading high quality image in every screen size is not optimal. Also showing a low quality blur version of the image while the real image is loading also improve the readability. Installation jekyll-responsive-image plugin First, add -
Change ssh port of CentOS 7