Spring boot webflux reactive netty Could there be problem MonoSendManyrun write faster than the receiver
Yes, there could be a problem if MonoSendMany.run() writes faster than the receiver. This could lead to a backlog of data in the send buffer, which could eventually exhaust the system resources and cause the application to crash. To avoid this, it is important to ensure that the receiver is consuming data at a rate that is at least equal to the rate at which the sender is producing it. This can be achieved by implementing appropriate flow control mechanisms, such as backpressure, which allow the receiver to signal the sender to slow down when necessary.
原文地址: https://www.cveoy.top/t/topic/bjyK 著作权归作者所有。请勿转载和采集!