zulip/zulip

Contribute Zulip's production database/memcached/etc. performance logging framework to Django Upstream

Open

#974 ouverte le 7 juin 2016

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Python (19 672 stars) (7 339 forks)batch import
area: dependencieshelp wanted

Description

The accounting that we do in via monkey-patching in zerver/lib/db.py and zerver/lib/cache.py (and the corresponding logging in zerver/middleware.py) is really nice, and would be a great feature to contribute back to Django upstream, since a lot of other projects would likely find it useful as well (probably the most common Django performance issue is to accidentally do database queries in a loop, and this makes it really easy to debug those in production).

I talked to a Django core team member at PyCon, and he suggested the next step for this feature is probably to do a writeup of the feature and email it out to the Django mailing lists. I will probably find time to do this eventually, but if anyone's interested in helping get this feature into Django mainline, let me know and I'd be happy to help make this happen!

Guide contributeur