Skip to content

Conversation

@ShadowApex
Copy link
Contributor

@ShadowApex ShadowApex commented May 30, 2025

This change refactors source devices to so they can be implemented asynchronously.

Important

Since this change is a decently sized refactor, extensive testing should be completed before this is merged in.

With this change, we can move towards using io_uring or epoll based event processing instead of spawning a thread per source device and sleeping for a specific polling interval. This change should, theoretically, provide lower latency and processing if events are processed in this way and use a single thread per composite device. Testing and benchmarking are required to confirm this.

@ShadowApex ShadowApex force-pushed the shadowapex/async-source-device branch 4 times, most recently from c5256fa to d077be3 Compare June 2, 2025 18:03
@ShadowApex ShadowApex requested a review from pastaq June 2, 2025 18:14
@ShadowApex ShadowApex marked this pull request as ready for review June 2, 2025 18:14
@ShadowApex ShadowApex force-pushed the shadowapex/async-source-device branch from d077be3 to ee01d4b Compare June 3, 2025 16:02
@ShadowApex ShadowApex force-pushed the shadowapex/async-source-device branch 3 times, most recently from d26d35e to 54152d6 Compare June 20, 2025 00:01
@ShadowApex ShadowApex force-pushed the shadowapex/async-source-device branch from 54152d6 to 2df1cba Compare June 20, 2025 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants