The Bottoleneck Of Tomcat

    Tomcat Resource PoolsFirst,a review of the types and roles of Tomcat component pools is in order.A resource pool is a pool of reusable objects that are vital forapplication processing yet expensive to instantiate on demand. Tomcat'sconnector thread pool and database connection pool are two such pools.They have a direct impact on the overall throughput of the server aswell as on the individual applications.

    Connector Thread PoolTheconnector pool is a pool of threads that accepts connections fromstandard Tomcat connector ports (e.g., 8080 for HTTP, 8009 for AJP) andhands them off to the processing components. This pool plays anessential role in Tomcat's processing throughput capacity. Every singlerequest directed into Tomcat goes through the connector pool. If thepool is too small and too many requests get backlogged, the requestgets denied.

你可能感兴趣的:(thread,tomcat)