Questions tagged [flow-control]

Flow control is the process of managing the rate of data transmission between two nodes to prevent a fast sender from outrunning a slow receiver.

Flow control is the process of managing the rate of data transmission between two nodes to prevent a fast sender from outrunning a slow receiver. It provides a mechanism for the receiver to control the transmission speed, so that the receiving node is not overwhelmed with data from transmitting node.

166 questions
0
votes
0 answers

How to find out if my COM port has recieved XOFF?

I am testing code for serial port communication. I am using synchronous IO for now to keep things simple. I have observed that when the PC recieves XOFF the program pauses, no more printing in the console window. When the program recieves XON it…
quantum231
  • 2,420
  • 3
  • 31
  • 53
0
votes
1 answer

C# - Checking several IP adresses with several download methods

I am new to this site so I apologise in advance if I made any formatting errors. Let me know if further clarification is needed. I am currently working on a program in C# which aims at downloading files from several http or ftp sources. I want it to…
Timtam
  • 31
  • 1
  • 4
0
votes
1 answer

How to loop promise function flow control

I'm new to use promise and Q, I'm sure I'm not doing correctly, please give me some suggestion, can I use fcall inside fcall? because there is a for loop I want to make sure each item image[i] process a list promise function flow.. I need the…
user1575921
  • 1,078
  • 1
  • 16
  • 29
0
votes
1 answer

Communication between two network adapters of different bit-rates (clock rates)

This is the problem statement: A link has a nominal rate: 4 kbps for the sender and 1 kbps for the receiver. A propagation delay of 20 ms, ACK size is 40 bytes. For what range of frame sizes does stop-and-wait give an efficiency of at least…
MyNameIsUser
  • 119
  • 9
0
votes
1 answer

Confused with using SendHighWatermark in NetMQ

I'm making tests for my prototype with NetMQ, in particular I'm learning the influence of HighWatermark options. I have understood and tested the following case: server with ROUTER socket isn't started yet meanwhile client with DEALER socket is…
Andrey G.A
  • 305
  • 4
  • 20
0
votes
1 answer

How to ensure flow control in RabbitMQ is never triggered?

I have a publisher pushing to a queue at a slightly larger rate than the consumers can consume. For small numbers, it is okay, but for a very large number of messages, RabbitMQ starts writing it to the disk. At a certain point of time, the disk…
0
votes
2 answers

c++ unless wrapper construct for flow control

I have a program part that works similar to the following: X->updateA(); X->updateB(); X->updateC(); X->updateD(); Each function is supposed to return an integer indicating whether it ran successfully or not, say int ret_val=0 if successful and int…
alex
  • 1,277
  • 3
  • 14
  • 30
0
votes
1 answer

flow control implementation - how

I'm sending 1k data using TCP/IP (using FreeRTOS + LwiP). From documents I understood that TCP/IP protocol has its flow control inside its stack itself, but this flow control is dependent on the Network buffers. I'm not sure how this can be handled…
Sorcrer
  • 1,634
  • 1
  • 14
  • 27
0
votes
2 answers

Determining the time to receive in object using TCP

The question I am trying to figure out is: In this problem we consider the delay introduced by the TCP slow-start phase. Consider a client and a Web server directly connected by one link of rate R. Suppose the client wants to retrieve an…
Doronz
  • 704
  • 8
  • 21
0
votes
1 answer

Using a common variable in Node.js Nimble flow.parallel control

I have the following code: var flow = require('nimble'); exports.execute = function(data, estrategias, callback) { var estrategiaList = []; var resultList = []; for (var i in estrategias) { var estrategia =…
Kleyson Rios
  • 2,597
  • 5
  • 40
  • 65
0
votes
1 answer

Java Netty setAutoRead

Does Netty 4(or 5) continue reading while the handler chain is invoked ? Like reading in the background and filling up a huge queue and processing all reads after the handler chain is completely ready ? I'm asking because I want to save incoming…
Kr0e
  • 2,149
  • 2
  • 24
  • 40
0
votes
1 answer

requests control on Tornado server

I have a Tornado web server. I wonder if there is anyway I can control the number of incoming requests? I want to only accept x number of requests from a single client in a given timeframe.
0
votes
2 answers

NodeJS nimble module series function does not work

What is the problem with this code, it should run all 3 functions, but it runs only the first one: var flow = require('nimble'); function first() { setTimeout(function () { console.log('First'); }, 500); } function second() { …
torayeff
  • 9,296
  • 19
  • 69
  • 103
0
votes
1 answer

can HAProxy process flow-control by session?

about HAProxy in tcp mode.I want set a limit to the number of packets go through session per second,say 400 packets/s.Is it possible to make it by set up some rules in config file? If not, any advice?
yuz11
  • 1
0
votes
0 answers

How to use flow control in pyserial

I need help is using serial port, I have 3DR radio telemetry connected to my python and other side to my windows PC ,I have small python code which continiously writes the data to serial port and reads , reading might not be an issue, or it might be…
harsha
  • 61
  • 7