计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (21): 72-74.DOI: 10.3778/j.issn.1002-8331.2008.21.019

• 网络、通信、安全 • 上一篇    下一篇

一种TCP连接的延迟多次迁移技术

汤迪斌1,2,倪 宏2,陈 晓2   

  1. 1.中国科学院 研究生院,北京 100039
    2.中国科学院 声学研究所 国家网络新媒体工程技术研究中心,北京 100080
  • 收稿日期:2008-01-31 修回日期:2008-03-26 出版日期:2008-07-21 发布日期:2008-07-21
  • 通讯作者: 汤迪斌

Delayed multiple TCP connection handoff mechanism

TANG Di-bin1,2,NI Hong2,CHEN Xiao2   

  1. 1.Graduate School of Chinese Academy of Sciences,Beijing 100039,China
    2.National Network and New Media Technology Research Center,Institute of Acoustics,CAS,Beijing 100080,China
  • Received:2008-01-31 Revised:2008-03-26 Online:2008-07-21 Published:2008-07-21
  • Contact: TANG Di-bin

摘要: 现有的基于内容的Web交换技术不能很好地支持HTTP持久连接(P-HTTP)和流水线请求。提出了一种TCP连接的延迟多次迁移方法(DM-TCPHA),前端FE根据第一个请求将连接迁移到选中的BE,该连接上的后续请求报文由BE来调度,且通过强制手段保证BE在收到客户对HTTP回复的确认报文后再执行迁移。该方法具有TCP迁移高性能的优点,且能很好地支持P-HTTP和流水线请求。

关键词: TCP迁移, 持久连接, 流水线请求, Web集群

Abstract: The state of the art content-aware web switching mechanisms have limit support to persistent HTTP connection and pipelined requests.This paper proposes delayed multiple TCP connection handoff,front-end handoffs TCP connection to a selected back-end according to the first request,successive requests on the same persistent connection are dispatched by back-ends.A constraint is adopted to ensure that the connection is handoffed after receiving acknowledgement to the last packet of HTTP response.This method has the advantage of TCP handoff’s high performance,and supports P-HTTP and pipelined requests.

Key words: TCP handoff, persistent connection, pipelined requests, Web cluster