Skip to content

The lost async servlets #20

Closed
Closed

Description

@zloster

Work toward their restoration. See issue 2598 in the upstream repository.

Activity

  1. added this to the milestone on Apr 5, 2017
  2. self-assigned this
    on Jan 18, 2018
  3. added
    пече се
    on Jan 18, 2018
  4. modified the milestones: Better Times, Round 15 on Jan 18, 2018
  5. zloster commented on Jan 23, 2018

    @zloster
    OwnerAuthor

    These will be left for later:

  6. zloster commented on Feb 7, 2018

    @zloster
    OwnerAuthor

    Resin 4.0.55 doesn't support Servlet 3.1. Servlet 3.1 has the async IO support. We will need Apache Tomcat sooner.

  7. zloster commented on Feb 7, 2018

    @zloster
    OwnerAuthor

    OK. Tomcat 9.0.4 installation is working. Got some benchmark data. Now trying to build APR tomcat-native adapter for faster native I/O. It requires OpenSSL 1.0.2 but Ubuntu 14.04 comes with 1.0.1x.

  8. zloster commented on Feb 7, 2018

    @zloster
    OwnerAuthor

    There are three components here: APR, OpenSSL 1.0.2 and Tomcat native bindings to ARP. They should be build together. Currently I get warnings in Tomcat log file (catalina.out) when trying to load the ARP library.

  9. zloster commented on Feb 7, 2018

    @zloster
    OwnerAuthor

    Managed to make Tomcat 9 to use ARP and OpenSSL 1.0.2.

    07-Feb-2018 19:57:05.116 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.5.1].
    07-Feb-2018 19:57:05.117 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
    07-Feb-2018 19:57:05.119 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
    

    Played also with the various connector implementations and some tweaks: NIO2 seems the best. But it is loosing against Resin 4.0.53. JSON test heaviest: 4400 rps vs 3550 rps. But Resin already shows saturation - the RPS is falling with the heavier load.

  10. zloster commented on Feb 8, 2018

    @zloster
    OwnerAuthor

    The shell scripts with Tomcat 9.0.4, OpenSSL 1.0.2, Apache APR 1.6.3, Tomcat Native connector compilation, installation and so on are ready.
    Also basic setup of server.xml with NIO2 connector.

  11. modified the milestones: Round 15, Round 16 on Feb 17, 2018
  12. removed
    пече се
    on Feb 22, 2018
  13. zloster commented on Feb 22, 2018

    @zloster
    OwnerAuthor

    Pull request submitted: 3319.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions