简体   繁体   中英

Akka warnings on intensive messaging to remote actor

I'm using akka cluster with some kind of master-workers topology. In some period of time master node starting to spawn a lot of messages to remote workers and as a result there is a lot of logs like:

DEBUG akka.remote.EndpointWriter - Drained buffer with maxWriteCount: 50, fullBackoffCount: 2, smallBackoffCount: 1, noBackoffCount: 68 , adaptiveBackoff: 2000

What is maxWriteCount, fullBackoffCount, smallBackoffCount, noBackoffCount, adaptiveBackoff? And what is actually mean?

Since it's a DEBUG level statement I would not worry too much: it seems to me it's just telling you that the message buffer has been emptied. If you had to worry about it, it would be a WARN or an ERROR.

If you are interested in how it works internally, here you can find the akka cluster github repo .

The reference config might also be of interest.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM