Chapter 17. Setting up a Production Server
In the previous chapter we covered how to set up Zope in a server environment. Zope is only one of the services that we commonly deploy to production servers, however, and we have yet to consider hardware or operating system configuration.
In this chapter, we will cover:
- The server components that make up a production-grade Plone deployment: web server, caching reverse proxy, load balancer, Zope instances, and database
- Common configuration and deployment options
- Hardware selection and operating system configuration
- Profiling and deadlock debugging
- Optimization through resource merging
- HTTP caching
- Testing and benchmarking tools
Server components
A Plone deployment usually incorporates the following logical services:
- A web server, responsible for decrypting SSL traffic (if applicable), applying virtual host rewrites (see further) and, sometimes, serving static resources
- A caching reverse proxy, which serves static or shared resources when possible...