Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Worker threads for packet encryption #52

Closed
amishshah opened this issue Feb 11, 2021 · 2 comments
Closed

Worker threads for packet encryption #52

amishshah opened this issue Feb 11, 2021 · 2 comments
Assignees

Comments

@amishshah
Copy link
Member

After a very rudimentary test, I found that 40 seconds of playback of an Ogg Opus audio stream had spent 105ms time blocking the thread with packet encryption using sodium on my system.

This could contribute to stream stutters at scale.

Offloading this task to worker threads can help to reduce this.

@amishshah amishshah added this to To do in Initial Release via automation Feb 11, 2021
@amishshah amishshah self-assigned this Feb 11, 2021
@amishshah amishshah removed this from To do in Initial Release Feb 12, 2021
@amishshah
Copy link
Member Author

This issue has been deprioritised in favour of #53 for the time being.

@amishshah
Copy link
Member Author

This issue is being closed as, after some rough prototyping, it isn't worth the extra overhead and random breakages that seem to occur.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant