mopemope / meinheld

Meinheld is a high performance asynchronous WSGI Web Server (based on picoev)
http://meinheld.org
Other
1.47k stars 103 forks source link

Suggest disable access logging by default #39

Open bulletmark opened 10 years ago

bulletmark commented 10 years ago

I have a small bottle based web app managing my raspberry pi home alarm system and did some primitive bench marking of all the many bottle supported web servers using ab. Bjoern does not log requests and it came out significantly on top with 133 requests/sec. Meinheld was about 1/2 this rate. However if I disable logging with meinheld.set_access_logger(None) and set_error_logger(None) then meinheld performs essentially same as bjoern, much faster than all the other servers.

I wonder why you don't disable logging by default, given the performance implications? Just a suggestion.

bulletmark commented 6 years ago

Changed the title because I suggest you at least disable access logging by default, for performance reasons.