<!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>Security Based Performance Issues in Agent-based Web Services Integrating Legacy Information Systems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sashko Ristov</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aristotel Tentov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Ss. Cyril and Methodius University / Faculty of Electrical Engineering and Information Technologies</institution>
          ,
          <addr-line>Rugjer Boshkovik bb, PO Box 574, 1000 Skopje</addr-line>
          ,
          <country country="MK">Macedonia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Ss. Cyril and Methodius University / Faculty of Natural Science and Mathematics - Institute of Informatics, Gazi Baba BB</institution>
          ,
          <addr-line>1000 Skopje</addr-line>
          ,
          <country country="MK">Macedonia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2011</year>
      </pub-date>
      <fpage>45</fpage>
      <lpage>51</lpage>
      <abstract>
        <p>Many closed internal information systems (IS) must not concern much about its security. But, nowadays, mostly due to globalization and dynamic world, business demands integration of several legacy ISs into new one. The new IS must improve its security compared to legacy ISs, because they work in the heterogeneous environment, and need to be opened. Adding security will decrease the new IS performance, but business wants to retain or even improve it. In this paper, we simulate this issue and we create a baseline of performance data that can be used to predict IS response time, for various numbers of requests, request size and implementing security as a necessary issue for new distributed IS.</p>
      </abstract>
      <kwd-group>
        <kwd>Software agents</kwd>
        <kwd>wrapper</kwd>
        <kwd>web services</kwd>
        <kwd>legacy software</kwd>
        <kwd>performance</kwd>
        <kwd>security</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        Nowadays, there are many cases where companies’ ISs, often developed using
different technologies and on different platforms, need to communicate each other.
Even more, many companies buy or merge with others, which lead in merging two
independently developed ISs, probably with totally different structure. As a solution
concept, [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] offers three basic approaches, shown on Fig. 1. The first one,
introducing the transducer, accepts messages from the requester, translates them into
the program's native language and protocol, and passes to legacy IS. The second one,
introducing the wrapper, can “inject” code into legacy IS to allow it to communicate
with the requester. The third solution that is, rewriting is out of scope of this paper.
Many papers propose agent based web services as a solution for this issue, as a
platform independent and XML as most obvious format that meets this requirement.
      </p>
      <p>In most of cases, legacies ISs are often isolated and closed to outside environment,
and do not concern much about security. However, the new IS must improve better
security compared to legacy ISs, because legacy ISs are often on a different locations
and new IS will work in the heterogeneous environment, wide-opened to hackers.</p>
      <p>
        In order to secure the new ISs, has to be achieved message confidentiality, data
integrity, authentication, authorization, non-repudiation, service availability, and web
service identification. For web services, XML Encryption [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and XML Signature
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] are considered as a de facto standard to provide a message security model. Their
implementation secures the new IS, but outcomes with the message overhead, as well
as requires complex cryptographic operations for each message or some parts of it.
Thus, it reduces the new IS performance. It is expected that the new IS will have more
users than legacy, which also impacts negative to its performance.
      </p>
      <p>In this paper, we analyze the response time overhead of the signed and encrypted
messages through experimental approach, as well as the response time overhead of
increasing message size for the same message type. In Section 2, we show the results
of the experiments and analyze the dependency of the new IS response time for a
various number of requests. Next, in Section 3, we analyze the results of the
experiments in order to gain the response time ratio implementing signature and
encryption compared to legacy IS messages, and implementing encryption compared
to signed only messages.</p>
      <sec id="sec-1-1">
        <title>1.1 Related Work</title>
        <p>
          We find many articles discussing about agent-based web services. [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] presents an
agent-based web services evolution approach, which is well suited to building
software solutions for pervasive computing. [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] describes how web services will
become more agent-like and how the resultant agent-based web services will yield
unprecedented levels of software robustness. In [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] is presented an integration of
mobile agent and the web services technology and new security architecture for such
integration. In [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] the authors propose an agent-based Web services architecture and
apply to augment manufacturability to increase the efficiency of the distributed
collaboration. [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] presents some agent-based and context-oriented approach for Web
services composition. A gateway architecture for connecting software agents and Web
services in a transparent manner with fully automatic operation is shown in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]
describes a possible solution for pro-active Web services selection and composition.
        </p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] is introduced an architecture which seamlessly connects mobile agents with
