Redis and MongoDB: Cache-Aside Pattern

preview_player
Показать описание
The cache-aside pattern is used to load data on demand into a cache for better performance while keeping costs down. This video discusses how to use the cache-aside pattern with Redis and MongoDB.

In this video, Redis' Will Johnston covers:
- The cache-aside pattern is for caching on demand
- Redis Stack can store master data as JSON documents
- Redis is a good way to speed up a MongoDB app

#Redis #MongoDB #Cache
Рекомендации по теме
Комментарии
Автор

Can we do partial updating if cache is a json string.
Also does cache supports other data types like List JSON apart from string

SP-yhop
Автор

Thank you for the awesome video.
I am using redis and mongodb in my application for curd operation.
Calling mongodb asynchronously on any operation performed on redis,
everything is working fine except get.
In case of 'get' if data found in redis its fine, otherwise misskey will happen and call goes to mongodb asynchronously.
There we can set data into redis but backend is unable to serves data to application.
only option I see is retry, but in case of retry we have to wait for backend operation and if data wont find in mongodb then there is unnessasary wait.
Please suggest how to overcome with above scenerio, is there any callback mechanism?

Thank you.

amarjitkumar
Автор

which UI App is that? the one for redis :)

davidalexander
visit shbcf.ru