comparison doc/upgrading.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 b56bd672ebbf
children 2bca9fcef70d
comparison
equal deleted inserted replaced
6746:efa203f3c696 6747:d32d43e4a5ba
206 changing ``16`` to the id in the second column of the table output. 206 changing ``16`` to the id in the second column of the table output.
207 The example uses interactive mode (indicated by the ``roundup>`` 207 The example uses interactive mode (indicated by the ``roundup>``
208 prompt). This prevents the new password from showing up in the output 208 prompt). This prevents the new password from showing up in the output
209 of ps or shell history. The new password will be encrypted using the 209 of ps or shell history. The new password will be encrypted using the
210 default encryption method (usually pbkdf2). 210 default encryption method (usually pbkdf2).
211
212 Enable performance improvement for wsgi mode (optional)
213 -------------------------------------------------------
214
215 There is an experimental wsgi performance improvement mode that caches
216 the loaded roundup instance. This eliminates disk reads that are
217 incurred on each connection. In one report it improves speed by a
218 factor of 2 to 3 times. To enable this you should add a feature flag
219 to your Roundup wsgi wrapper (see the file
220 ``.../share/frontends/wsgi.py``) so it looks like::
221
222 feature_flags = { "cache_tracker": "" }
223 app = RequestDispatcher(tracker_home, feature_flags=feature_flags)
224
225 to enable this mode. Note that this is experimental and was added
226 during the 2.2.0 beta period, so it is enabled using a feature flag.
227 If you use this and it works for you please followup with an email to
228 the roundup-users at lists.sourceforge.net mailing list so we can
229 enable it by default in a future release.
211 230
212 Migrating from 2.0.0 to 2.1.0 231 Migrating from 2.0.0 to 2.1.0
213 ============================= 232 =============================
214 233
215 Rdbms version change from 5 to 6 (**) 234 Rdbms version change from 5 to 6 (**)

Roundup Issue Tracker: http://roundup-tracker.org/