世界粮食计划署的订购保证 [英] Ordering Guarantees in WFP

查看:99
本文介绍了世界粮食计划署的订购保证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WFP中的数据包订购是否有保证?

Is ordering of packets in WFP assured?

例如,假设我有一个客户端发出TCP / IP请求,可能是请求网页,一台服务器。我的WFP标注正在服务器上运行。我的标注会看到此流的以下事件顺序:

For example, let's say I've got a client making a TCP/IP request, maybe requesting a web page, from a server. My WFP callout is running on the server. Will my callout see the following order of events for this stream:

INBOUND< - 初始请求

INBOUND <-- initial request

OUTBOUND< - 初始响应

OUTBOUND <-- initial response

INBOUND< - Ack of last outbound

INBOUND <-- Ack of the last outbound

OUTBOUND< - ...

OUTBOUND <-- ...

等。

我担心在我的标注看到服务器OUTBOUND响应数据包之前收到第二轮客户端INBOUND数据包。

I'm concerned about receiving the second round of client INBOUND packets before my callout has seen the servers OUTBOUND response packets.

提前致谢!

推荐答案

1。)WFP只能看到应用程序试图放入或通过堆栈。逻辑上,客户端入站请求将导致服务器出站回复,因此前者将成为后者的原因,因此排序很明显。

1.) WFP only sees what apps are trying to put or get through the stack. Logically a Clients inbound request will result in the servers outbound reply so the former will be the cause for the latter and hence the ordering is obvious.

WFP将不会看到第二轮客户端INBOUND数据包,除非它已经放弃了OUTBOUND响应数据包(这实际上是第二轮客户端请求/数据包的原因)。

WFP won't see the second round of clients INBOUND packets unless the it has let go of the OUTBOUND response packets(which would actually be the cause of the second round of clients requests/packets).

<对于TCP:数据包的注入必须做OOB以确保顺序/顺序(如果我错了,MS纠正我)>

<For TCP: Injection of packets must be done OOB to ensure sequence/order(MS correct me if im wrong)>

2。)或者我在这里误解了我的朋友的查询。

2.) OR I am out of line here having misunderstood the query my friend.

问候

Umar Yaqoob

Umar Yaqoob


这篇关于世界粮食计划署的订购保证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