# Nginx upstream for broadcasting update messages?

**URL:** <https://www.ruby-forum.com/t/nginx-upstream-for-broadcasting-update-messages/219028>\
**Category:** NGINX\
**Created:** [April 19, 2012, 3:30am UTC](https://www.ruby-forum.com/t/nginx-upstream-for-broadcasting-update-messages/219028 "2012-04-19T03:30:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurdipe\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/b77776/32.png) [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Post date:** [April 19, 2012, 3:30am UTC](https://www.ruby-forum.com/t/nginx-upstream-for-broadcasting-update-messages/219028/1 "2012-04-19T03:30:02Z")

</div>

Hi,

I have 2 memcache boxes behind nginx. For reads, the upstream module  
lets me round-robin between the backend memcache boxes. I want the  
updates to go to all 2 memcache boxes. My question is, what is the  
best way to broadcast the updates to the backend? Is there a  
reference implementation of some module which does similar stuff  
(broadcast)?

Thanks  
Ashish

---

<div class="post-metadata">

**Author:** ![ashishsdev](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@ashishsdev](https://www.ruby-forum.com/u/ashishsdev)\
**Post date:** [April 19, 2012, 10:17pm UTC](https://www.ruby-forum.com/t/nginx-upstream-for-broadcasting-update-messages/219028/2 "2012-04-19T22:17:53Z")

</div>

Hi,

Anyone with experience with a similar use-case? Any recommendations  
here?

Thanks,  
Ashish

---

<div class="post-metadata">

**Author:** ![ashishsdev](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@ashishsdev](https://www.ruby-forum.com/u/ashishsdev)\
**Post date:** [April 23, 2012, 8:01pm UTC](https://www.ruby-forum.com/t/nginx-upstream-for-broadcasting-update-messages/219028/3 "2012-04-23T20:01:10Z")

</div>

Hi There,

Anyone with some experience here? I stumbled upon the http push module  
[HTTP Push Stream | NGINX](http://wiki.nginx.org/HttpPushStreamModule), but do you recommend to  
follow its path?

Thanks,  
Ashish.
