How does Discourse implement live update notifications?

If you’re curious, MessageBus is implemented using long polling (it does not support Websockets), which means the ‘live’ updating is done through requests which are held waiting on the server until something needs to update, at which point it responds with some data, and then initiates another ‘long’ request.

Sam’s exhaustive explanation here.

5 Likes