https://github.com/restuwahyu13/database-caching
Simple tips and trick how to reduce and speed up your load data from database or third-party api.
https://github.com/restuwahyu13/database-caching
cache javascript js msgpack nodejs redis redis-cache
Last synced: 4 months ago
JSON representation
Simple tips and trick how to reduce and speed up your load data from database or third-party api.
- Host: GitHub
- URL: https://github.com/restuwahyu13/database-caching
- Owner: restuwahyu13
- Created: 2022-06-01T04:58:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-26T10:33:38.000Z (almost 3 years ago)
- Last Synced: 2025-05-07T04:44:29.016Z (5 months ago)
- Topics: cache, javascript, js, msgpack, nodejs, redis, redis-cache
- Language: TypeScript
- Homepage:
- Size: 2.17 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://msgpack.org/).