首页> 外文会议>IASTED International Conference on Applied Modelling and Simulation >IMPLEMENTING SOCKET NETWORK MODULE OF MESSAGE MIDDLEWARE USING SOCKET POLLING MODEL IN JAVA
【24h】

IMPLEMENTING SOCKET NETWORK MODULE OF MESSAGE MIDDLEWARE USING SOCKET POLLING MODEL IN JAVA

机译:在Java中使用套筒轮询模型实现消息中间件的套接字网络模块

获取原文

摘要

Typical multi-thread programming in server applications makes its codes simple but the overhead managing many threads becomes a burden on a CPU as the network connections increase. On the other hand, socket polling takes less overhead on connections but it is more complicated to implement compared to the former case. In this paper, we compare the architectures of three socket programming models and evaluate the performances by simulating under various conditions aimed to the network module of a java message middleware. Three models presented in this paper are typical multi-thread model, socket polling with single-thread handler model, and socket polling with multi-thread handler model. We suggest the socket polling with multi-thread handler model implemented using JDK 1.3.1. It shows no less or better performance over the typical multi-thread model. Furthermore it has the advantage that can hold more connections beyond the thread pool capacity. With this result, we adapt it to the network module of MoIM-Message server.
机译:服务器应用程序中的典型多线程编程使其代码简单,但由于网络连接增加,许多线程的开销成为CPU的负担。另一方面,套筒轮询在连接上取得更少的开销,但与前案例相比,它更加复杂。在本文中,我们将三个套接字编程模型的架构进行比较,并通过在旨在旨在为Java消息中间件的网络模块的各种条件下模拟来评估性能。本文提出的三种模型是典型的多线程模型,套接字轮询与单线程处理程序模型,以及带有多线程处理程序模型的套接字轮询。我们建议使用使用JDK 1.3.1实现的多线处理程序模型的套接字轮询。它在典型的多线程模型上显示了不少或更好的性能。此外,它具有可以容纳超出线程池容量的更多连接的优点。使用此结果,我们将其调整到Moim-Message Server的网络模块。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号