web services in a transparent and fully automated manner by means of a specialized
Web Service Engine. [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] shows how agent technology can be used to personalize web
services and to work together.
        </p>
        <p>
          One of the most near article is [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], where authors define major features and
benefits of the agent-based approach to enhance a Legacy Information System. Also,
[
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] discuss how to re-engineer legacy systems into agent-based Web services and
focuses on the fact that agent-based Web services are well suited to building software
solutions for distributed, open and dynamic web-based systems.
        </p>
        <p>
          Only in [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], authors compare two transducer-based approaches to wrapping legacy
software, introducing that web services make less overhead of the messages
comparing software agents.
        </p>
        <p>None of the related work analyzed the performance impact of the agent-based web
services, nor implementing different security-level mechanisms, using different
message size and concurrent requests.</p>
        <p>This paper describes a series of experiments focused on understanding the
performance impact of message overhead, as well as increased number of requests, in
simulated wrapped legacy IS. We create a baseline of performance data that can be
used to predict new IS response time. That is, the number of concurrent requests can
be predicted, as well as the message sizes, because the new IS system information has
equally size to the legacy and the number of requesters can be predicted as a sum of
all users in the legacy systems.</p>
      </sec>
      <sec id="sec-1-2">
        <title>1.2 Testing Environment</title>
        <p>We create three test environments, (1) using unsecured messages, (2) signed messages
and (3) both signed and encrypted messages, on Windows platform. We simulate a
situation where two parameters (let’s say Street and City) in legacy IS are only one
parameter (let’s say Address) in the new IS. Thus, the wrapper receives and returns
equally sized messages. In each test case, we change the message size and the number
of concurrent requests, but in the range of normal workload.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2 Results and Analysis for Increasing Number of Requests</title>
      <p>This section describes the results of the performed tests to measure the response time
dependency of the message size and a given number of requests, for the same
message type. On Fig. 2 is shown the response time in milliseconds (Y axis), for a
given number of requests in second and message type, for a different message size in
kilobytes (X axis).</p>
      <sec id="sec-2-1">
        <title>2.1 Response Time Overhead for no Security</title>
        <p>First, we perform a performance baseline, that is, we analyze the response time
without security for different payload of 1, 10 and 100 messages per second for
different message size. As shown on Fig. 2, the results are very strange. Namely, for
small sized messages, the system has better performance when loaded with 10 or 100
messages per second, and for bigger messages (over 30K), the system performance is
as expected, that is, higher response time for a huge payload and bigger messages.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2 Response Time Overhead for Signed Messages</title>
        <p>Next, when we implemented signature into messages, we analyze the response time
for different payload of 1, 10 and 100 messages per second. As shown on Fig. 2, the
results are a little strange. Namely, for small sized messages (smaller than 35K), the
system has better performance when loaded with 10, instead of loaded with 1. For a
100 messages per second, the system performance is as expected, that is, higher
response time for a huge payload and bigger messages.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3 Response Time Overhead for Signed and Encrypted Messages</title>
        <p>Next, we implemented the encryption, besides signature, and payload the system with
1, 10 and 100 messages per second. As shown on Fig. 2, the results are similar as
signed only messages. Namely, for small sized messages (smaller than 25K), the
system has better performance when loaded with 10, instead of loaded with 1. For a
100 messages per second, the system performance is as expected.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3 Results and Analysis for Different Message Security Type</title>
      <p>This section describes the results of the performed tests to measure the response time
overhead of the security implementation, for a given number of requests and various
message size. On Fig. 3 is shown the response time ratio (Y axis) of implementing
signature and both signature and encryption to the unsigned messages, for a given
number of requests, and different message size in kilobytes (X axis).</p>
      <p>Fig. 3. Response time overhead (ratio) for implementing security for a given number of
