java - How could we improve or increase spring connection handling capacity on the server side for any web or application server? -


if handle http request on server side using spring framework, how can check connection limit , how increase connection handling capacity. if 1 have solution please me.

the http connection handling depends on configuration of web/application server. example in tomcat in server.xml, following parameters of http io/nio connectors can configure number of connections server can handle.

  1. maxconnections - maximum number of connections server accept , process @ given time. when number has been reached, server accept, not process, 1 further connection. additional connection blocked until number of connections being processed falls below maxconnections @ point server start accepting , processing new connections again.
  2. acceptorthreadcount - number of threads used accept connections. more 2 not required in multicore machines.

other parameters affect same - connectionlinger, connectiontimeout etc.

for more details check this


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -