0 Replies Latest reply on Aug 29, 2019 5:39 AM by aqtwrdnr aqtwrdnr

    How to increase max server-side-event streams?

    aqtwrdnr aqtwrdnr Newbie



      my application offers informations through server-side-events following this example https://www.baeldung.com/java-ee-jax-rs-sse .


      On load testing i notices that only around ~120 connections get served. New connections are only possible if old ones are closed. Is there a max connection limit, a thread limit or a stream limit that wildfly enforces?


      I currently use Wildfly 16.0 and used ApacheBench, Version 2.3 for testing. Running "ab -A 123:123 -c 130 -n 130" hits the limit and no further connections from a browser are possible. Using only 120 concurrent connections still allow a few browser tabs to connect.


      Any ideas?

      Thanks in advance