Mercurial > p > roundup > code
diff CHANGES.txt @ 6747:d32d43e4a5ba
wsgi can cache tracker instance enabled by feature flag.
Patch by Marcus Priesch caches a loaded tracker instance and reuse it
for future client sessions.
It is enabled by a feature flag in wsgi.py since it arrived during the
2.2.0 beta period.
The provided wsgi.py is modified to enable it. Testing is run with
flag enabled and disabled.
Ralf Schlatterbeck and Marcus tested it on one of their larger more
complex trackers and it sped up the response time to a client request
by a factor of 3 (270ms down to about 80-85ms).
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 02 Jul 2022 14:04:00 -0400 |
| parents | efa203f3c696 |
| children | 2bca9fcef70d |
line wrap: on
line diff
--- a/CHANGES.txt Sat Jul 02 13:52:52 2022 -0400 +++ b/CHANGES.txt Sat Jul 02 14:04:00 2022 -0400 @@ -176,6 +176,9 @@ i18n object is now also correctly set for the mail interface: previously the 'language' setting in the [mailgw] section seems to have been ignored. Thanks to Marcus Priesch for the patch. +- issue2551212 - speed up wsgi interface by caching the tracker + instance. Hidden behind a feature flag. See upgrading.txt for + details. (Marcus Priesch with feature flag by John Rouillard) 2021-07-13 2.1.0
