minghuaw / azeventhubs

Unofficial Azure Event Hubs SDK over AMQP 1.0 for rust
5 stars 2 forks source link

Return position `impl Future + Send + 'lifetime` in traits #36

Closed minghuaw closed 7 months ago

minghuaw commented 7 months ago

This is a new feature stabilized in 1.75, and other crates have observed performance improvement by adopting this feature (eg. async-graphql reported almost 20% performance gain )

minghuaw commented 7 months ago

Would this be considered a breaking change?

minghuaw commented 7 months ago

0.19.4

minghuaw commented 7 months ago

Interestingly, the new version didn't see significant performance improvement. Benchmarking on an azure VM show similar performance. However, this might be because the event consumption rate was already hitting the limit of event hubs' throughput unit before this upgrade