I have read about various issues in using HAProxy and socket-io (websockets mode). I am currently working on a project that's heading towards that direction - anyone has anything to share on that front?
nginx supports http1.1 reverse proxying as of a few weeks ago http://wiki.nginx.org/HttpProxyModule Mikito Takada (Zendesk) has some really helpful information regarding socket.io + haproxy specific workarounds via http://blog.mixu.net/2011/08/13/nginx-websockets-ssl-and-soc...
The Trello Tech Stack
21–30 of 96 posts
Re: The Trello Tech Stack
#22I have read about various issues in using HAProxy and socket-io (websockets mode). I am currently working on a project that's heading towards that direction - anyone has anything to share on that front?
nginx supports http1.1 reverse proxying as of a few weeks ago http://wiki.nginx.org/HttpProxyModule Mikito Takada (Zendesk) has some really helpful information regarding socket.io + haproxy specific workarounds via http://blog.mixu.net/2011/08/13/nginx-websockets-ssl-and-soc...
Also - I took a look at the article - it does not mention using a total node approach of using something like node-http-proxy for load balancing. Any idea on such a set-up? I need HTTPS as well.
Re: The Trello Tech Stack
#23It seems Socket.io has not had any contenders yet..
1: http://dev.w3.org/html5/eventsource/ 2: https://gist.github.com/1560654
Re: The Trello Tech Stack
#24Great write up. Hopefully that ephemeral data in Redis can scale. They could have used something like Pusher for about half of their implementation (the websockets, message pushing, polling, etc) I bring this up because I built an OSS Pusher clone[1], for those people that want to deploy their own, built on the Play! framework. [1] https://github.com/danbeaulieu/PushPlay
There's also this ruby implementation that plays nice with all the pusher libs https://github.com/stevegraham/slanger
Re: The Trello Tech Stack
#25Re: The Trello Tech Stack
#26Does anyone know of any open-source projects out there using a similar stack? I'm particularly interested in learning more about client-side view rendering with Backbone and Mustache... server side can be any of Node, Rails or Django.
If you want to look a couple really-small examples I have a couple apps on github I used for learning backbone.js/coffeescript. They both use the underscore.js template engine.
https://github.com/jwarzech/realtime_hn Backend is sinatra, takes a HN story url and polls the comments in reverse chronological order.
https://github.com/jwarzech/inspire_board Backend is rails, polls images from dribbble and lets you save your favorites.
Re: The Trello Tech Stack
#27Re: The Trello Tech Stack
#28If you could do this over again, would you still choose socket.io for websockets, or would you go with something else like PusherApp?
Re: The Trello Tech Stack
#29Our stack is Redis, MongoDB, Nginx, SCSS, HAML, Coffee, Rails and NodeJS. I'm extremely happy with these choices.
Recently me and a friend did a small weekend project: www.bubblefap.com (nsfw) The design and code is a homage to ugliness. We only used PHP-ActiveRecord and that's it. and I had so much fun!
I just hacked away! I was cowboy coding, hacking away, and I didn't need to think about frameworks and architecture and integration with fog and hacking Rack to support flash uploads. Oh, good times :-)
Re: The Trello Tech Stack
#30Very cool. What do you use for search?