akkadotnet / akka.net

Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
http://getakka.net
Other
4.7k stars 1.04k forks source link

Question Buffer Size #6972

Open SAgiKPJH opened 12 months ago

SAgiKPJH commented 12 months ago

When our service is running, we're experiencing high memory usage, and we suspect it may be related to the buffer sizes. What are the recommended values for send-buffer-size , receive-buffer-size , and maximum-frame-size in Akka? What are the minimum and maximum values that can be set for these parameters? How can I determine the appropriate values for these parameters? Also, does increasing these values significantly impact memory consumption?

Aaronontheweb commented 12 months ago

These are the Akka.Remote settings for DotNetty that you're referring to? How many nodes are running in your cluster at any given time? That would determine whether or not these settings are having a large impact or not.

What are the recommended values for send-buffer-size , receive-buffer-size , and maximum-frame-size in Akka?

The defaults are what we recommend.