I have multiple akka-http server instances running on different ports as part of the same jvm process. The server instances have different performance requirements and need to be configured differently.
Is it possible to configured them on a per-instance basis.
I Could find nothing in the official docs, nor anywhere else.
https://doc.akka.io/docs/akka-http/current/configuration.html
The
ServerBuilderreturned byHttp#newServerAtcan be configured with differentServerSettingsusingwithSettingsoradaptSettings, either modifying programatically or loading a whole new block from config usingServerSettings#apply(Config)and separate materializers (that can have further separate settings for default dispatcher etc) usingwithMaterializer.