zed/crates/client/src
Max Brunsfeld d4fe1115e7 Use an unbounded channel for peer's outgoing messages
Using a bounded channel may have blocked the collaboration server
from making progress handling RPC traffic.

There's no need to apply backpressure to calling code within the
same process - suspending a task that is attempting to call `send` has
an even greater memory cost than just buffering a protobuf message.

We do still want a bounded channel for incoming messages, so that
we provide backpressure to noisy peers - blocking their writes as opposed
to allowing them to buffer arbitrarily many messages in our server.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-02-07 12:27:13 -08:00
..
channel.rs Use an unbounded channel for peer's outgoing messages 2022-02-07 12:27:13 -08:00
client.rs Use an unbounded channel for peer's outgoing messages 2022-02-07 12:27:13 -08:00
http.rs Move ChannelList, UserStore into client crate 2021-10-04 17:30:11 -07:00
test.rs Use an unbounded channel for peer's outgoing messages 2022-02-07 12:27:13 -08:00
user.rs WIP - start restructuring collaboration around entire projects 2021-12-17 22:00:39 -08:00