https://dev.arvados.org/https://dev.arvados.org/favicon.ico?15576888422016-10-12T20:29:50ZArvadosArvados - Idea #10245: [Performance][Workbench] Computing user notifications in topnav is expensive. Can the user's properties be used instead?https://dev.arvados.org/issues/10245?journal_id=439872016-10-12T20:29:50ZRadhika Chippadaradhika@curoverse.com
<ul></ul><p>Every page load as well as dashboard refresh at 15s intervals results in computing user notifications ( @@notification_tests ).</p>
<p>This is especially expensive in su92l, but not too cheap in qr1hi either (see log below).</p>
<p>It would be desirable that we remember the fact that the user has created a pipeline_instance and a collection in user properties (similar to getting_started notification) and use this information instead rather than computing this for every page load / refresh.</p>
<p>We might be able to accomplish this by setting these properties the first time they are found when computing @@notification_tests (rather than overloading server side when these objects are created).</p>
<pre>
su92l
production.log:{"method":"POST","path":"/arvados/v1/collections","format":"*/*","controller":"arvados/v1/collections","action":"index","status":200,"duration":78188.8,"view":0.72,"db":78132.13,"params":{"api_token":"m51fv1765fxl8qny8bwd4t3g5fw6kftqaqgck82g5p09k39x5","reader_tokens":"[false]","current_request_id":"1475530528-710836597","_method":"GET","where":"{\"created_by\":\"<a href="https://arvadosapi.com/su92l-tpzed-2hxfl1bjoe64dpr">su92l-tpzed-2hxfl1bjoe64dpr</a>\"}","limit":"1","offset":"0","_profile":"true"},"@timestamp":"2016-10-03T21:38:13Z","@version":"1","message":"[200] POST /arvados/v1/collections (arvados/v1/collections#index)"}
production.log:{"method":"POST","path":"/arvados/v1/pipeline_instances","format":"*/*","controller":"arvados/v1/pipeline_instances","action":"index","status":200,"duration":2158.64,"view":1.14,"db":1963.41,"params":{"api_token":"m51fv1765fxl8qny8bwd4t3g5fw6kftqaqgck82g5p09k39x5","reader_tokens":"[false]","current_request_id":"1475530528-710836597","_method":"GET","where":"{\"created_by\":\"<a href="https://arvadosapi.com/su92l-tpzed-2hxfl1bjoe64dpr">su92l-tpzed-2hxfl1bjoe64dpr</a>\"}","limit":"1","offset":"0","_profile":"true"},"@timestamp":"2016-10-03T21:38:16Z","@version":"1","message":"[200] POST /arvados/v1/pipeline_instances (arvados/v1/pipeline_instances#index)"}
</pre>
<pre>
qr1hi
{"method":"POST","path":"/arvados/v1/collections","format":"*/*","controller":"arvados/v1/collections","action":"index","status":200,"duration":303.61,"view":0.46,"db":290.66,"params":{"api_token":"2asumwa75rz2gu5331pshrqy5aebysooa658zxsh4w387bk7rc","reader_tokens":"[false]","current_request_id":"1475870355-516042097","_method":"GET","where":"{\"created_by\":\"<a href="https://arvadosapi.com/qr1hi-tpzed-ktpvhqu89qoib9f">qr1hi-tpzed-ktpvhqu89qoib9f</a>\"}","limit":"1","offset":"0","_profile":"true"},"@timestamp":"2016-10-07T20:01:27Z","@version":"1","message":"[200] POST /arvados/v1/collections (arvados/v1/collections#index)"}
{"method":"POST","path":"/arvados/v1/pipeline_instances","format":"*/*","controller":"arvados/v1/pipeline_instances","action":"index","status":200,"duration":28.73,"view":0.49,"db":13.61,"params":{"api_token":"2asumwa75rz2gu5331pshrqy5aebysooa658zxsh4w387bk7rc","reader_tokens":"[false]","current_request_id":"1475870355-516042097","_method":"GET","where":"{\"created_by\":\"<a href="https://arvadosapi.com/qr1hi-tpzed-ktpvhqu89qoib9f">qr1hi-tpzed-ktpvhqu89qoib9f</a>\"}","limit":"1","offset":"0","_profile":"true"},"@timestamp":"2016-10-07T20:01:28Z","@version":"1","message":"[200] POST /arvados/v1/pipeline_instances (arvados/v1/pipeline_instances#index)"}
</pre> Arvados - Idea #10245: [Performance][Workbench] Computing user notifications in topnav is expensive. Can the user's properties be used instead?https://dev.arvados.org/issues/10245?journal_id=545312017-08-29T13:52:55ZTom Morristfmorris@veritasgenetics.com
<ul><li><strong>Target version</strong> set to <i>Arvados Future Sprints</i></li></ul> Arvados - Idea #10245: [Performance][Workbench] Computing user notifications in topnav is expensive. Can the user's properties be used instead?https://dev.arvados.org/issues/10245?journal_id=947672021-07-07T18:22:19ZWard Vandewegeward@curii.com
<ul><li><strong>Target version</strong> deleted (<del><i>Arvados Future Sprints</i></del>)</li></ul> Arvados - Idea #10245: [Performance][Workbench] Computing user notifications in topnav is expensive. Can the user's properties be used instead?https://dev.arvados.org/issues/10245?journal_id=1120162023-02-14T22:23:25ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Release</strong> set to <i>60</i></li></ul> Arvados - Idea #10245: [Performance][Workbench] Computing user notifications in topnav is expensive. Can the user's properties be used instead?https://dev.arvados.org/issues/10245?journal_id=1233882024-03-01T21:13:18ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Target version</strong> set to <i>Future</i></li></ul>