Detecting Transient Bottlenecks in n-Tier Applications through Fine-Grained Analysis

Authors:
  • QWQingyang Wang
    Qingyang Wang
  • YKYasuhiko Kanemasa
    Yasuhiko Kanemasa
  • JLJack Li
    Jack Li
  • DJDeepal Jayasinghe
    Deepal Jayasinghe
  • TSToshihiro Shimizu
    Toshihiro Shimizu
  • MMMasazumi Matsubara
    Masazumi Matsubara
  • MKMotoyuki Kawaba
    Motoyuki Kawaba
  • CPCalton Pu
    Calton Pu

Abstract
Identifying the location of performance bottlenecks is a non-trivial challenge when scaling n-tier applications in computing clouds. Specifically, we observed that an n-tier application may experience significant performance loss when there are transient bottlenecks in component servers. Such transient bottlenecks arise frequently at high resource utilization and often result from transient events (e.g., JVM garbage collection) in an n-tier system and bursty workloads. Because of their short lifespan (e.g., milliseconds), these transient bottlenecks are difficult to detect using current system monitoring tools with sampling at intervals of seconds or minutes. We describe a novel transient bottleneck detection method that correlates throughput (i.e., request service rate) and load (i.e., number of concurrent requests) of each server in an n-tier system at fine time granularity. Both throughput and load can be measured through passive network tracing at millisecond-level time granularity. Using correlation analysis, we can identify the transient bottlenecks at time granularities as short as 50ms. We validate our method experimentally through two case studies on transient bottlenecks caused by factors at the system software layer (e.g., JVM garbage collection) and architecture layer (e.g., Intel SpeedStep).