Caching RESTful APIs with Node.js and Redis
Автор: Baris Ture
Загружено: 2022-05-23
Просмотров: 734
Описание:
Caching RESTful APIs with Node.js and Redis.
In this video we will be cover the how to cache API responses.
The official Node.js Docs ➡ https://nodejs.org/en/docs/
The official Redis Docs ➡ https://redis.io/docs/
I was inspired by the official Redis GitHub repository for this video.
You can find this repo at https://github.com/redis-developer/re...
00:00 - Introduction
00:28 - Project Initializing
02:07 - Creating getExchangeRate function
03:48 - Initializing API request and Returning API response
04:42 - Timing the API Response time
05:50 - Connecting to Redis client
07:32 - Adding a Redis GET
08:25 - Checking Redis for cache hit
09:38 - Writing the Redis SET and running file with API then cached responses
11:13 - Implementing key expiration in Redis
12:50 - Checking expiration with TTL command
⚡ My Social Media Accounts
➡ / baristure_
➡ / baristure
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: