Roundup Tracker - Issues

Message7586

Author marcus.priesch
Recipients marcus.priesch, rouilj, schlatterbeck
Date 2022-06-27.08:31:58
Message-id <1656318718.96.0.315147505564.issue2551212@roundup.psfhosted.org>
In-reply-to
Hi There,

on our last set of patches, the speed up patch was not applied to wsgi_handler.py

upon trying what is currently in the repo i found that my rest-powered frontend again is rather slow.

timing the requests gives 

    230-240ms per request 

with the current code, whereas with the attached patch applied i come down to 

    70-80ms per request !

i remember we discussed that the code currently in use reloads the tracker/templates on every request, which was decided to be a good thing.

discussing with ralf we came to the conclusion, we could do this optionally via a config option.

my personal opinion rather would be to apply the patch and to have the "template reload" feature only when using roundup-server and not in the wsgi backend - as this (in my opinion) mainly should be used in production environments where speed matters.

however speaking about automatic code reload, django also does this (and i think web.py also, which has a smaller code base), maybe we should take a look at how they are doing things - with the current behaviour only the trackers auditors and templates get reloaded but i dont think changes in roundup core get reloaded also ... but i could be wrong here ... 

regards,
marcus.
History
Date User Action Args
2022-06-27 08:31:59marcus.prieschsetrecipients: + marcus.priesch, schlatterbeck, rouilj
2022-06-27 08:31:58marcus.prieschsetmessageid: <1656318718.96.0.315147505564.issue2551212@roundup.psfhosted.org>
2022-06-27 08:31:58marcus.prieschlinkissue2551212 messages
2022-06-27 08:31:58marcus.prieschcreate