(Publisher of Peer Reviewed Open Access Journals)

International Journal of Advanced Computer Research (IJACR)

ISSN (Print):2249-7277    ISSN (Online):2277-7970
Volume-9 Issue-40 January-2019
Full-Text PDF
Paper Title : Supporting synchronous and asynchronous communications in event-based communication framework for client-server applications
Author Name : Mingyu Lim
Abstract :

This paper proposes a communication framework (CM) that supports both of synchronous and asynchronous communication between a client and a server. Original CM is an event-based asynchronous communication framework and provided applications with communication services only in the asynchronous manner. The extended CM provides synchronous communication mechanism using a blocking socket channel and a non-blocking socket channel. By explicitly providing blocking socket channels to applications, CM allows a client to organize its own synchronous communication protocol with a server. With the non-blocking socket channel, CM can change the original asynchronous communication services to synchronous services using the synchronization technique between the main thread and the processing thread. Because applications can use both the asynchronous and synchronous communications, they can apply communication services to broader contexts. For performance analysis, the proponent compared the asynchronous and synchronous methods with the qualitative analysis and the quantitative experiment. The qualitative analysis verifies that developers can design an application logic more intuitively with the synchronous communication. The quantitative experiment shows that the server-response delay of the synchronous communication is shorter than that of the asynchronous case.

Keywords : Synchronous/asynchronous communication, Event-based communication framework, Blocking/non-blocking socket channel, Client-server system.
Cite this article : Lim M. Supporting synchronous and asynchronous communications in event-based communication framework for client-server applications . International Journal of Advanced Computer Research. 2019; 9(40):11-19. DOI:10.19101/IJACR.COM16004.
References :
[1]Lim M, Kevelham B, Nijdam N, Magnenat-Thalmann N. Rapid development of distributed applications using high-level communication support. Journal of Network and Computer Applications. 2011; 34(1):172-82.
[Crossref] [Google Scholar]
[2]Lim M. CMSNS: a communication middleware for social networking and networked multimedia systems. Multimedia Tools and Applications. 2017; 76(17):18119-35.
[Crossref] [Google Scholar]
[3]Tortonesi M, Stefanelli C, Suri N, Arguedas M, Breedy MR. MOCKETS: a novel message-oriented communications middleware for the wireless internet. In WINSYS 2006 (pp. 258-67).
[Google Scholar]
[4]Morgan G, Lu F, Storey K. Interest management middleware for networked games. In symposium on interactive 3D graphics and games 2005 (pp. 57-64). ACM.
[Crossref] [Google Scholar]
[5]Pakkala D, Pakkonen P, Sihvonen M. A generic communication middleware architecture for distributed application and service messaging. In joint international conference on autonomic and autonomous systems and networking and services 2005 (p. 22). IEEE.
[Crossref] [Google Scholar]
[6]Henning M. A new approach to object-oriented middleware. IEEE Internet Computing. 2004; 8(1):66-75.
[Crossref] [Google Scholar]
[7]Carvalho M, Suri N, Arguedas M. A mobile agent-based communications middleware for data streaming in the battlefield. In MILCOM 2005 (pp. 794-800). IEEE.
[Crossref] [Google Scholar]
[8]Brooker D, Carey T, Warren I. Middleware for social networking on mobile devices. In Australian software engineering conference 2010 (pp. 202-11). IEEE.
[Crossref] [Google Scholar]
[9]Mokhtar SB, McNamara L, Capra L. A middleware service for pervasive social networking. In proceedings of the international workshop on middleware for pervasive mobile and embedded computing 2009 (pp. 1-6). ACM.
[Crossref] [Google Scholar]
[10]Pietiläinen AK, Oliver E, LeBrun J, Varghese G, Diot C. MobiClique: middleware for mobile social networking. In proceedings of the workshop on online social networks 2009 (pp. 49-54). ACM.
[Crossref] [Google Scholar]
[11]Gupta A, Kalra A, Boston D, Borcea C. MobiSoC: a middleware for mobile social computing applications. Mobile Networks and Applications. 2009; 14(1):35-52.
[Crossref] [Google Scholar]
[12]Borcea C, Gupta A, Kalra A, Jones Q, Iftode L. The MobiSoC middleware for mobile social computing: challenges, design, and early experiences. In proceedings of the international conference on MOBILe wireless MiddleWARE, operating systems, and applications 2008.
[Google Scholar]
[13]Garcia-Valls M, Bellavista P, Gokhale A. Reliable software technologies and communication middleware: a perspective and evolution directions for cyber-physical systems, mobility, and cloud computing. Future Generation Computer Systems. 2017; 71:171-6.
[Crossref] [Google Scholar]
[14]Majumdar D, Zhang L, Bhaduri P, Chakraborty S. Reconfigurable communication middleware for flex ray-based distributed embedded systems. In international conference on embedded and real-time computing systems and applications 2015 (pp. 159-66). IEEE.
[Crossref] [Google Scholar]
[15]Luo X, Wu W, Bosilca G, Patinyasakdikul T, Wang L, Dongarra J. ADAPT: an event-based adaptive collective communication framework. In proceedings of the international symposium on high-performance parallel and distributed computing 2018 (pp. 118-30). ACM.
[Crossref] [Google Scholar]