In Tomcat, server.xmlwas ist maxThreadsversusmaxConnections
Ich verstehe, dass dies maxConnectionsdie Anzahl der Verbindungen ist, die zum Server geöffnet sind
Und maxThreadsist die maximale Anzahl von Anforderungsverarbeitungsthreads
Aber wie die beiden Konfigurationsparameter zusammenarbeiten, werden Sie natürlich nicht maxConnectionsauf 1000 und maxThreads10 einstellen
Welche Beziehung besteht zwischen den beiden Konfigurationsparametern?
<Connector
port="8443"
protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="250"
SSLEnabled="true"
scheme="https" secure="true"
clientAuth="false"
sslProtocol="TLS"
connectiontimeout="20000"
/>