# How discourse stays online (Message Bus, Faye, Long Polling)

**URL:** <https://meta.discourse.org/t/how-discourse-stays-online-message-bus-faye-long-polling/3238>\
**Category:** Development\
**Created:** [16 בפברואר,‏ 2013,‏ 8:20pm UTC](https://meta.discourse.org/t/how-discourse-stays-online-message-bus-faye-long-polling/3238 "2013-02-16T20:20:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Vilx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vilx/32/102920_2.png) [@Vilx](https://meta.discourse.org/u/Vilx)\
**Post date:** [16 בפברואר,‏ 2013,‏ 8:41pm UTC](https://meta.discourse.org/t/how-discourse-stays-online-message-bus-faye-long-polling/3238/2 "2013-02-16T20:41:28Z")

</div>

I too would be interested in a quick story about this architecture. I’m currently thinking how to best implement a chat (sorry, in PHP and not for Discourse), and a story about how you manage and route a large stream of messages would be very interesting. (Plus, in my case, I don’t know Ruby at all, so reading the source code would entail learning Ruby first - hence I’d like to hear a story)

---

_[View the full topic](https://meta.discourse.org/t/how-discourse-stays-online-message-bus-faye-long-polling/3238)._
