webnovel
sliding window protocol window size

sliding window protocol window size

2026-09-02 18:29
1 answer

There was no fixed window size in the sliding window protocol. It would be determined based on various factors such as the specific network conditions, the application scenario of the protocol, the size of the sending buffer, and the receiving ability of the receiver. It was mentioned in Flink's window architecture related content that, for example, the window size could be set to 5s (an example of a step size of 2s). This was only an example of a specific application (a windowing application under the Flink architecture). It could not represent the common window size settings of the sliding window protocol. The purpose of the sliding window protocol was to control the flow to avoid congestion. The window size was determined to ensure the reliable transmission of data and to increase the network throughout as much as possible. For example, in network data transmission, if the sending party has a strong sending ability and the receiving party has a limited receiving ability, the window size needs to be set reasonably according to the receiving party's receiving ability and other factors, so that the sending party can send multiple data packets at the same time without receiving an acknowledgment, without causing problems such as network congestion or data loss due to sending too many data packets exceeding the receiving party's ability. "Choose" was equally exciting. Everyone was welcome to read it!

Godnet - Valkyrie Protocol

Godnet - Valkyrie Protocol

After the betrayal of Luciferel, and having to deal with the Nephilim problem God made a few changes to how Heaven was run. Time does not quite flow the same in Heaven, so God was able to draw inspiration from millennia of human history. In the end, God chooses to structure things like a mega-corporation with him as the CEO and his archangels acting as department heads. To keep the threat of another angel rebellion to a minimum, every few years the angels would be ordered to change departments. To ensure that things ran smoothly and that the communication between departments happened in a timely fashion a Heaven-wide internet was established called Godnet. Due to an accident caused by mistaken identity, John Smith was killed by an angel on her first day in the Department of Death. By the time she released her mistake, it was far too late to "just" put him back in his own body. In an effort to correct her mistake the angel tried to have John Smith be reborn in the universe she originally was supposed to have a John Smith die in. The Angel was originally in IT for Godnet so she thought that it would be not too difficult to hide her little oops by altering a few records. However, she got a call from Upper Management during the process of having John be reborn. Figuring the " proper" department would step in to finish the process, the angel left to report to upper management, not wanting to receive an even bigger punishment than what she was already going to receive. In her rush to leave, she forgot to close down the connection to Godnet.
Sci-fi
661 Chs

Continuous arq protocol and sliding window protocol

In the continuous ARQ protocol, the sender maintained a sending window of a certain size, and the packets within the window could be sent continuously without waiting for the other party's acknowledgment. The sender would slide the sending window forward by one packet every time it received an acknowledgment. The receiver usually uses the method of accumulating acknowledgement, that is, after receiving several packets, it sends an acknowledgement to the last packet that arrives in order, indicating that all the packets up to this packet have been received correctly. However, this method has shortcomings. For example, when the middle packet is lost, the sender cannot know the situation of the subsequent packets, and may need to re-transmit more packets. The sliding window protocol involves a sending window and a receiving window. The transmit window is the range of sequence numbers of the frames that have been sent but have not been acknowledged, and the receive window is the range of sequence numbers of the frames that are expected to be received. When the default window size is 1, you can operate according to the specific sending process. The sliding window protocol could improve the channel utilization and was a reliable transmission mechanism for data communication. The continuous ARQ protocol can be seen as a specific application form of the sliding window protocol under certain conditions (such as the cumulative acknowledgment method). They are all protocol mechanisms that exist to achieve effective and reliable data transmission in the network. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-06-20 04:44

Is the select replay protocol a sliding window protocol?

Yes, the selective replay protocol was based on the sliding window flow control technology. It was a sliding window protocol. " Choose " was equally exciting. Everyone was welcome to read it!

1 answer
2026-09-04 17:29

Choose the size of the window for the replay protocol.

For the selective replay protocol, the window size is <= 2^(m - 1). When n bits are used to number the frames, in order to prevent the old and new receive windows from overlapping after the receiver moves the window forward, the maximum size of the transmit window does not exceed the range of the sequence number, that is, WT <2n-1. When the transmit window takes the maximum value, it is found to be the same as the transmit window and 2n-1 (in most cases, the transmit window is equal to the receive window and 2n-1, because this is the most efficient). If the value of the transmit window is greater than 2n-1, it may cause the new and old receive windows to overlap. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-08-25 22:58

