lundi 27 juillet 2015

Can too much logging impact the performance of web application?

For a web application written in python/Django, does logging volumn impact web performance?

For Go, I can start a goroutine to write logs asynchronously, but AFAIK, python logging is synchronous, log writing is part of request processing. But how much time does it take generally, compared to other activities like accessing DB, or rendering template, etc? Should I be concerned?

I understand I can adjust logging levels to reduce the amount of logs produced, but I still want to keep as much logs as possible if it doesn't seriously impact performance.




Aucun commentaire:

Enregistrer un commentaire