• DocumentCode
    3125671
  • Title

    Adaptive Parallelization of Queries over Dependent Web Service Calls

  • Author

    Sabesan, Manivasakan ; Risch, Tore

  • Author_Institution
    Dept. of Inf. Technol., Uppsala Univ., Uppsala
  • fYear
    2009
  • fDate
    March 29 2009-April 2 2009
  • Firstpage
    1725
  • Lastpage
    1732
  • Abstract
    We have developed a system to process database queries over composed data providing Web services. The queries are transformed into execution plans containing an operator that invokes any Web service for given arguments. A common pattern in these query execution plans is that the output of one Web service call is the input for another, etc. The challenge addressed in this paper is to develop methods to speed up such dependent calls in queries by parallelization. Since Web service calls incur high-latency and message set-up costs, a naive approach making the calls sequentially is time consuming and parallel invocations of the Web service calls should improve the speed. Our approach automatically parallelizes the web service calls by starting separate query processes, each managing a parameterized sub-query, a plan function, for different parameter tuples. For a given query, the query processes are automatically arranged in a multi-level process tree where plan functions are called in parallel. The parallel plan is defined in terms of an algebra operator, FF_APPLYP, to ship in parallel to other query processes the same plan function for different parameters. By using FF_APPLYP we first investigated ways to set up different process trees manually. We concluded from our experiments that the best performing query execution plan is an almost balanced bushy tree. To automatically achieve the optimal process tree we modified FF_APPLYP to an operator AFF_APPLYP that adapts a parallel plan locally in each query process until an optimized performance is achieved. AFF_APPLYP starts with a binary process tree. During execution each query process in the tree makes local decisions to expand or shrink its process sub-tree by comparing the average time to process each incoming tuple. The query execution time obtained with AFF_APPLYP is shown to be close to the best time achieved by manually built query process trees.
  • Keywords
    Web services; database management systems; query processing; trees (mathematics); Web service calls; adaptive parallelization; binary process tree; database queries; message set-up costs; query execution plans; query processes; Algebra; Costs; Data engineering; Databases; Delay; Information retrieval; Information technology; Marine vehicles; Query processing; Web services;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2009. ICDE '09. IEEE 25th International Conference on
  • Conference_Location
    Shanghai
  • ISSN
    1084-4627
  • Print_ISBN
    978-1-4244-3422-0
  • Electronic_ISBN
    1084-4627
  • Type

    conf

  • DOI
    10.1109/ICDE.2009.148
  • Filename
    4812598