<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Techniques to Produce Good Web Service Compositions in The Semantic Grid</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Eduardo Blanco</string-name>
          <email>feduardog@ldc.usb.ve</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidad Sim</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>on</institution>
          ,
          <addr-line>Apartado 89000, Caracas 1080-A</addr-line>
          ,
          <country country="VE">Venezuela</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The Grid has emerged as a new distributed computing infrastructure for advanced science and engineering. It aims at enabling resource sharing as means to facilitate a problem-solving approach for dynamic environments that is based on the integration of available resources. Wide agreement that a °exible Grid is not possible without the support of semantic technologies, has lead to the term \Semantic Grid\. Transparent service composition has a great potential to facilitate the integration of Web Services deployed in the Grid. However, discovering, dynamically composing and optimizing large-scale Web Services (e.g., in the rank of 1,000 to 100,000 services) is a challenging problem. We approached the problem of Web Service compositions in the Grid as an optimization problem, in which for a given request a good plan has to be generated. In this work, we propose the de¯nition of several optimization strategies to identify good orderings of Web Service compositions.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The Grid provides the protocols, services, and software development kits needed
to enable °exible, controlled resource sharing on a large scale. Automatic
discovery and coordination of services in the Grid is not only desirable, but necessary.
Users need tools that assist them on taking full advantage of the possible large
number of available services. Any form of automated composition needs an
infrastructure where all resources are adequately described in a machine-processable
form. Semantic Web technologies provide the means to incorporate such
descriptions to the Grid infrastructure leading to the Semantic Grid. Thus, it is
possible to apply Semantic Web technologies in grid-computing developments.</p>
      <p>
        Numerous e®orts have focused on the task of service discovery and Web
Service composition (the WSC problem). However, few have addressed the problem
of identifying e±cient Web Service compositions in a large-scale scenario, as
the one presented in the Grid vision [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In such scenarios, the association
among services may be extremely complex, and the search space of possible
Web Service compositions could be very large. In consequence, the task of
¯nding an optimal plan could be not feasible in real time; thus, our objective is
to ¯nd sub-optimal plans in a reasonable time.
      </p>
      <p>In Grid platforms requests are usually scheduled as batch processes, and
real time constraints are relaxed. Thus, it is possible to do a greater exploration
of the space of possible Web Service compositions, while the batch process is
waiting to be evaluated.</p>
      <p>On the other hand, some Grid resources can only be accessed at certain
times. It may be required to incorporate into the space of alternatives, the
possibility of executions where intermediate results are stored and retrieved according
to time restrictions. In other words, all services used by a plan do not need to
be available at the same time.</p>
      <p>In this work, we propose the de¯nition of optimization strategies to
identify good orderings of Web Service compositions in large-scale Web
Serviceenvironments, e.g., in the rank of 1,000 to 100,000 available services. These
strategies will follow di®erent meta-heuristics to explore the space of
possibilities, while minimizing the estimated evaluation cost. We have already de¯ned
two strategies that prune the space of possibilities. Our initial results show that
the compositions identi¯ed by our algorithms, are close to the optimal solution.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>The problem of identifying a good WSC in the Grid is related to problems that
have been studied in query optimization and WSC. In this section we consider the
main related approaches in each of these areas.</p>
      <p>
        In the context of the Web, several strategies have been presented to identify
good evaluation plans where sources have limited query processing capabilities;
then, the optimizer task is to identify a good ordering of the sub-goals of a query
where limited processing capabilities of each considered source, are satis¯ed [
        <xref ref-type="bibr" rid="ref2 ref3">2,
3</xref>
        ].
      </p>
      <p>Typically, existing approaches achieve the challenge of identifying good plans
by representing query capabilities as binding patterns and using these patterns
and meta-heuristics to traverse the space of source plans. Each sub-goal in the
query is rewritten in the plan by using sources that de¯ne the sub-goal; limited
processing capabilities of the sources are satis¯ed in the plan with query bindings
or attributes projected out by previous sources in the plan.</p>
      <p>The WSC problem has been extensively treated in the literature, and diverse
solutions that take advantage of AI techniques and Search Meta-Heuristics, have
been proposed. First, in the context of AI, the WSC problem has been represented
as a planning problem where actions to be taken by the planner are de¯ned in
terms of service preconditions and e®ects.</p>
      <p>The description of a planning domain includes a set of planning operators and
methods that establish the way a task can be decomposed into smaller subtasks.
The description of a planning problem contains an initial state as in classical
planning. Instead of a goal formula, there is a partially-ordered set of tasks to
accomplish. Planning proceeds by decomposing tasks recursively into smaller and
smaller subtasks, until primitive tasks, which can be performed directly by using
one planning operator, are reached. For non-primitive tasks, the planner chooses
an applicable method, instantiates it to decompose the task into subtasks, and
then chooses and instantiates other methods to decompose the subtasks even
further. If the constraints on the subtasks or the interactions among them prevent
the plan from being feasible, the planning system backtracks and tries other
methods.</p>
      <p>
        As any planning problem, the approach presented in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], requires the
