Summary
Inspiration material: https://www.youtube.com/watch?v=lJmRf9EejU4&list=PL8NC5lCgGs6MnMLJvhFH2jLa8bLYwCzmI&index=12
The gist of this is that we could potentially improve readability of the code without impacting performance (it might even fare better) if we explore some options:
Completion Criteria
Additional Links & Resources
https://emschwartz.me/async-rust-can-be-a-pleasure-to-work-with-without-send-sync-static/
Summary
Inspiration material: https://www.youtube.com/watch?v=lJmRf9EejU4&list=PL8NC5lCgGs6MnMLJvhFH2jLa8bLYwCzmI&index=12
The gist of this is that we could potentially improve readability of the code without impacting performance (it might even fare better) if we explore some options:
Arc's everywhereSendthat we have internally, potentially simplifying code and improving performance as well (less synchronization mechanisms). Not sure if it's possible withtokio, there's https://github.com/DataDog/glommio but it'd be huge amount of work to refactor things given our frequent usage oftokioutils.Completion Criteria
moroshould be a quick winAdditional Links & Resources
https://emschwartz.me/async-rust-can-be-a-pleasure-to-work-with-without-send-sync-static/