Throttling is a mechanism to regulate the rate at which processing is performed
Questions tagged [throttling]
1092 questions
31
votes
6 answers
What is the best way to implement a rate-limiting algorithm for web requests?
Possible/partial duplicates:
What’s a good rate limiting algorithm?
Throttling method calls to M requests in N seconds
Best way to implement request throttling in ASP.NET MVC?
I am looking for the best way to implement a moving time window rate…

Lamar
- 9,769
- 4
- 30
- 18
30
votes
8 answers
Service too busy error in WCF
I intermittently get the following exception in my .Net WCF Service.
"The HTTP service located at http://MyServer/TestWCF/MyService.svc is too busy."
Am I missing something here?
Am using basic http binding and have enabled WCF…

Steve Chapman
- 1,317
- 4
- 23
- 34
29
votes
8 answers
WCF Concurrent requests piling up on the server when using WSHttpBinding
I have a WCF client/server app which is communicating over HTTP using the WSHttpBinding.
Server Setup: self-hosting, using the standard WCF ServiceHost.
My actual service class is attributed as:
[ServiceBehavior(ConcurrencyMode =…

Orion Edwards
- 121,657
- 64
- 239
- 328
29
votes
3 answers
Is it possible to set custom CPU throttling in Chrome DevTools?
I am using Google Chrome 63.
In DevTools in Performance tab there are three CPU throttling settings: "No throttling", "4x slowdown" and "6x slowdown".
Is it possible to set custom throttling, for example "20x slowdown"? It could be via setting some…

ScriptyChris
- 639
- 4
- 16
- 48
28
votes
5 answers
Limiting/throttling the rate of HTTP requests in GRequests
I'm writing a small script in Python 2.7.3 with GRequests and lxml that will allow me to gather some collectible card prices from various websites and compare them. Problem is one of the websites limits the number of requests and sends back HTTP…

Bartłomiej Siwek
- 1,447
- 2
- 17
- 26
27
votes
3 answers
Laravel 5.4 - Override API 'throttle:60,1'
I'm writing a lot of API to get and store data.
I like the default throttle option:
protected $middlewareGroups = [
'api' => [
'throttle:60,1',
'bindings',
],
];
to limit the request to 60 per minute; but for some route (es:…

vlauciani
- 1,010
- 2
- 13
- 27
25
votes
5 answers
Blazor Textfield Oninput User Typing Delay
How can I add a delay to an event (OnInput) in Blazor ?For example, if a user is typing in the text field and you want to wait until the user has finished typing.
Blazor.Templates::3.0.0-preview8.19405.7
Code:
@page "/"

Atrox
- 265
- 1
- 3
- 5
24
votes
8 answers
How to throttle Promise.all() to 5 promises per second?
I have a couple of items that I need to query a 3rd party API for and said API has a call limit of 5 calls per second. I need to somehow throttle my calls to the API to a maximum of 5 calls per second.
So far I've just used Promise.all() on an array…

Hallur A.
- 299
- 1
- 3
- 13
23
votes
5 answers
Dealing with Amazon Product Advertising API Throttle limits
For those of you who use the Amazon Product Advertising API, what experience have you had with running into their throttle? Supposedly, the limit is set at 1 request per second, is that your experience?
I want my site to grow to be nation-wide, but…

Ben G
- 26,091
- 34
- 103
- 170
22
votes
2 answers
Bandwidth throttling in C#
I am developing a program that continually sends a stream of data in the background and I want to allow the user to set a cap for both upload and download limit.
I have read up on the token bucket and leaky bucket alghorhithms, and seemingly the…

Christian P.
- 4,784
- 7
- 53
- 70
21
votes
3 answers
RxJS throttle behavior; get first value immediately
Example Plunkr: https://plnkr.co/edit/NZwb3ol8CbZFtSc6Q9zm?p=preview
I am aware that there are these 3 throttle methods for RxJS (5.0 beta.4):
auditTime(), throttleTime() and debounceTime()
The behavior I am looking for is the one lodash does by…

sod
- 3,804
- 5
- 22
- 28
19
votes
5 answers
Throttling login attempts
(This is in principal a language-agnostic question, though in my case I am using ASP.NET 3.5)
I am using the standard ASP.NET login control and would like to implement the following failed login attempt throttling logic.
Handle the OnLoginError…

Richard Ev
- 52,939
- 59
- 191
- 278
18
votes
1 answer
How to programmatically limit bandwidth usage of my c# application?
I've got a backup application here which connects to various webservices and downloads/uploads files from ftp or http servers. What is the easiest way to limit the bandwidth usage of my application?
I need to do that because the application once…

Mats
- 14,902
- 33
- 78
- 110
18
votes
3 answers
Throttling Async Functions in Python Asyncio
I have a list of awaitables that I want to pass to the asyncio.AbstractEventLoop but I need to throttle the requests to a third party API.
I would like to avoid something that waits to pass the future to the loop because in the meantime I block my…

Jared
- 3,651
- 11
- 39
- 64
18
votes
10 answers
Tools for degrading my network connection?
I've written some applications than heavily use network, and I would like to test it over a slow network. I'm looking for a tool to simulate these kind of connections.
I'm only interested in Windows tools.

Steve Gury
- 15,158
- 6
- 38
- 42