formalization of the domain-dependent control knowledge in the planner. Thus,
a domain expert is needed in order to achieve good performance in real-world
domains.
      </p>
      <p>
        An approach that uses Answer Set Programming is presented in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. It shows
that service descriptions can be expressed in a rule based language that allows
to search a repository e±ciently and to build solutions that solve a goal with
respect to soft and hard constrain. The author reports that the solution performs
very well in this rather simple domain. It de¯nes a simple cost function instead
of a utility function. Its strength is that it provides means to gain all solutions
for a given problem despite the cost of computation time and space. He states
that dedicated software employing fast heuristic algorithms could rapidly ¯nd a
good solution for user requests in much reasonable times.
      </p>
      <p>
        In the context of Search Meta-Heuristics, the SAM (Service Aggregation
Matchmaking) algorithm is de¯ned [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. It makes use of an OWL-S ontology,
and explicitly returns a sequence of atomic processes that need to be executed
in order to achieve the desired result.
      </p>
      <p>SAM follows a greedy approach in which only one sub-plan is generated in
each iteration. In each sub-plan, a sub-set of the output attributes is produced
considering some of the bindings given in the query. The algorithm ends when
all the output attributes are produced. In terms of time, SAM is able to scale
up in environments with a moderate number of services (e.g., in the rank of
100 to 200 services). However, since SAM does not consider any cost metric or
optimization criteria to compose the services, plans produced by SAM may be
costly. To exacerbate this problem, SAM may add processes to the plan that
are not needed to produce the output required by the user. Thus, the quality of
generated plans may be far from optimal.</p>
      <p>
        Semantic Grid [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] is an infrastructure where it is possible to apply
Semantic Web technologies in grid-computing developments [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]. In the context
of Semantic Grid, the project ARGUGRID [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] provides a new model for
programming the Grid; it uses argumentative agent technology and semantic
descriptions to facilitate the dynamic composition of services.
      </p>
      <p>
        Finally, in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], the WSC problem is de¯ned as a planning problem where a
work°ow is generated automatically. It takes as inputs the desired data products,
and the planner uses heuristic control rules to identi¯ed a high-quality solution.
Plan quality is measured with respect to a global utility function that does not
represent the dynamic properties of Grid environments.
      </p>
    </sec>
    <sec id="sec-3">
      <title>Contributions</title>
      <p>We hypothesize that if there is a large number of Web Services published in
di®erent sites then, services' performance may vary. Thus, it is imperative that
solutions to the WSC problem consider an estimate of the service evaluation cost.
This cost is used to prune the space of possibly costly plans of services, and to
identify the service composition with the lowest estimated cost.</p>
      <p>We propose solutions to the WSC problem for large-scale platforms, e.g.,
Grids. These solutions will be adapted to consider the dynamic characteristic
presented in such platforms. In particular, we address the problem of selecting
and coordinating services that satisfy some of the constraints presented in the
Grid, while the evaluation time is minimized.</p>
      <p>Plans will be generated considering the time constraints of Grid resources.
Thus, we will incorporate into the space of alternatives, the possibility of
executions where intermediate results are stored and retrieved according to these
constraints.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Evaluation</title>
      <p>To validate the quality of our techniques, we plan to conduct experimental
studies that compare our approach against some of the existing projects. We propose
to use at least two available test sets - EEE05 and ICEBE051.</p>
      <p>
        We will also analyze the performance of our solutions in real-world scenarios.
