scala - How to configure akka send/receive buffer size and maximum frame size -


i have problem defining akka configuration maximum frame size , send/receive buffer size. how these related ? there rule of thumb these configs?

i set akka settings:

maximum-frame-size = 5242880b receive-buffer-size = 20971520b send-buffer-size = 20971520b 

any suggestion? thanks

these settings have relevance if use akka-remote. these settings control underlying tcp implementation: tcp buffers allocate (this hint os, of cases os decide on own anyway) , largest remote payload accepted (maximum-frame-size). messages larger limit in serialized form rejected , not sent. avoid abusing remoting layer bulk data transfer primary purpose being control layer. bulk data transfer side-channel recommended: akka.io (actor based tcp) or akka.stream (stream based tcp) or http service via spray or akka.http.


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -