My company is exploring a realtime notification system as follow.
Users are separated into groups. Eg. User A in Group X and Y. User A performed an action in Group X, PHP server will send a notification to node.js to be broadcast to users in Group X only. Only PHP backend can send messages to node.js for broadcasting, not users.
Use of redis to allow horizonal and vertical scaling. I only need a fully workable baseline.
Please reply by proposing on
1) what necessary technologies and frameworks to use
2) how to implement security such as authentication
3) how to integrate with PHP backend
Expects to be fully contactable via IM, email, etc. My company is located in Singapre GMT+8.