期刊文献+

一种使用环形缓存和环形队列实现UDP高效并发的方法 被引量:4

下载PDF
导出
摘要 本方法涉及UDP并发技术领域,尤其涉及一种使用环形缓存和环形队列实现UDP高效并发的方法。特点如下:在数据接收线程中创建环形队列,用于存储待返回数据的客户端标识,并在数据处理子线程创建发送环形缓存和接收环形缓存,用于接收数据和存储待发送数据;数据接收线程在接收数据的同时查看环形队列中是否有需返回数据的客户端标识,如由相应数据处理子线程发送环形缓存中的数据发送出去。本方法的循环缓冲区可以提供对缓冲区的互斥访问,因而数据接收线程与数据处理子线程之间不需要加互斥保护,可同时进行,从而有了良好的并发性能,循环缓冲区可以更好地利用系统内存资源。
作者 孙明刚
出处 《中国新技术新产品》 2016年第11期6-7,共2页 New Technology & New Products of China
  • 相关文献

参考文献3

二级参考文献17

  • 1王海军,刘彩霞,程东年.一种基于UDP的可靠传输协议分析与研究[J].计算机应用研究,2005,22(11):181-183. 被引量:22
  • 2ComerDE 张娟 王海译.用TCP/IP进行网络互联(卷2)[M].北京:电子工业出版社,1998..
  • 3Boulevard W.RFC793-transmission control Protocol[S/OL]. ( 1981 - 09).http ://www.faqs.org/rfcs/rfc793.html.
  • 4Postel J.RFC768-user datagram protocol[S/OL]. ( 1980-08-28 ).http : //www.faqs.org/rfcs/rfc768.html.
  • 5Vehen D.Hinden R,Sax J.RFC908-reliable data protocol[S/OL]. ( 1984-07 ).http ://www.faqs.org/rfcs/rfc908.html.
  • 6Partridge C,Hinden R.RFCI151-Version 2 of the reliable data protocol( RDP )[S/OL].( 1990-04 ).http ://www.faqs.org/rfcs/rfc 1151 .html.
  • 7GU Yunhong,Hong Xinwei,Grosman R.Experienees in design and implementation of a high performance Transport Protocol[C]//Proceedings of the ACM/IEEE SC2004 Conference,2004.
  • 8GU Yunhong.Breaking the data transfer bottleneck-UDT:A high performance data transport protocol[C].2005.
  • 9Padhye J,Firous V,Towsley D,et al.Modeling TCP throughput:A simple model and its empirical validation [C]//Proeeedings ACM SIGCOMM98,1998.
  • 10Vojnovic M,Boudec J Y L,Boutremans C.Global fairness of additive -Increase and multiplicative -decrease with heterogeneous round-trip times[C]//Proceedings IEEE INFOCOM 2000,2000.

共引文献79

同被引文献19

引证文献4

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部