requests, depending of message size</p>
      <sec id="sec-3-1">
        <title>3.1 Response Time Overhead Implementing Security</title>
        <p>We analyze the response time overhead implementing signature to the different sized
messages, compared to the same unsigned message for different payload of 1, 10 and
100 messages per second. As shown on Fig. 3, adding signature increases the
response time ratio constantly, near linear, growing slowly when increasing message
size, but only for a small number of requests, because for a huge number (100), the
baseline payload (without security) has huge response time (shown on Fig. 2).</p>
        <p>Implementing both signature and encryption creates similar overhead to the no
security messages.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2 Response Time Overhead Adding Encryption</title>
        <p>At the end, we analyze the response time overhead adding encryption to the signature
for different sized messages, compared to the same signed only message for different
payload of 1, 10 and 100 messages per second. On Y axis on Fig. 4 is shown the
response time ratio, and X axis is original message size.</p>
        <p>We can conclude that adding encryption to the signature increases the response
time ratio constantly, near linear, but only for a message size above 10K, growing
slowly when increasing message size. The reason that the ratio decreases at the range
of a huge messages and especially huge number of requests is because in that range,
the baseline, that is the signed messages only response time, is huge. With other
words, the IS has a low performance for that payload.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4 Conclusion</title>
      <p>In this paper we have done security based performance analysis and comparison
simulating a small part of new IS, which operates as a wrapper to the legacy IS. We
analyze the performance parameter “response time”, as well as its overhead
increasing “message size”, “number of messages”, and implementing different
security-level mechanisms.</p>
      <p>We believe that these result can be considered as a baseline and with these
analysis, IT quality managers can predict response time for a new IS, knowing
number and size of concurrent messages, in order to retain the new system secured, as
the legacy.</p>
    </sec>
    <sec id="sec-5">
      <title>5 Future Work</title>
      <p>In this paper we analyzed the decreasing the performance to the new IS,
implementing security, increasing “message size”, “number of messages”, and
implementing different security-level mechanisms. But, for the business managers,
the most important issue is customer satisfaction, which is the most connected to the
performance issue, or response time.</p>
      <p>Therefore, our future work will be oriented on necessary hardware improvements
