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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -