# How does Discourse implement live update notifications?

**URL:** <https://meta.discourse.org/t/how-does-discourse-implement-live-update-notifications/46610>\
**Category:** Development\
**Created:** [29 Giugno 2016, 11:11am UTC](https://meta.discourse.org/t/how-does-discourse-implement-live-update-notifications/46610 "2016-06-29T11:11:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [29 Giugno 2016, 11:52am UTC](https://meta.discourse.org/t/how-does-discourse-implement-live-update-notifications/46610/2 "2016-06-29T11:52:45Z")

</div>

Discourse does this via its messagebus.

The messagebus the Discourse team built has its own separate repo [here](https://github.com/SamSaffron/message_bus).

It looks like the ‘latest’ topics are subscribed to [here](https://github.com/discourse/discourse/blob/8f4bc2228fd5def7a4190222b0ae993a384791d9/app/assets/javascripts/discourse/models/topic-tracking-state.js.es6#L71).

So rather than making ajax calls on a timeout, just subscribe to the messagebus.

---

_[View the full topic](https://meta.discourse.org/t/how-does-discourse-implement-live-update-notifications/46610)._
