Questions tagged [throttling]
Throttling is a mechanism to regulate the rate at which processing is performed
throttling
1,108
questions
0
votes
1
answer
72
views
Swiftui view stops updating during scrolling with state change from Combine
My application has transitioned to using Combine with throttle to slow down screen updates. This is working fine except for the side effect that the view doesn't update when scrolling. The code below ...
1
vote
0
answers
67
views
Ansible - Windows - run multiple powershell processes asynchronsously with throttle limit
Goal
I have multiple Azure subscriptions (+200) where I need to run a powershell script to perform some work per subscription.
Working part
To speed up these runs, I have developed the following ...
0
votes
0
answers
20
views
Spring Batch and TPS handling for downstream
Spring batch is used for heavy read, writer and processing operation of particular step of a Job.
This job execution is different based on the different customers. Here we can use multithreaded step ...
1
vote
1
answer
81
views
Slow download speed on Azure VM when installing Python library
Disclaimer: I have read other similar SO questions but none of them applies to this case1,2.
I am trying to install a Python library in my Azure Ubuntu VM.
The library is PaddleOCR. Its installation ...
0
votes
0
answers
61
views
Need to controll calling 3rd party API calling per minute (throttling) in .net core
I am consuming 3rd party API in my service. My service is been called by azure service bus trigger function.
The problem is 3rd party API restricting 45 requests per minute(they are doing throttling ...
0
votes
1
answer
46
views
WSO2 API Manager 4.0.0 - Maximum Backend Throughput not working properly in a clustered environment
I am using WSO2 API Manager 4.0.0 in a clustered environment with:
10 Gateway nodes
2 Control Plane + Traffic Manager nodes (deployed in
a single Java process)
I have set up a Maximum Backend ...
0
votes
0
answers
59
views
Creating a chrome extension that logs a timer on tab, how can I keep the tab active if I switch tabs purely from background.js? (prevent throttling)
I can't manipulate DOM elements and can't make changes to content.js file.
Purely need to prevent throttling from a service worker.js file.
Tried using chrome storage
chrome.tabs.onActivated....
0
votes
0
answers
71
views
Laravel 7 rate limiter is not working properly
I am using the laravel 7 and implement rate limit in kernel file
protected $routeMiddleware = [ 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, ]
i have 3 route file admin, ...
2
votes
3
answers
146
views
"'Emulation.setCPUThrottlingRate' wasn't found" error when trying to throttle with Chrome's Protocol monitor tool (CDP)
I'm trying to simulate CPU throttling using the Chrome DevTools Protocol, by running the following command in the Protocol monitor tab of Chrome DevTools' Drawer:
{"command":"Emulation....
0
votes
1
answer
2k
views
React MUI TextField with Debounce
Been using react material UI and want to use TextField that is both debounced (or throttled) and controlled.
controlled - the persistence value is held somewhere else and the component accepts the ...
0
votes
1
answer
87
views
Enforcing usage plans when authenticating with JWT tokens using lambda authorizers
In my API Gateway I authenticate the users with an authorizer lambda which validates Cognito JWT tokens. Despite having a customized flow which is not relying on API Keys, I want to enable usage plan ...
0
votes
0
answers
14
views
Log duplication with asynchronous event handlers
I have a simple React snippet which produces surprising console output in the browser:
import { useEffect, useState, useCallback } from "react";
export default function App() {
const [...
0
votes
0
answers
262
views
Figuring out number of threads the java application should use when running on kubernetes with resources and limits
We have a java application running on EKS as a container in the pod spawning 40 threads and K8s resources set as
requests:
cpu: "1"
memory: 1Gi
limits:
cpu: "2"
memory: 2Gi
...
0
votes
2
answers
52
views
R Shiny - limit actionButton presses per second
I'm doing some complex calculations in Shiny that the user starts via an ActionButton. However, I'm worried about users spamming the button a lot of times in a short while, which could bring up lots ...
0
votes
0
answers
39
views
How throttling can be prevented across loki , fluentd and fluent-bit
I currently have a logging solution in Kubernetes as follows.
Fluent-bit deployed as daemon sets that collect logs from the nodes
After collecting logs, fluent-bit forwards data to two destinations
-...