首页    期刊浏览 2025年07月04日 星期五
登录注册

文章基本信息

  • 标题:Supporting synchronous and asynchronous communications in event-based communication framework for client-server applications
  • 作者:Mingyu Lim ; Mingyu Lim
  • 期刊名称:International Journal of Advanced Computer Research
  • 印刷版ISSN:2249-7277
  • 电子版ISSN:2277-7970
  • 出版年度:2019
  • 卷号:9
  • 期号:40
  • 页码:11-19
  • 出版社:Association of Computer Communication Education for National Triumph (ACCENT)
  • 摘要: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.
  • 关键词:Synchronous/asynchronous communication; Event-based communication framework; Blocking/non-blocking socket channel; Client-server system.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有