计算机科学 ›› 2013, Vol. 40 ›› Issue (7): 157-161.

• 软件与数据库技术 • 上一篇    下一篇

面向服务环境中的NServiceBus服务总线应用研究

唐蓉君,叶波,文俊浩   

  1. 重庆大学信息与网络管理中心 重庆400030;重庆大学软件学院 重庆400044;重庆大学软件学院 重庆400044
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受重庆市自然科学基金(CSTC,2008BB2191)资助

Research and Application of NServiceBus Service Bus in SOA Environment

TANG Rong-jun,YE Bo and WEN Jun-hao   

  • Online:2018-11-16 Published:2018-11-16

摘要: 传统的面向服务环境中,服务请求者和服务提供者需要通过UDDI进行服务绑定,但其无法提供一种异步、可靠、可管理的过程。文中引入NServiceBus开源服务总线来提供一种异步通信模型。对注册服务进行集中管理和服务质量监控可有效提升系统服务调用的灵活性与可扩展性。除此之外,通过分析NServiceBus开源服务总线的消息转发机制,提出一种服务响应时间模型来预测系统在高并发访问下的负载情况,并对其进行过载保护,设计并实现了一种自适应优先级队列来对服务请求进行分级调度,以在一定程度上保证服务响应时间,提高系统的响应速率。最后经过实际项目中的应用测评实验对比分析,验证了本方法对提升NServiceBus服务性能的有效性和实用性。

关键词: SOA,Web服务,NServiceBus,过载保护,消息队列 中图法分类号TP31文献标识码A

Abstract: In the traditional service-oriented environment,service customers and service providers need to complete service binding through the UDDI server which cannot provide a asynchronous,reliable and manageable process.This paper introduced NServiceBus which is a open source service bus to provide a kind of asynchronous communication model.The centralized management and service quality control for registration services can effectively improve the system service calls’ flexibility and extendability.In addition,this paper analyzed message forwarding mechanism of NServiceBus open source service bus,and proposed a kind of service response time model to forecast overload condition of current system in high concurrent access and provide overload protection.This paper also designed and implemented a kind of self-adaptive priority queuing to provide hierarchical scheduling of service request,to a certain degree to ensure service response time and improve the system response rate.Finally the evaluation experiment and contrast analysis in the application of actual project prove validity and practicability of this method to improve the performance of NServiceBus service.

Key words: SOA,Web services,NServiceBus,Overload protection,Message queue

[1] 徐罡,黄涛,刘绍华,等.分布应用集成核心技术研究综述[J].计算机学报,2005,8(5):433-444
[2] 刘家红,吴泉源.一个基于事件驱动的面向服务计算平台[J].计算机学报,2008,1(4):590-599
[3] 房洪臣,冷文浩,吴建波.基于SOA的企业IT架构[J].计算机工程,2008,8(23):143-185
[4] 魏楚元.Web Services体系结构与实现机制探讨[J].航空计算技术,2003,3(1):101-105
[5] Jeng J J.System Dynamics Modeling for SOA Project Management[C]∥Service-Oriented Computing and Applications,SOCA’07.IEEE International Conference,2007(7):286-294
[6] 徐明伟,胡春明,刘旭东,等.一种基于WebService的分级Qos的研究与实现[J].计算机研究与发展,2005,2(4):669-675
[7] Liu Yan.Performance Prediction of Service-Oriented Applica-tions based on an Enterprise Service Bus[J].Computer Software and Applications Conference,IEEE,2007(7):327-334
[8] Jiang Ji-chen.Enterprise Service Bus and an Open Source Implementation[J].Management Science and Engineering,IEEE,2006(10):926-930
[9] Ziyaeva.Content-Based Intelligent Routing and Message Pro-cessing in Enterprise Service Bus[J].Convergence and Hybrid Information Technology,IEEE,2008(8):245-249
[10] 李国勇,陈蜀宇,高峥.Web服务中心的跨应用单点登录[J].重庆理工大学学报:自然科学版,2011,25(2):68-73

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!