Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REDIS - 0 to 1 #2

Open
melvinodsa opened this issue Mar 21, 2019 · 5 comments
Open

REDIS - 0 to 1 #2

melvinodsa opened this issue Mar 21, 2019 · 5 comments
Assignees
Labels
Done 🥇 This topic in the issue is final and will be hosted soon good first issue Good for newcomers ongoing We are still working on it

Comments

@melvinodsa
Copy link
Member

melvinodsa commented Mar 21, 2019

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.

@ashokdey ashokdey pinned this issue Mar 21, 2019
@ashokdey ashokdey self-assigned this Mar 21, 2019
@ashokdey ashokdey added the good first issue Good for newcomers label Mar 21, 2019
@ashokdey
Copy link
Member

@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 ashokdey changed the title Redis REDIS - 0 to 1 Mar 21, 2019
@ashokdey ashokdey added the Done 🥇 This topic in the issue is final and will be hosted soon label Mar 22, 2019
@rama41222
Copy link
Member

@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

@ashokdey
Copy link
Member

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

I will comment with my ideas too!

@ashokdey ashokdey unpinned this issue Mar 28, 2019
@ashokdey
Copy link
Member

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

@ashokdey
Copy link
Member

My bad closed this by mistake.

@ashokdey ashokdey reopened this Apr 23, 2019
@ashokdey ashokdey added the ongoing We are still working on it label Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done 🥇 This topic in the issue is final and will be hosted soon good first issue Good for newcomers ongoing We are still working on it
Projects
None yet
Development

No branches or pull requests

3 participants