Supporting synchronous and asynchronous communications in event-based communication framework for client-server applications

Mingyu Lim · International Journal of Advanced Computer Research · 2019

Developers of distributed applications can implement communication functionalities from the scratch, but it is more efficient for them to use services provided by communication middleware or framework.Although previous work [1, 2] of the proposed scheme, existing general communication middleware's [3-7], middleware's for online social networks [8-12], and other recent middleware's [13-15] provide generic or application-specific communication services, they do not support both the synchronous and asynchronous communications.Communication between a client and a server that existing approaches use is not determined by application requirements, but by their internal ways of communication channel management or kinds of services.Thus, if an application selects a middleware or a service, it also uses a fixed communication method between the client and the server.*Author for correspondence For example, because previous versions of a communication framework (CM) on an event-based asynchronous communication method were developed, they support all the services only with the asynchronous communication.However, all kinds of services can be provided not only with the asynchronous, but also with the synchronous communication.If a middleware or framework allows an application to choose the communication method according to its context and requirement, then it could provide applications with more flexible services.In this paper, an extended version of CM in order to support both the synchronous and asynchronous communications is proposed.CM provides an application with various communication services both in the synchronous and asynchronous manners.The communication methods of CM are developed based on the multi-threaded and event-based asynchronous communication architecture.To realize both the synchronous and asynchronous

Read the paper · More papers on PaperTik