[nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-12 Thread dvbportal
Hi, I know Nodester, which we are running at Cloudnode: > I know that nodester is hosted on AWS's and with that how many apps are > hosted per server? Are the server like a 8GB/RAM 4/core pc running maybe > 20 apps per server, or is is a micro server running just one app? You probably need to

[nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-12 Thread Tim Dickinson
>Actually, haibu is what runs everyone's apps on nodejitsu! We have a few closed source extensions for haibu, but aside from that it's all the same. In fact, I encourage you to use haibu as a starting point for something like raft. Well haibu was the first project that i found to be like mine i

[nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-13 Thread chrismatthieu
Hi Tim, I'm the founder of Nodester, the open source Node.JS PaaS. Your project sounds really cool! Answers to your questions are provided below: - I know that nodester is hosted on AWS's and with that how many apps are hosted per server? Are the server like a 8GB/RAM 4/core pc running maybe

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-12 Thread Arnout Kazemier
> >Nodejitsu uses jitsu+http because it allows us to use npm for app bundling. > I have followed a very slimier approach to you guys. Do you guys feel that it > makes user less likely to use the platform because git is not used? > > I would rather say it would be more likely that people use th

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-12 Thread Tim Dickinson
>I would rather say it would be more likely that people use the platform. Not everybody uses git, subversion and mercurial are still really big version control systems. And by starting out with HTTP support you could actually support all these different kind of version control system if you a si

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Gustavo Machado
Nodejitsu/Haibu guys, Do you have more than one Haibu server running? And if so, how would you go about doing ReverseProxy/LoadBalancing? Thanks, Gustavo Machado On Mon, Aug 13, 2012 at 2:03 PM, chrismatthieu wrote: > Hi Tim, > > I'm the founder of Nodester, the open source Node.JS PaaS. Your

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Joshua Holbrook
> Do you have more than one Haibu server running? Yes. Dedicated apps each get their own haibu server. Meaning we're running thousands of 'em. > how would you go about doing ReverseProxy/LoadBalancing? We use https://github.com/nodejitsu/node-http-proxy in our balancers. --Josh On Wed, Aug 15,

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Tim Dickinson
How do you guys Load-balance over 2 apps? are you monitoring the apps load? or is it like the cluster module does it with round ribbon or what ever its called? On Wednesday, August 15, 2012 5:40:52 PM UTC-4, jesusabdullah wrote: > > > Do you have more than one Haibu server running? > > Yes. Ded

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread José F . Romaniello
is called round-robin, I dont know if they do that but i know in the node-http-proxy there is a very nice example: https://github.com/nodejitsu/node-http-proxy/blob/master/examples/balancer/simple-balancer.js btw, I love the level of openess of both companies :) 2012/8/15 Tim Dickinson > rou

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Tim Dickinson
That is a good example but what if you have a cluster of http-proxy, you may end up sending 10 request to on app then 10 to the other. What are peoples take on loadbalanceing over two or more app? On Wednesday, August 15, 2012 5:49:41 PM UTC-4, José F. Romaniello wrote: > > is called round-robin

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Bradley Meck
When using multiple load balancers for multiple domains: 1. SNICallback in https is your friend for figuring out domains. 2. You will want to be grabbing data from a shared storage facility like a Database where you can replicate down to your balancers. This information will hold info on where t

Re: [nodejs] Re: Raft - PaaS - Advice from nodester / nodejitsu / haibu

2012-08-15 Thread Tim Dickinson
>6. Save your routing tables in memory, don't go fetch from DB on every request. For now I'm query the db every time a request comes in. I tried keeping it in memory but i need to find a better way to push to all nodes in the cluster. >7. Cluster + in memory state for apps, support nightmare To