playframework / play-samples

Play Framework Sample Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

What do you think?

BTW, updated the benchmarks to Play 3: TechEmpower/FrameworkBenchmarks#8722