Review main Abandoned

65400[POC][TASK] Stream result items in LiveSearch

Andreas Kienast CR 0 V 0 Hard +406 −140 updated 11/09/21, 21:53

Commit message

In order to optimize the user experience on heavy lifting tasks, e.g.
searching many records via LiveSearch, a new `IteratorDirectOutputStream`
is introduced which iterates a Generator and sends each item chunk by
chunk to the client.

In the same run, the autocomplete library is ditched from the LiveSearch
as it isn't capable of streams.

TODO:
- Fine-tune search behavior to avoid concurrent requests
- Stabilize streaming, this is *very* flaky right now

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 5