Skip to content

WIP: Rayon pool

Jordan Petridis requested to merge rayon-pool into master

This needs a perf regressions test before being merged.

The only thing that worries me is that if the since the requests we make are polling and thus blocking threads, media requests might pile up downloading and block the other requests till they are done regardless of the nature/resource constrains of the other requests.

One way to mitigate this would to have 2 or more threads depending on the priority of the request. I.E downloading media and avatars should have a lower priority and their own pool so even if we have blocked the media pool the message request pool will be responsive.

Merge request reports