Hi guys, >>> Maybe you could try with the latest (0.5.12) version?
I've rerun the tests with 0.5.12 and the difference is exactly the same. FastCGI is 5 times *slower* than simple HTTP! >> Well by default nginx is going to cache the proxied server's response >> before sending it to the client, that could explain the 1msec or so. >> I'm sure you'd have different results over a slower link where it >> makes more sense to do that kind of caching. I'm not so worried about the 1ms difference. There is bound to be an overhead adding another component to the stack. What does seem strange is that people are claiming FastCGI performance is better than HTTP performance when in my tests the HTTP performance is 5 times faster! >> I'm sure there's things that can be done to paste.httpserver to make >> it come closer to FastCGI in performance. Hang on a sec, FastCGI is 5 times slower than HTTP, surely it is the FastCGI implementation that requires improvement? > Maybe. I'm going to be investigating fapws (and perhaps CherryPy's WSGI > server as well) to see if there's any significant gain by using those > rather than paste.httpserver (although I suspect most of the overhead is > in the framework and application, not the HTTP server itself, so even > significant gains in HTTP performance might not add up to much overall)> Again, my tests clearly show HTTP is 5 times faster than FastCGI. Am I missing a trick? Cliff: Do you still have the links to the benchmarks you mentioned, I'd be interested to see the setup being tested. Perhaps you are proxying to multiple FastCGI backends which is of course going to be faster than a single HTTP backend but you can also proxy to multiple HTTP backends so that isn't comparing like with like. I'd really like to get to the bottom of these rumours because if there is a faster way of serving a Pylons app I'm keen to document it so that everyone can benefit. Cheers, James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
