zulip/zulip

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

Ouverte

#974 ouverte le 7 juin 2016

 (3 commentaires) (0 réaction) (0 personne assignée)Python (7 339 forks)batch import
area: dependencieshelp wanted

Métriques du dépôt

Stars
 (19 672 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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