{"title":"An Event-based Approach on Automatic Synchronous-to-Asynchronous Transformation of Web Service Invocations","authors":"Alireza Khalilipour, Moharram Challenger","doi":"10.1109/ICCKE48569.2019.8965130","DOIUrl":null,"url":null,"abstract":"One of the approaches to increase the performance of Distributed Systems, such as Service Oriented Systems, is the asynchronous invocation of the services. This is applicable because in many cases the clients do not need the result immediately and need not be blocked after the invocation. Without this mechanism, a developer should use a set of complex techniques to gain the mentioned performance. However, this procedure is both error-prone and cumbersome for the developers. Also, the state-of-the-art tools and languages which provide asynchronous mechanisms, involve the developers with the details of these invocations, as the mechanism is not transparent in these languages. In this paper, a new approach is proposed which generates an event-based middleware based on the candidate invocations available in the source/initial code. The approach also modifies the initial code to adapt with the middleware. This middleware plays the role of an interface between clients and web services. Using this approach, the invocations are transparent for the developers. This means that the synchronous and asynchronous invocations of web services are done in the same manner from the developer perspective. This is realized by automatic transformation of synchronous invocations to asynchronous ones via the generated middleware. The experimental evaluations show that the approach transforms the invocations successfully. Also, the results show that the performance of the asynchronous invocations are by far better than the synchronous ones.","PeriodicalId":6685,"journal":{"name":"2019 9th International Conference on Computer and Knowledge Engineering (ICCKE)","volume":"118 1","pages":"162-169"},"PeriodicalIF":0.0000,"publicationDate":"2019-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 9th International Conference on Computer and Knowledge Engineering (ICCKE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCKE48569.2019.8965130","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
One of the approaches to increase the performance of Distributed Systems, such as Service Oriented Systems, is the asynchronous invocation of the services. This is applicable because in many cases the clients do not need the result immediately and need not be blocked after the invocation. Without this mechanism, a developer should use a set of complex techniques to gain the mentioned performance. However, this procedure is both error-prone and cumbersome for the developers. Also, the state-of-the-art tools and languages which provide asynchronous mechanisms, involve the developers with the details of these invocations, as the mechanism is not transparent in these languages. In this paper, a new approach is proposed which generates an event-based middleware based on the candidate invocations available in the source/initial code. The approach also modifies the initial code to adapt with the middleware. This middleware plays the role of an interface between clients and web services. Using this approach, the invocations are transparent for the developers. This means that the synchronous and asynchronous invocations of web services are done in the same manner from the developer perspective. This is realized by automatic transformation of synchronous invocations to asynchronous ones via the generated middleware. The experimental evaluations show that the approach transforms the invocations successfully. Also, the results show that the performance of the asynchronous invocations are by far better than the synchronous ones.