So in my E-commerce shop it takes 1,5 sec to load some heavy pages, with Redis it’s just 0,1 sec. My boss today was speechless :D
@Redisinc2 жыл бұрын
Love it! Glad we could be a part of that success!
@antoniopavicevac-ortiz88862 жыл бұрын
I love clear, concise and a adroit presentation of how to do something!
@pcraov12232 жыл бұрын
Nice and clear. Much simplified explanation and demonstration about Redis Cache. Thanks Justin.
@Redisinc2 жыл бұрын
Glad it was helpful! Let me know what other content you'd like us to cover :) - Justin
@Reecepbcups2 жыл бұрын
Thank you! This was amazing. As someone just learning JS & already a lover of Redis, learned a lot here
@Redisinc2 жыл бұрын
That's so great to hear! Make sure to check out Guy Royse's livestreams as well, he writes everything in JS and is always entertaining. You should also check out our Redis University course integrating Redis with JS here: university.redis.com/courses/ru102js/ Best of luck! - Justin
@deveshb7933 жыл бұрын
Loved the way you explained Justin, thank you!
@Redisinc3 жыл бұрын
My pleasure! - J
@cappuccinopapi30383 жыл бұрын
Now this is developer advocacy!
@4F2E4A2E3 жыл бұрын
I just love this guy and content! Thank you!
@Redisinc3 жыл бұрын
Aww thanks, buddy! Love ya too! - Justin
@sebastiansanta27922 жыл бұрын
Redis is great! I learned it quick and made a small web app with it the same day. Super easy to learn and so useful
@Redisinc2 жыл бұрын
That's awesome, Sebastian! You should check out our discord (discord.gg/redis) and share your progress! - Justin
@ipxify Жыл бұрын
watched this video , learn 10 things more than just cache
@phil52932 жыл бұрын
Great video. I had a problem at first with 'process.env.WEATHER_API_KEY'. I ended up viewing other KZbin videos to figure out that I needed to set up a system environment variable. I am new to NodeJS
@Redisinc2 жыл бұрын
Thanks, Phil! I should have added a comment in the code to explain that better. I'll add that now. Welcome to the wild, wacky world of Node.js! - Justin
@SakosTechSpot2 жыл бұрын
bay area represent! thanks for the video!
@rajeshkhadka2252 жыл бұрын
Here we are caching data locally into the machine, but when the app goes for deployment where does the cache stored ??
@privymassage34582 жыл бұрын
Exactly. Today I tried SISMEMBER with redis enterprise cloud the response is only a 1 / 0 the time it took was between 78ms and 14ms. That's time added to my api response. So imagine something more heavy 🤔
@Redisinc Жыл бұрын
@@privymassage3458 you'd want to run your code as close as possible to the database to minimize round trip latency. Using Redis Cloud you can choose between AWS, Azure and GCP and pick the same or closest region to where you run your applications to achieve this.
@rafaelfu6242 жыл бұрын
Awesome!
@sujezz2 жыл бұрын
Wouldn't t1 get the date before you get data ? Shouldn't you use it in .then() or .finally() ?
@jameslewis5604 Жыл бұрын
Have you done something to expand on this demonstrating what you would do with redis if the app has multiple instances?
@Redisinc Жыл бұрын
With Redis in the cloud, all of the applications would hit the same Redis instance. The first time an app instance hits a query and saves the result in the cache, other subsequent instances would check the Redis cloud and use that result until the TTL deletes that cache entry. Did that answer your question? - Justin
@jameslewis5604 Жыл бұрын
Justin. Lets take your great weather app as an example. Lets imagine we get update messages from our weather client telling us that the weather has changed rather than the 1hr TTL you did in the app and we want to pre warm the cache based on that message. Lets also imagine we want to be highly available so we have 2 instances of our weather app running in 2 different data centers. When both apps receive the update message from the weather center how do we stop contention in Redis? @@Redisinc
@seyyedkhandon5 ай бұрын
How can we store json in redis cluster using ioredis without json-stringify/parse?
@gabrielvillela27382 жыл бұрын
Justin Castilla Love the video! but need help with one part of the tutorial. Do you do zoom meeting by any chance?
@Redisinc2 жыл бұрын
Glad you enjoyed the video! We don't really do zoom meetings, but you can join our discord channel at discord.gg/redis and we should be able to assist. - Justin
@rayfananda30832 жыл бұрын
it's mind blowing
@Redisinc2 жыл бұрын
🤯
@alexi_space2 жыл бұрын
I got this error after importing ioredis : This dependency was not found: * dns in ./node_modules/ioredis/built/cluster/ClusterOptions.js To install it, you can run: npm install --save dns
@SP-yh5op Жыл бұрын
Can we do partial updating if cache is a json string. Also does cache supports other data types like List JSON apart from string
@Redisinc Жыл бұрын
Check out the JSON data type in Redis Stack which allows for atomic in place updates of JSON data in Redis redis.io/docs/stack/json/
@martg02 жыл бұрын
why using axios and not only fetch directly? thanks!
@Redisinc2 жыл бұрын
I like axios! - Justin
@martg02 жыл бұрын
@@Redisinc ok! I was wondering because it adds weight to the bundle size, and we recently took this import out replacing it with native fetch.
@vasurangpariya8492 Жыл бұрын
During setting and getting key into redis we need to JSON parse and stringify the large object and that creates performance issue so how to overcome with that issue
@Redisinc Жыл бұрын
You can set/get JSON directly into Redis without having to serialize it into a String! Check it out here: redis.io/docs/stack/json/
@varunkulkarni9765 Жыл бұрын
can we cache external api calls from django server
@Redisinc Жыл бұрын
absolutely!
@m126522 жыл бұрын
Thank you…
@Entertainment_Zone25222 жыл бұрын
How can MySQL update data in real time in redis cache?
@socat93118 ай бұрын
how is your redis docker config? are you using docker desktop? i try to do this but does not seem the redis instance is visible outside the container, trying to figure out how docker desktop does the mapping basically
@Redisinc8 ай бұрын
This is the command I use to start up a Redis-Stack image with RedisInsight. It exposes the Redis default port (6379) and the browser access to Redis Insight (8001): docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest Here's our page on the different configurations. Hope this helps! - Justin
@socat93118 ай бұрын
@@Redisinc thanks!
@thatguycodes3 жыл бұрын
saved me
@cloccawoerc2 жыл бұрын
could you share the repo in this example?
@Redisinc2 жыл бұрын
Here you go! github.com/redis-developer/redis-caching-api-responses