Académique Documents
Professionnel Documents
Culture Documents
ABSTRACT
In service oriented architecture there may be many web services providing similar providing similar properties,
effects, capabilities, and interfaces. Hence selecting a service which is as per the user requirement is a difficult task.
Differentiations among the competing services are obtained through quality of service attributes. This allows the
user/consumer to select the best service as per his/her requirement. This paper has considered this issue and discusses
about the use of these quality of service attributes which are nothing but the non functional parameters for guiding the user
in selecting the service according to his/her requirement. The non functional parameters which are considered for this are
nothing but response time, reliability, and execution time of the competing web services. For this in the paper proposed
two algorithms particle swarm optimization and memetic algorithm. These two algorithms are used for above non
functional parameters. Using graphical representation the comparison of co`11`mpeting web services for their respective
non functional parameters is shown. Both approaches are compared for these three non functional parameters.
www.tjprc.org
editor@tjprc.org
36
Quality of Service can be defined as: the capability to respond to the requirements a client and to fulfil these
needs with the best condition specified from client. The non-functional properties describe the service and including its
performance. The performance specifies how and in which condition the service is executed. Few non-functional
properties can be defined as:
Availability: It can be calculated as (1 Down Time)) (Measurement Time). The Measurement Time can be
adapted to the application.
Accuracy: Error rate that produces a service. It is calculated as the number of errors divided by the total number
of executions.
Execution Time: Measures precisely the time the provider takes to execute a request.
Reliability: Probability with which the provider correctly answers a request within a maximum expected time. It
is measured as the number of success request divided by the number of request.
Robustness: Establishes the capacity of the system to give an accurate answer in presence of invalid, incomplete
or conflicting inputs. These can be estimated at the provider side or tested and making an average from the last
experiences.
Security: Comprises other non-functional properties (i.e. data encryption, authentification). It evaluates the
security in the transaction who assures the ACID properties (Atomicity, Consistency, Isolation and Durability).
This value can be presented by the provider separately or as an aggregation of the different qualities.
Throughput: Measures the maximum network capacity the client and the provider can get to communicate. It is
time dependent, so if a quality reservation is not possible on the network, the throughput would be either the
maximum throughput registered or the average.
MEMETIC ALGORITHM
Evolutionary algorithm with local search technique forms the memetic algorithm. For finding high quality
solutions to optimization problems memetic algorithms are very much effective and efficient. Memes in. memetic are very
much similar to genes in genetic algorithm. Genes are predefined. They already contain the set of values for optimization
problem. Memes are not pre defined, rather they are derived by analyzing the current information. Memes represent current
position and compares it with objective function accordingly they keep on updating to reach to the goal position. Memetic
Algorithm is expansion of traditional Genetic Algorithm. It reduces the premature convergence in local search itself.
Impact Factor (JCC): 6.8785
37
An Effective Guidance Method for Web Service Selection Using PSO and MA
(1)
(2)
Step 6: it the required criteria not achieved go to step2 else stop process.
www.tjprc.org
editor@tjprc.org
38
Response Time: when the user is giving input to the software system whatever time the system takes to respond
to the user for the given input.
Execution Time: Measures precisely the time the provider takes to execute a request.
Reliability: Probability of answering correctly the given request by the provider within maximum expected time.
It is measured as the number of success request divided by the number of request.
Database design contains three tables. First table is there to maintain the information of customers for different
transactions. Second table maintaining all the transaction details of the customers like transaction type, transaction amount,
transaction date etc. Third table is an important table in which all the webservic usage information is stored which contains
the execution time, response time and error information of every transaction of the web service.
The above two algorithms are executed on15 transactions. Firstly the service consumer is supposed to ask about
the respective response time accordingly the graph is displayed to the user showing the comparison of different
transactions(as stated above) of a web services according to memetic and particle swarm optimization algorithm.
Figure 1: Response Time According to PSO and MA for Different Web Service Transactions
The blue bar is for PSO algorithm and brown bar is for memetic algorithm. One can determine that response time
of a transaction 1 according to PSO is greater than that of memetic algorithm and so on.
39
An Effective Guidance Method for Web Service Selection Using PSO and MA
The second graph the execution time of each web service is shown. Here response time is nothing but the
execution time of the web services each transaction.
Figure 2: Execution Time According to PSO and MA for Different Web Service Transactions
The blue bar is for PSO algorithm and brown bar is for memetic algorithm. One can determine that response time
of a transaction 1 according to PSO is greater than that of memetic algorithm and so on.
The third graph is about the reliability of web services.
CONCLUSIONS
This paper describes about how non-functional properties are important for web service selection.
Two approaches are used for web service selection one is particle swarm optimization and other is memetic algorithm.
These algorithms are implemented to match the requirement of service consumer with the service provider as per his/her
own requirement of functionality. Depending on how many transactions are executed of the web service it is going to
affect the response time and execution time of the web service. We can find PSO performance is better than memetic
because in memetic extra time is required to perform local search.
www.tjprc.org
editor@tjprc.org
40
REFERENCES
1.
Simone A. Ludwig. (2011). Memetic Algorithm for Web Service Selection. Proceedings of the 3rd workshop on
Biologically inspired algorithms for distributed systems international conference on automatic communication and
computing.
2.
Shang-Chia Liu & Sung-Shun Weng. (2012). Applying Genetic Algorithm to Select Web services Based on
Workflow Quality of Service. Journal of Electronic Commerce Research VOL 13 NO 2.
3.
Taher L. El Khatib H. (2005). A framework and QoS matchmaking algorithm for dynamic web services selection.
Proceedings of the 2nd International Conference on Innovations in Information Technology (IIT05).
4.
Holland J. H. (1975). Adaptation in Natural and Artificial Systems. University of Michigan Press, Ann Arbor.
5.
Wolpert D, Macready. (1997). No free lunch theorems for optimization. IEEE Trans. Evol. Comput, vol. 1, no. 1,
pp.67-82.
6.
Dawkins R. (1976). The Selfish Gene. New York: Oxford Univ. Press.
7.
Krasnogor N. & Smith, J. (2005). A Tutorial for Competent Memetic Algorithms: Model, Taxonomy, and Design
Issues. IEEE Trans. On Evolutionary Computation, vol. 9, no. 5.8.
8.
Vazquez M. & Whitley L.(2000). A hybrid genetic algorithm for the quadratic assignment problem. Proceeding
on Genetic Evolution Computing Conference. pp. 135-142.
9.
Ku K. Mak. (1998). Empirical analysis of the factors that affect the Baldwin effect. Lecture Notes in Computer
Science. Parallel Problem Solving From Nature, pp. 481-490.
10. M. C. Frdrique & Claudia Catalina, Evaluation. Framework for Quality of Service in Web Services:
implementation in a pervasive environment. Master Thesis Master Research in Informatics Specialized in
Technologies of Information & Web.
11. J. O'sullivan. D. Edmond and A. T. Hofstede. (2002). What's in a service? Towards accurate description of
non-functional service properties. Distributed and Parallel Databases Journal.
12. N. P. Padhy. (2013). Artificial Intelligence and Intelligent Systems. Oxford University Press, 12th impression.
13. WSMO Deliverable D28.4 V0.1 (2006). Non Functional Properties of Web Services WSMO Working Draft.
14. Mona niyakan Lahiji. (2012). Particle Swarm Optimization (PSO) Algorithm.CNB scholar journals. Journal of
Biology and today's world volume 1, issue 1.
15. C. Rajeswary*. A survey on Efficient Evolutionary algorithms for Web Service Selection. IJMIE Volume 2,
Issue 9