Techiio-author
Started by Debarghya DasOct 5, 2021

Open
Defining the maximum number of concurrent users for a Spring Reactive Web application on a Netty Server

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

Spring Webflux, using project Reactor is very promising in terms of using your resources in a more efficient way. It's far from obvious how to calculate the resources required to support a certain number of users, however.

When building a standard web application (not Reactive) which will run on a Tomcat, you can simply define the number of webthreads required to support your users. This does not seem to count for Spring Reactive Web applications, however. A small number of threads is used, and less memory is used, but where in the past you could just define "X webthreads available per server" this doesn't seem possible to do. Making our sysops and devops friends a bit unhappy.

What's a solution for this issue? Because it's hard to "sell" a Reactive solution, when it's one that's not very deterministic when it could break down.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance