s2e-systems / dust-dds

Rust implementation of the Data Distribution Service (DDS)
Apache License 2.0
82 stars 10 forks source link

Performance optimization: Replace actor channel by unbounded channel #298

Closed jrebelo closed 3 months ago

jrebelo commented 3 months ago

Replace actor channel by unbounded channel to remove the await on the message sending. This makes the code simpler and more performant. For our system this is not problematic since most operations require waiting for a reply so there is little chance that actor buffers will be growing unboundedly.