These are chat archives for GeniusesOfSymfony/WebSocketBundle

Jun 2015
Jun 25 2015 17:53
Hello, I am trying to implement some notifications in my app. The goal is to have a user real time notices about process in back-end. For example: the server wants to inform user with a popup flash message about new event (friend request, new message etc.). I have successfully launched websocket server and registered periodic service every 0.5 of sec. I believe this service should do foreach for all active clients fetching the messages from MySQL and should notice the client if exists any. Do you think is it a good idea or you would suggest something more clever? The key things are, that the system should use MySQL for messages and it could hold ~30k active users with low latency...
The front-end is using angular, but I do not sure yet how it will implement WebSockets (natively or whatever)