Skip to content

Simple tips and trick how to reduce and speed up your load data from database or third-party api.

Notifications You must be signed in to change notification settings

restuwahyu13/database-caching

Repository files navigation

Database Caching

Simple tips and trick how to reduce and speed up your load data from database or third-party api something like that, using redis, serialization and deserialization of data is also very important, to speed up data retrieval from redis, check the image folder to see the difference, run seeder before run this app set env to development and run command seeder like this npm run seed:runmig, in this tutorial i use msgpack to reduce data size, to save in redis and speed up reading data from redis, check here about msgpack.