<@U2E974ELT> is it possible to use flows as a solu...
# coroutines
a
@elizarov is it possible to use flows as a solution to back-pressure across multiple processes? [replicating data over TCP from process A to process B - trying to deal with process A not sending so much that process B can not keep updating its local state] Or should I use something different?
e
Yes. But you’ll need to write an adapting code that either explicitly signals back-pressure over the network (such as RSocket) or relies onto implicit back-pressure via TCP buffering.
a
is the implicit TCP buffering good enough? I know ‘good enough’ is a vague question Seems like it would work fine if i m using a non-blocking tcp server and client [vert.x]
e
It depends on your domain.
👍 1
o
BTW, multi-platform rsocket-kotlin based on coroutines is now in active development! https://github.com/rsocket/rsocket-kotlin/tree/task/interactions-api