Contribute Media
A thank you to everyone who makes this possible: Read More

Building a hosting platform with Python

Summary

[EuroPython 2011] Andrew Godwin - 20 June 2011 in "Track Lasagne"

Description

At ep.io we built a Python hosting platform from the ground up, designed to run large numbers of web applications on a small number of physical machines both securely and in a reasonably scalable way. This talk will show you how we built our infrastructure - using Redis, eventlet, PostgreSQL and more - and what lessons we learnt from our first few thousand deploys.

See how we split services into multiple processes and greenthreads; the pains of building a cooperatively-multitasking PTY module; how Redis isn't the answer to everything, but is still very useful; how to persuade third-party software to work securely in a shared environment; and how important it is to have good logging, especially when you have more than five servers.

Details

Improve this page