How to creating a real-time queuing system [closed]

  angular, nestjs, node.js, redis, socket.io

Technology i am using: –

  • Angular
  • Nodejs(NestJS)
  • Mysql

Background: –

  • Multiple room.
  • Multiple station (for example 5 station).
  1. A user will join a queue in a room, default FIRST station.
  2. User will be server in FIRST station, and then move on to join queue for SECOND station. Goes on until end.

Considering

  • Using Redis to store the queue, instead of Mysql, for faster Get?
  • Using Socket.IO for rooms, and update frontend if new user join room or leave room. Counting the number of user in room to show, number of pax before them.

Thanks guys

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.