https://bugs.kde.org/show_bug.cgi?id=422227

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/libr
                   |                            |aries/kuserfeedback/commit/
                   |                            |f22b81e8273ddbd79ff249f2f06
                   |                            |bbc87bf5074d4
         Resolution|---                         |FIXED

--- Comment #5 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit f22b81e8273ddbd79ff249f2f06bbc87bf5074d4 by David Edmundson.
Committed on 21/08/2020 at 08:42.
Pushed by davidedmundson into branch 'master'.

[server] Convert JSON fetch to stream data

Currently the code builds up all the data in a massive blob then tries
to encode the JSON. This hits a memory limit on our server for popular
products.

By fetching and printing one piece of information at a time we should
avoid this.  Fetching scalar and non-scalar information now needed to be
put together so we fetch non-scalar information on a per-row basis.

Technically more queries, but it saves hash look ups our side.

Tested against the submittest unit test. I haven't tested with "real"
data.

M  +1    -1    src/server/shared/analytics.php
M  +40   -44   src/server/shared/sample.php

https://invent.kde.org/libraries/kuserfeedback/commit/f22b81e8273ddbd79ff249f2f06bbc87bf5074d4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to