[undertow-dev] Undertow Websockets production tweak

Stuart Douglas sdouglas at redhat.com
Tue Feb 16 07:35:26 EST 2016


If you are using the Undertow builder API it will adapt to your systems specs. In your case the default config should be fine I think. One thing you may want to look at is the buffer size, which controls the size of web socket frames.

Stuart

----- Original Message -----
> From: "Ali Ok" <aliok at apache.org>
> To: undertow-dev at lists.jboss.org
> Sent: Tuesday, 16 February, 2016 11:07:55 PM
> Subject: [undertow-dev] Undertow Websockets production tweak
> 
> Hi all,
> 
> I will soon go live with a project of mine which uses Undertow.
> I was wondering if you could give me some advice on tweaking Undertow for the
> production use.
> 
> The only things I found are:
> 
> *
> http://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#common-listener-options
> * http://lists.jboss.org/pipermail/undertow-dev/2015-March/001169.html
> 
> Number of configurable things on the documentation and also when I was
> reading the code drove me crazy :)
> 
> My use case is:
> 
> * Undertow only used as a websocket endpoint of an MMO game; no servlet or
> something
> * Binary data only (Protobufs, specifically)
> * 300-400 concurrent connections per server
> * High frequency of transfer, again per server (23 KB/s transfer out per
> connection; 1 KB/s transfer in per connection)
> * Limited server specs (1 core CPU, 1GB RAM)
> 
> I know I cannot of course ask you the exact configuration. What I am looking
> for is some help at pointing at the right direction.
> 
> Thanks,
> Ali
> 
> 
> 
> --
> My Blog: http://blog.aliok.com.tr
> Twitter: http://twitter.com/aliok_tr
> 
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list