Fork me on GitHub
#aleph
<
2023-09-26
>
dergutemoritz09:09:00

Question: Does Aleph apply backpressure on outbound traffic anywhere? I know that it does so for inbound traffic (by toggling autoread) but so far I haven't seen anything for outbound traffic. Looks like writes are just queued without bounds :thinking_face:

dergutemoritz14:09:27

This can of course be implemented in user code but it seems like a dangerous default..! Then again, Netty also punts this (see e.g. https://github.com/netty/netty/pull/6662).

Matthew Davidson (kingmob)06:10:21

Fundamentally, users also have to respect backpressure signals and deal with some of it in their own handlers if they want the best possible response. There's only so much aleph/manifold/netty can do for you, especially if there are inputs coming from outside that aleph/netty aren't aware of.