awslabs / flowgger

A fast data collector in Rust
BSD 2-Clause "Simplified" License
834 stars 55 forks source link

Question: Why sync_channel not channel #29

Closed EBWi11 closed 5 years ago

EBWi11 commented 6 years ago

why use sync_channel not channel,i think channel have high performance

jedisct1 commented 5 years ago

Because if the consumer is not fast enough, it will consume all the memory.