How we can retrieve data at minimum amount of time in node JS

Forums Node.jsHow we can retrieve data at minimum amount of time in node JS
Staff asked 2 years ago

Ok Thanks

komati sravan replied 2 years ago

Answers (1)

Add Answer
Utsav Vasoya Marked As Accepted
Staff answered 2 years ago

First, we have to get data from DB and store it in Redis cache, after that when you retrieve data for the second time at that time data get from Redis cache instead of DB.
you can refer to this  blog.

Subscribe

Select Categories