plans icon indicating copy to clipboard operation
plans copied to clipboard

REDIS - 0 to 1

Open melvinodsa opened this issue 7 years ago • 5 comments

Redis

Learn Redis. Redis is a popular tech used as a

  • cache for the key-value store
  • message broker
  • database Having hands-on on this topic is good.

Overview

  • Spend some time learning Redis
  • Create a small set of applications to discover different use case of Redis.
    • A dummy application to mock data for the e-commerce platform. Through this application, we can feed in data. Call it a data publisher. It will push platform metrics data into Redis cache. Then will pass the message through Redis about the data changes
    • Another application that uses Redis cache to store and keeps a real-time track of the platform metrics(call it data subscriber). This web application will retrieve the platform metrics information on-demand from Redis cache. It will use web sockets for active connection with its client. It subscribes to the data changes published by the data publisher. If data change, ti will push the new metric information to the client.

Takeaways

  • Redis Overview
  • Redis key-value cache store
  • ~~Master/slave replication in Redis~~
  • Redis as a message broker
  • ~~A little hands-on Docker~~

Location

myHQ coworking space. They have one-day free trial. They have a coworking space at Sector-4 Noida that is near to the metro station. So easily folks can meet up without much hassle.

melvinodsa avatar Mar 21 '19 16:03 melvinodsa

@melvinodsa I am really glad to see this excitement and this issue can be a great example for the others when they want to open an issue.

Thanks a lot @melvinodsa 👍

ashokdey avatar Mar 21 '19 16:03 ashokdey

@melvinodsa & @ashokdey, hello guys I am also interested for this learning of REDIS and I have few Ideas.

App Description

I want to wok on building a simple middleware for express/koa using redis to monitor the API usage. It will do the following:

  • Most consumed route
  • Who are the frequent users

Benefits

And based on these stats, the middleware should be able to rate limit the api. Also it should be able to block a user if a user is over utilizing a certain endpoint for a certain time. Over utilization can be determined by assigning a certain frequency to a route for a user.

About me

I am a full stack developer mostly working with backend architecture now a days. I am good with the following:

  • Node.js
  • MySQL/MongoDB
  • Java

Thank You

rama41222 avatar Mar 22 '19 17:03 rama41222

This is great to see you are interested @rama41222 ☺️

I will comment with my ideas too!

ashokdey avatar Mar 22 '19 17:03 ashokdey

@melvinodsa and @rama41222, we need to add the missing task: Reset the counts once it's lapsed

ashokdey avatar Apr 23 '19 05:04 ashokdey

My bad closed this by mistake.

ashokdey avatar Apr 23 '19 05:04 ashokdey