What is the window size for selecting the replay protocol?

For the selective replay protocol, the window size was <=2^(m - 1), and the transmit window could not be larger than the receive window. To maximize efficiency, in most cases, the transmit window was equal to the receive window and was equal to 2n - 1 (n was the number of bits used to number the frame). However, this value must not exceed half of the range of the serial number to avoid the overlap of the new and old receive windows at the receiver. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-04-19 04:52

Choose the maximum window size for the replay protocol.

If n bits are used to number the frame, the maximum size of the transmission window of the selected replay protocol does not exceed half of the range of the sequence number, that is, WT <= 2^(n - 1). When the transmit window is the maximum, it is the same as the receive window. In most cases, the transmit window is equal to the receive window and is equal to 2^(n - 1), because the maximum efficiency can be achieved in this case. At the same time, in order to prevent the new receiving window from overlapping with the old receiving window after the receiving end moves the window forward, the size of the sending window should meet this limit. Otherwise, the new and old receiving windows may overlap. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-08-26 03:48

Choose the size of the reception window of the Retransmission protocol.

By default, the size of the receive window is equal to the size of the send window in the selective replay protocol (SSR), but no information about the specific size was found. In the example where the frame sequence number is represented by 3 bits, the principle that the sending window meets is that the size of the sending window is equal to the receiving window, but the specific size of the receiving window is not specified. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-08-23 16:12

Fallback n frame protocol sending window size

The size of the sending window of the fallback N-frame protocol is greater than 1, and multiple data packets can be sent consecutively. " Choose " was equally exciting. Everyone was welcome to read it!

1 answer
2026-04-19 05:44

arq protocol sending window maximum

In the ARQ protocol, the maximum transmission window is related to the type of the protocol. 1. ** Stop and Wait ARQ protocol **: After sending a frame, the sending station must wait for an acknowledgment signal. After receiving an acknowledgment signal, it will continue to send the next frame. There is no mention of the maximum value of the sending window size. 2. ** Repeat ARQ protocol **: It is a combination of sliding window technology and automatic repeat request technology. The maximum sending window is 2^(n - 1)(considering the possible loss of the ACK, it will be repeated after a time limit). 3. ** Continuous ARQ protocol (includes two types of protocol: - For the backward N-frame protocol, 1 <transmission window <= 2n- 1. - For the selective replay protocol, the transmit window is <= 2^(n - 1), and when the transmit window is the maximum, the receive window = transmit window = 2n - 1. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-04-18 05:31

Slipping window to select the replay protocol

The sliding window selective repeat (PR) protocol was a sliding window protocol. In this protocol, the sender continuously sends a number of frames according to a window of a specified size. Even if a frame is lost in the process of sending, it will continue to send. The receiver's receiving window size was greater than 1. When an out-of-order packet was received, if the sequence number was in the receiving window, it would be first stored in the buffer and delivered to the upper layer after all the missing packets were collected. It used a selective acknowledgment method and only retransmitted the packets with errors. The sending window could only move to the right after receiving the confirmation of the leftmost sequence number, and the receiving window could only move to the right after receiving the data packet of the leftmost sequence number. Compared with the N-frame Backward (GGN) protocol, the receiver could only receive frames one by one in sequence, and the out-of-order frames were directly discarded. The cumulative acknowledgment method was used, and the sender would move the sending window forward after receiving the acknowledgment. If there was a need to re-transmit, the sender would use the N-frame Backward method to re-transmit all the sent frames after the acknowledgment frame. The selective replay protocol solved the problem of network resource waste caused by the loss of out-of-order frames in the GGN protocol. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-09-04 16:57

Choose the smallest sending window for the replay protocol.

The minimum sending window in the Repeat Transmission protocol (SSR) was set to 1. The selective repeat protocol was proposed to improve the fallback N-frame protocol. Under this protocol, the receive window size was greater than 1 so that the receiver would first receive the data packets that arrived out of order without error codes and whose sequence numbers fell within the receive window. When the transmit window was also greater than 1, the channel utilization could be improved, allowing the sender to continue sending subsequent frames without receiving the acknowledgment of certain frames, but the transmit window could be as small as 1. "Choose" was equally exciting. Everyone was welcome to read it!

1 answer
2026-09-03 15:14
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z