首页> 外文期刊>Concurrency, practice and experience >Optimizing utilization of resource pools in web application servers
【24h】

Optimizing utilization of resource pools in web application servers

机译:优化Web应用程序服务器中资源池的利用率

获取原文
获取原文并翻译 | 示例

摘要

Among the web application server resources, the most critical for their performance are those that are held exclusively by a service request for the duration of its execution (or some significant part of it). Such exclusively held server resources become performance bottleneck points, with failures to obtain such a resource constituting a major portion of request rejections under server overload conditions. In this paper, we propose a methodology that computes the optimal pool sizes for two such critical resources: web server threads and database connections. Our methodology uses information about incoming request flow and about fine-grained server resource utilization by service requests of different types, obtained through offline and online request profiling. In our methodology, we advocate (and show its benefits) the use of a database connection pooling mechanism that caches database connections for the duration of a service request execution (so-called request-wide database connection caching). We evaluate our methodology by testing it on the TPC-W web application. Our method is able to accurately compute the optimal number of server threads and database connections, and the value of sustainable request throughput computed by the method always lies within a 5% margin of the actual value determined experimentally.
机译:在Web应用程序服务器资源中,对其性能最关键的是那些在服务请求执行期间(或请求执行过程的重要部分)专门由服务请求保留的资源。这种专用的服务器资源成为性能的瓶颈点,在服务器过载的情况下,获取此类资源的失败构成了请求拒绝的主要部分。在本文中,我们提出了一种方法,该方法可为两种重要资源(Web服务器线程和数据库连接)计算最佳池大小。我们的方法使用通过脱机和联机请求分析获得的有关传入请求流和有关不同类型服务请求的细粒度服务器资源利用率的信息。在我们的方法中,我们提倡(并显示其好处)数据库连接池机制的使用,该机制在服务请求执行期间缓存数据库连接(所谓的请求范围数据库连接缓存)。我们通过在TPC-W Web应用程序上对其进行测试来评估我们的方法。我们的方法能够准确地计算出服务器线程和数据库连接的最佳数量,并且该方法计算出的可持续请求吞吐量值始终在实验确定的实际值的5%范围内。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号