Trigger page-reload on new deployments
Hey everyone,
I'm working on a project and need some advice on how to efficiently implement functionality to trigger a page reload when a new deployment is triggered. This implementation needs to be able to scale across different servers behind load-balancers with 100k active users in peak periods.
Here's what I have in mind:
WebSocket Connection: Maintain a WebSocket connection to listen for deployment events from the server.
Polling: Use a polling mechanism to regularly check for new deployments.
Has anyone implemented something similar or have insights on the best approach? tips would be greatly appreciated!
Thanks in advance for your help!
I'm working on a project and need some advice on how to efficiently implement functionality to trigger a page reload when a new deployment is triggered. This implementation needs to be able to scale across different servers behind load-balancers with 100k active users in peak periods.
Here's what I have in mind:
WebSocket Connection: Maintain a WebSocket connection to listen for deployment events from the server.
Polling: Use a polling mechanism to regularly check for new deployments.
Has anyone implemented something similar or have insights on the best approach? tips would be greatly appreciated!
Thanks in advance for your help!