to the new IS, to retain the same performance, such as the legacy system, for the same
payload, but with implemented signature and encryption. Also, the operating system
platform must be analyzed.</p>
    </sec>
    <sec id="sec-6">
      <title>6 References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chu</surname>
            ,
            <given-names>W.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lai</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Agent-Based Web Services Evolution for Pervasive Computing</article-title>
          .
          <source>In: APSEC '04 Proceedings of the 11th Asia-Pacific Software Engineering Conference</source>
          , pp
          <fpage>726</fpage>
          --
          <lpage>731</lpage>
          . IEEE Computer Society, Washington, DC, USA (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Oglodek</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gawinecki</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Paprzycki</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Utilization of Software Agents and Web Services as Transducers for Legacy Software; Case Study Based on an SMTP Server</article-title>
          .
          <source>In: Proceedings of the International Multiconference on Computer Science and Information Technology</source>
          , Vol.
          <volume>2</volume>
          ,
          <string-name>
            <given-names>Polish</given-names>
            <surname>Information</surname>
          </string-name>
          Processing Society, Wisla, Poland (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Huhns</surname>
            ,
            <given-names>M.N.</given-names>
          </string-name>
          :
          <article-title>Software Agents: The Future of Web Services</article-title>
          . In: Kowalczyk,
          <string-name>
            <surname>R.</surname>
          </string-name>
          et al. (Eds.):
          <source>Agent Technology Workshops</source>
          <year>2002</year>
          , LNAI 2592, pp.
          <fpage>1</fpage>
          -
          <lpage>18</lpage>
          ,
          <year>2003</year>
          . Springer, Heidelberg (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Maamar</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mostefaoui</surname>
            ,
            <given-names>S.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yahyaoui</surname>
          </string-name>
          , H.:
          <article-title>Toward an Agent-Based and Context-Oriented Approach for Web Services Composition</article-title>
          .
          <source>J. IEEE Transactions on Knowledge and Data Engineering</source>
          , Vol.
          <volume>17</volume>
          , No.
          <volume>5</volume>
          ,
          <fpage>686</fpage>
          --
          <lpage>697</lpage>
          , (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Greenwood</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calisti</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Engineering Web Service - Agent Integration</surname>
          </string-name>
          .
          <source>In: IEEE Systems, Cybernetics and Man Conference</source>
          , vol.
          <volume>2</volume>
          , pp
          <fpage>1918</fpage>
          -
          <article-title>-1925, The Hague</article-title>
          , Netherlands, (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Matskin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Küngas</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rao</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sampson</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Petersen</surname>
            ,
            <given-names>S.A.</given-names>
          </string-name>
          :
          <article-title>Enabling Web Services Composition with Softward Agents</article-title>
          . In IMSA (
          <year>2005</year>
          ) pp
          <fpage>93</fpage>
          --
          <lpage>98</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Peters</surname>
          </string-name>
          , J.:
          <article-title>Integration of Mobile Agents and Web Services</article-title>
          .
          <source>In: Proceedings of the first European Young Researchers Workshop on Service Oriented Computing (YR-SOC)</source>
          , UK, (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Kuno</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sahai</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>My Agent Wants to Talk to Your Service: Personalizing Web Services through Agents</article-title>
          .
          <source>In: HPL- 2002-114, HP Labs Technical Report</source>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Eastlake</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reagle</surname>
          </string-name>
          , Solo, J. D., eds:
          <source>XML-Signature Syntax and Processing W3C Recommendation</source>
          , (
          <year>2002</year>
          ), http://www.w3.org/TR/xmldsig-core/
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Eastlake</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reagle</surname>
          </string-name>
          , J., eds.
          <source>: XML Encryption Syntax and Processing. W3C Recommendation</source>
          , (
          <year>2002</year>
          ), Online at http://www.w3.org/TR/xmlenc-core/
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Nguyen</surname>
            ,
            <given-names>M. T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fuhrer</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pasquier</surname>
          </string-name>
          , J.:
          <article-title>Enhancing Legacy Information Systems with Agent Technology</article-title>
          . In: J.
          <source>International Journal of Telemedicine</source>
          and
          <article-title>Applications - Special issue on electronic health archive</article-title>
          , Vol.
          <year>2009</year>
          , (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guo</surname>
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Agentification of Web Services</article-title>
          .
          <source>In: COMPSAC '04 Proceedings of the 28th Annual International Computer Software and Applications</source>
          Conference - Vol.
          <volume>01</volume>
          , pp
          <fpage>514</fpage>
          --
          <lpage>519</lpage>
          . IEEE Computer Society Washington, DC, USA (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Zhang</surname>
          </string-name>
          , J.,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Varadharajan</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Mobile Agent and Web Service Integration Security Architecture</article-title>
          .
          <source>In: SOCA '07 Proceedings of the IEEE International Conference on ServiceOriented Computing and Applications</source>
          . IEEE Computer Society Washington, DC, USA (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tseng</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gung</surname>
            ,
            <given-names>R. R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            <given-names>H.:</given-names>
          </string-name>
          <article-title>An agent-based web services solution to collaborative product design</article-title>
          .
          <source>International Journal of Knowledge-based and Intelligent Engineering Systems</source>
          , Vol.
          <volume>9</volume>
          , n. 2, p.
          <fpage>63</fpage>
          --
          <lpage>79</lpage>
          , (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Genesereth</surname>
            ,
            <given-names>M. R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ketchpel</surname>
            ,
            <given-names>S. P.</given-names>
          </string-name>
          :
          <article-title>Software Agents</article-title>
          .
          <source>In: Communication of the ACM</source>
          , Vol.
          <volume>37</volume>
          , No. 7
          <string-name>
            <surname>July</surname>
          </string-name>
          (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>