• DocumentCode
    2080791
  • Title

    Q-Cop: Avoiding bad query mixes to minimize client timeouts under heavy loads

  • Author

    Tozer, Sean ; Brecht, Tim ; Aboulnaga, Ashraf

  • Author_Institution
    David R. Cheriton Sch. of Comput. Sci., Univ. of Waterloo, Waterloo, ON, Canada
  • fYear
    2010
  • fDate
    1-6 March 2010
  • Firstpage
    397
  • Lastpage
    408
  • Abstract
    In three-tiered web applications, some form of admission control is required to ensure that throughput and response times are not significantly harmed during periods of heavy load. We propose Q-Cop, a prototype system for improving admission control decisions that considers a combination of the load on the system, the number of simultaneous queries being executed, the actual mix of queries being executed, and the expected time a user may wait for a reply before they or their browser give up (i.e., time out). Using TPC-W queries, we show that the response times of different types of queries can vary significantly depending not just on the number of queries being processed but on the mix of other queries that are running simultaneously. We develop a model of expected query execution times that accounts for the mix of queries being executed and integrate this model into a three-tiered system to make admission control decisions. Our results show that this approach makes more informed decisions about which queries to reject and as a result significantly reduces the number of requests that time out. Across the range of workloads examined an average of 47% fewer requests are unsuccessful than the next best approach.
  • Keywords
    Internet; software prototyping; Q-cop; TPC-W queries; admission control; avoiding bad query mixes; heavy loads; minimize client timeouts; prototype system; query execution times; three tiered Web applications; Admission control; Application software; Computer science; Database systems; Delay; Humans; Prototypes; Resource management; Throughput; Web server;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering (ICDE), 2010 IEEE 26th International Conference on
  • Conference_Location
    Long Beach, CA
  • Print_ISBN
    978-1-4244-5445-7
  • Electronic_ISBN
    978-1-4244-5444-0
  • Type

    conf

  • DOI
    10.1109/ICDE.2010.5447850
  • Filename
    5447850