# 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 februari 2013 om 20:20 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:** 18

<div class="post-metadata">

**Author:** ![eggie5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eggie5/32/115481_2.png) [@eggie5](https://meta.discourse.org/u/eggie5)\
**Post date:** [18 januari 2015 om 06:17 UTC](https://meta.discourse.org/t/how-discourse-stays-online-message-bus-faye-long-polling/3238/18 "2015-01-18T06:17:55Z")

</div>

@sam I’m looking to do some simple channel-based chat between ios/android clients and a server. Would message-bus be a good fit for this? I can publish (via HTTP post) from the clients. The only difficulty is the subscribe portion. On the server, I would need to get a callback from message-bus subscribe event so i can do a (apns/gcm) push to the clients ( I don’t want to do a socket connection).

Is this worth pursuing?

---

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