Hi,
> I'm rather new to ebb.
me too:)
> didn't found anything about ebb clusters. Is there such thing at all?
> Or if there is no one how does ebb handle high loads on single
> instance?
No you should be running multiple instances of Ebb behind a load
balancer. You'd just start them on different ports. I do this with
Monit. So I'd have several entries like this in my monitrc file.
check process myApp4000
with pidfile /home/webuser/myApp/current/tmp/ebb.4000.pid
start program = "/usr/bin/ruby /usr/bin/ebb_rails start -d -e
production -p 4000 -P /home/webuser/myApp/current/tmp/ebb.4000.pid -c
/home/webuser/myApp/current" as uid webuser and gid webuser
stop program = "/usr/bin/ruby /usr/bin/ebb_rails stop -P
/home/webuser/myApp/current/tmp/ebb.4000.pid" as uid webuser and gid
webuser
if totalmem > 120.0 MB for 2 cycles then restart
if loadavg(5min) greater than 10 for 8 cycles then restart
group myApp
check process myApp4001
with pidfile /home/webuser/myApp/current/tmp/ebb.4001.pid
start program = "/usr/bin/ruby /usr/bin/ebb_rails start -d -e
production -p 4001 -P /home/webuser/myApp/current/tmp/ebb.4001.pid -c
/home/webuser/myApp/current" as uid webuser and gid webuser
stop program = "/usr/bin/ruby /usr/bin/ebb_rails stop -P
/home/webuser/myApp/current/tmp/ebb.4001.pid" as uid webuser and gid
webuser
if totalmem > 120.0 MB for 2 cycles then restart
if loadavg(5min) greater than 10 for 8 cycles then restart
group myApp
One for each instance. You start the processes independently.
ry