Hi,
thanks for the information. If I'm able to make it work, I'll tell you.
About the nginx automatic failover, thanks, I didn't know, it will help. I was knowing how to use upstream to use multiple server, but I didn't know how to make it handle crashed process.
My goal is to be able to get slashdotted. One multi-core computer won't be enough if that happen even with multiple process to handle the static(nginx) and dynamic(pyramid) server (I have a computer with 2 CPU 4 cores Xeon5620). I wanted the server to tell the client the speed at witch it can contact him. I didn't taught of setting this logic inside the client: make the client time how long it took to contact the server. It is not the best solution I think, but if I'm not able to make my first idea work, it is a good fall back I think. The client have logic to do exponential back-off connection to the server if it fail to contact him, but I don't like relying on this to be able to scale to more client!
thanks
Frédéric