Speed up your API on Cloud Run with Memorystore caching

preview_player
Показать описание

Is your mobile app or web app having performance issues? Are your users reporting that it is running slow? In this episode of Serverless Expeditions Extended, we walk through how to use Memorystore (Redis) caching to improve your mobile or web app performance.

Timestamps:
0:00​ - Intro
0:55 - Designing the cache
1:25 - Setting up Memorystore (Redis)
2:40 - Updating the code in the Cloud Run service
4:02 - Updating values in the cache
5:06 - Other caching strategies


#ServerlessExpeditions​ #ServerlessExpeditionsExtended #CloudRun

Product: Memorystore; fullname: Martin Omander, Craig Labenz;
Рекомендации по теме
Комментарии
Автор

So Cache Policy in API-M is actually KVM Cache?

gyananjali
Автор

Awesome, great video.. I did not know this was existed.. !!!

kks
Автор

Hi, How can I connect redis memorystore from inside a VM in compute engine? I can use telnet to talk to the redis instance, but unable to do the same from inside the cloud shell editor

logeshr
Автор

Would improving the API also work with putting up a CDN instead of a Redis cache? That way the data is always fast at hand, and when there's an update the CDN cache could be busted when updating the DB right? 🤔

RogiervandenBerg
Автор

Nice demo. Where is the VPC_CONNECTOR used in the code?

SeshachalapathiAndukuri
Автор

How can you access the redis-instance while developing locally given it's in a VPC?

garyhost
Автор

After trying to create my VPC connector I got an error. "Operation failed insufficient quota in region"

carlitosdroid
Автор

I don't think you are using Read-Through. It is rather Cache-Aside strategy. Not sure about write strategy because you don't share how that is being done.

But thank for the demo!

TheMehul
Автор

Who else finds dates and times in the menu bar on videos annoying.

MattSeymour
Автор

Did you use PUT instead of PATCH for the request?
Still they say DSA is important to crack interviews in FAANG. Just mocking.

RayCh
Автор

no explanation of fields, what kind of demo is this

himanshusuri