Netty backend
ihostage opened this issue Β· comments
As I see, we doesn't have an examples with Netty as a backend.
It looks strange while we declare that Play support both backends equally π
Also, examples with Netty as e2e tests will help us to check Netty backend and be sure that all is fine.
I propose to use Netty for all Java examples and Pekko HTTP for Scala examples.
@mkurz WDYT?
Hi Sergey,
see
I added a flag --netty
to the test script to run all the sample tests with the netty backenda as well. And also add a note to all readmes so users see how to use the netty backend.
This is inspired by the TechEmpower FrameworkBenchmarks where we do the same basically:
- https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Java/play2-java/play2-java.dockerfile#L5
- https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Java/play2-java/play2-java-netty.dockerfile#L5
What do you think?
BTW, updated the benchmarks to Play 3: TechEmpower/FrameworkBenchmarks#8722