For this, we will generate a large number of ontological Web Service
descriptions for a given scientist community. WSBen[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is a tool able of automatically
generate sets of WSDL service descriptions. WSBen is inspired by extensive studies
on real Web Services and therefore, it is designed to support various network
topologies and distributions. We will extend this tool to generate ontological
service descriptions.
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Work Plan</title>
      <p>
        We consider that the project can be achieved within the following stages:
1. We propose approaches that adapt some optimization techniques to the WSC
problem. We have already de¯ned two extensions to the algorithm SAM.
Initial results show that the extensions are e®ective. In terms of plan quality
and optimization time, our generated plans, outperform results produced by
SAM [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
2. We will extend WSBen to generate large sets of ontological Web Service
descriptions.
3. We will propose cost models and test them with the generated sets; we will
study the behavior of our approaches using di®erent distributions and Web
Service inter-relations.
1 They are available at http : ==www:comp:hkbu:edu:hk= ctr=wschallenge=news:html#dataset
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Foster</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kesselman</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tuecke</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>The Anatomy of the Grid: Enabling Scalable Virtual Organizations</article-title>
          .
          <source>International Journal of High Performance Computing Applications</source>
          <volume>15</volume>
          (
          <issue>3</issue>
          ) (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Levy</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rajaraman</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ordille</surname>
          </string-name>
          , J.:
          <article-title>Querying heterogeneous information sources using source descriptions</article-title>
          .
          <source>In: Proceedings of the VLDB Conference</source>
          .
          <article-title>(</article-title>
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Papakonstantinou</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gupta</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Haas</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Capabilities-based query rewriting in mediator systems</article-title>
          .
          <source>In: Conf. on Parallel and Distributed Inform. Systems</source>
          . (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Kuter</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sirin</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nau</surname>
            ,
            <given-names>D.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parsia</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hendler</surname>
            ,
            <given-names>J.A.</given-names>
          </string-name>
          :
          <article-title>Information gathering during planning for web service composition</article-title>
          .
          <source>In: Intl. Semantic Web Conf</source>
          . (
          <year>2004</year>
          )
          <volume>335</volume>
          {
          <fpage>349</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Rainer</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Web service composition using answer set programming</article-title>
          .
          <source>In: PuK</source>
          <year>2005</year>
          . (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Brogi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , Cor¯ni,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Popescu</surname>
          </string-name>
          , R.:
          <article-title>Composition-oriented service discovery</article-title>
          .
          <source>In: Proc. of Software Composition'05</source>
          ,
          <string-name>
            <surname>LNCS</surname>
          </string-name>
          . Volume
          <volume>3628</volume>
          . (
          <year>2005</year>
          )
          <volume>15</volume>
          {
          <fpage>30</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>De Roure</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jennings</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shadbolt</surname>
            ,
            <given-names>N.:</given-names>
          </string-name>
          <article-title>The semantic grid: A future e-science infrastructure</article-title>
          . In Berman, F.,
          <string-name>
            <surname>Fox</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hey</surname>
            ,
            <given-names>A.J.G</given-names>
          </string-name>
          ., eds.
          <source>: Grid Computing - Making the Global Infrastructure a Reality</source>
          . John Wiley and Sons Ltd. (
          <year>2003</year>
          )
          <volume>437</volume>
          {
          <fpage>470</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Goble</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roure</surname>
            ,
            <given-names>D.D.:</given-names>
          </string-name>
          <article-title>The grid: an application of the semantic web</article-title>
          .
          <source>SIGMOD Rec</source>
          .
          <volume>31</volume>
          (
          <issue>4</issue>
          ) (
          <year>2002</year>
          )
          <volume>65</volume>
          {
          <fpage>70</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Pahl</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>An ontology-based framework for semantic grid service composition</article-title>
          .
          <source>Grid Services Engineering and Management</source>
          <volume>3270</volume>
          (
          <year>2004</year>
          )
          <volume>63</volume>
          {
          <fpage>77</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Programme</surname>
            ,
            <given-names>E.C.S.F.: ARGUGRID</given-names>
          </string-name>
          (
          <year>2006</year>
          ) http://www.argugrid.org/.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Deelman</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Blythe</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gil</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kesselman</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mehta</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vahi</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lazzarini</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Arbree</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cavanaugh</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koranda</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Mapping abstract complex work°ows onto grid environments</article-title>
          .
          <source>Journal of Grid Computing</source>
          , Vol.
          <volume>1</volume>
          , No.
          <volume>1</volume>
          , (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Oh</surname>
            ,
            <given-names>S.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kil</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kumara</surname>
            ,
            <given-names>S.R.T.</given-names>
          </string-name>
          :
          <article-title>Wsben: A web services discovery and composition benchmark</article-title>
          .
          <source>In: ICWS '06: Proceedings of the IEEE International Conference on Web Services (ICWS'06)</source>
          , Washington, DC, USA, IEEE Computer Society (
          <year>2006</year>
          )
          <volume>239</volume>
          {
          <fpage>248</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Blanco</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cardinale</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vidal</surname>
            ,
            <given-names>M.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Graterol</surname>
          </string-name>
          , J.:
          <article-title>Techniques to produce optimal Web Service Compositions</article-title>
          .
          <source>In: 2008 IEEE Congress on Services 2008 - Part I (SERVICES-1</source>
          <year>2008</year>
          ), Honolulu, Hawaii, USA, IEEE Computer Society (
          <year>2008</year>
          ) To appear.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>