Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Use native transport #1

Open
wsargent opened this issue Jun 15, 2017 · 0 comments
Open

Use native transport #1

wsargent opened this issue Jun 15, 2017 · 0 comments

Comments

@wsargent
Copy link

wsargent commented Jun 15, 2017

Transport is currently set to "jdk":

https://github.com/tenorviol/play-c100k-test/blob/master/conf/application.conf#L58

You could get some extra performance by using the "native" transport on linux:

https://www.playframework.com/documentation/2.5.x/SettingsNetty#Configuring-transport-socket

The settings page is a little vague, but try setting TCP_FASTOPEN if that's an option (was only added in 4.0.32 so may not be mapped to Play internally). There's a TCP Tuning for HTTP guide that may be helpful: https://tools.ietf.org/html/draft-stenberg-httpbis-tcp-03

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant