Hi,
We have updated the infrastructure for running the demo servers.
Now we can support to run a demo server for each supported series (#5)
instead of the last 3 series.
The web client (sao) is also accessible via the standard http port.
For the record, the infrastructure is design like this:
- one lighttpd server as local proxy based on hostname
- one virtual-env for each series:
- listening on 127.x.y.1 (x.y is the series)
- one postgresql user per series
- one generic rc script to start each series (using OpenRC and
symlink)
- one restore script run from crontab (every sunday at 2:00 CET)
that loops over each virtual-env:
- stop service
- clean data path
- restore database dump
- update using pip and requirements.txt
- start service
With such structure we could even manage more series than the 5
supported, we will see if we stop a series once its support ends.
If needed, we could configure OpenRC to limit the resource usage using
cgroups.
Also it will be possible to do load-balancing on many process of the
same series.
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/