Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Created a Redis app that connects to a TCP server to provide analytics, rate-limiting using the NodeJS and Redis

TCP Server & Redis Integration

Build a TCP server on port 9736 that uses a text-based, line-delimited protocol.

  • Protocol: Commands are sent as \n, and responses are returned as \n.

Commands

  • PING
  • Request: PING\n
  • Response: PONG\n
  • STATS
  • Request: STATS\n
  • Response: TOTAL_KEYS:\n
  • PATTERN
  • Request: PATTERN \n
  • Response: COUNT:\n

RateLimiter: Implemented different rate limiters

About

Redis Tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors