20,000 feet overview
The sub pages will describe the setup of this prototype on a “clean” Debian Lenny on the Rackspace cloud. The virtual machine has 4GB ram, 160GB disk space.
There are a bunch of one time setup steps; depending on your experience you may find them easy, skip them or follow them precisely. It is highly recommended to follow the steps from Postgresql as literally as possible. After the one time setup, it’s a matter of (re-)deploying the application. The rest should stay the same (except for the mandatory updates via package management tools).
Jetty uses logback and rsyslog, but for this test setup Jetty’s own rolling stderr.out and access logging have not been disabled. Makes it easy to debug, if needed.
Our setup existed of:
Apache as reverse proxy
Jetty as container for the application
This is more or less the standard web application stack if you use an application server. We assume everything running one machine for now. It’s easy to have Apache balance between multiple boxes once the service becomes more and more succesfull though.