2/16/19

Cache-Aside Pattern With Nodej SQL Server and Redis

The cache-aside pattern is a common approach in which the application performs a cache-first look up to get some data. When the data is found, the term cache-hit is used. When there is no data, it is call a cache-miss, and the application performs a lookup from the database.   In this...

2/9/19

Refactor Promises Functions into Async Await Functions

 With the release of Nodejs 8.10, we are now able to write asynchronous functions by using the async/await declarations.  This simplifies the use of promise chain in our code with a much simpler syntactic style.  To understand this better, let’s take a look at how asynchronous functions...