1,241 questions
0
votes
0
answers
58
views
Lenovo M10+ gen 3 on screen keyboard issue
I have one of these tablets, just over 2.5 years old now. It came with Android 12 and was fine, then an auto-update forced it to 13, and it broke the on screen keyboard.
What happens in practice is ...
2
votes
0
answers
152
views
Flutter SoLoud: How to reduce playback latency when syncing audio with UI (metronome-style)?
I want to play a short .wav sound every second and update a counter on the screen at the same time.
I'm using the flutter_soloud package and based my code on their metronome example from GitHub.
...
1
vote
1
answer
123
views
How to execute some code just before cloudflare worker goes cold?
I am caching some global variables in memory across multiple requests in a cloudflare worker. I want to flush those variables into a persistent storage like KV cache or redis just before the worker is ...
-1
votes
1
answer
153
views
nodejs event loop lag 300ms and huge request latency [closed]
I have a next.js website that under the load 80 requests per seconds (for one pod) shows huge latency 20-30 seconds to handle a simple request like API call.
I checked event loop lag and under the ...
0
votes
1
answer
83
views
How to profile/monitor a KDB tickerplant to trace causes of a slow tickerplant?
I'm trying to use KDB as a low-latency pub/sub message broker that persists all messages in a queryable format.
However, I'm noticing the latency from when the tickerplant receives a message (i.e. ...
1
vote
1
answer
105
views
What could cause strange delays while sending delays from a python aiohttp server?
We have a service with this architecture:
HTTPS requests come into an A10 load balancer that does L4 load balancing
Behind it are 2 backend servers with Apache running that terminate the TLS ...
1
vote
1
answer
55
views
Is latency available within traceroute in scapy
from scapy.all import traceroute
def perform_traceroute(target):
result, _ = traceroute(target, maxttl=50, verbose=True)
print(result)
for hop in result:
query_packet = hop[0]...
0
votes
1
answer
231
views
Durable Functions + Azure Storage Account -> Multiple retry to Attempting to retrieve authentication token for resource 'https://storage.azure.com/'
Anyone else having a problem to let durable functions runtime get connection to Azure Storage Account? When you are running Local environment on your VS Code.
For me it is stuck on that and after many ...
1
vote
0
answers
107
views
How to interpert hwlat trace results on an ARM Cortex-A7?
I’m working with an STM32MP157D-DK1, trying to use the hwlat tracer for the board's arm Cortex-A7 CPU, to check for typical hardware latency.
The following attempt was made to use the hwlat tracer on ...
1
vote
0
answers
114
views
How to measure latency between midi instrument and web midi api?
When using the web midi api for receiving midi messages from a midi instrument (via usb), how can we measure the latency time, that is: the time it took from playing a note with the instrument to ...
1
vote
0
answers
110
views
Redis Latency Issues: High Response Time for Repeated Requests on WSL with phpredis
I am experiencing unexpected latency issues with Redis in my Laravel application. Here are the details:
Setup:
Redis Client: I am using the phpredis extension.
Environment: Redis is running on Windows ...
2
votes
1
answer
570
views
Latency issue - How to perfectly sync audio beeps (using Web Audio API) and visualization (using canvas + requestAnimationFrame)?
I use an audioContext = new AudioContext() of the Web Audio API for scheduling beep sounds for every beat (relative to a user-defined bpm and time signature) - let's call this stack of beeps "...
1
vote
1
answer
2k
views
How to make Gstreamer RTSP -> UDP -> RTSP low latency pipeline?
I need to forward an rtsp stream from an axis camera through an udp port.
I have this pipeline on the send side:
gst-launch-1.0 rtspsrc location='rtsp://XXXX:[email protected]/axis-media/media.amp' ...
1
vote
0
answers
137
views
How to calculate ping between server and client?
I have a socket server in nodejs, a unity client and I try calculate the latency between them like below
Server:
socket.on("readable", () => {
let data: Buffer = socket.read();
if(...
0
votes
1
answer
193
views
Spanner JDBC Driver option to avoid latency
We are using the google spanner jdbc driver(google-cloud-spanner-jdbc) to enable connectivity from our application to cloud spanner. This was used instead of the google client libraries to reuse the ...
1
vote
0
answers
232
views
Azure Service Bus: Time Spent in Queue is Large
We have a .NET process where the process is subscribing to the Topic. One of the common observations is that the Time Spent in Queue is large.
Azure Service Bus is running with 2 Messaging Units. The ...
1
vote
0
answers
104
views
Unexpected Increase in Latency with More Readers in Multi-threaded Circular Queue Implementation in C++
I have implemented a circular queue using an array in C++. The queue uses two atomic variables, front and rear, to manage enqueue and dequeue operations. When an element is enqueued, rear is ...
0
votes
1
answer
67
views
AVR-GCC Unexpected interrupt lattency
I have some code where interrupt jitter is deal killer. There are just one interrupt source and that need to be as precise as possible. For ATMEGA the max interrupt response is the length of current ...
0
votes
0
answers
139
views
Latency on the thermal camera while using multi-threading for multiple cameras
I am trying to do some real-time image processing by openCV with videos from web-camera and thermal-camera. I am using multi-threadings methods: one threading for one camera. The simplified code is ...
0
votes
1
answer
366
views
How to measure the latency of globally load balanced tagging server deployments?
I have several globally distributed tagging server deployments that are deployed in GCP Cloud Run.
The Cloud Run deployments are reachable through serverless network endpoint groups.
The traffic is ...
1
vote
0
answers
174
views
DPDK Error in Transmitting/Receiving packets
I have a application running with 2 cores on each port. If I use lid type as RX_TYPE on both the ports and run a application it works fine by transmitting and receiving udp packets. But if I use lid ...
-1
votes
1
answer
51
views
Optimizing Connection Speed in a Firebase and MySQL Authentication Setup
Suppose you have a web application where users need to log in to access personalized data stored in a MySQL database. The authentication process involves Firebase, and every time a user makes a ...
0
votes
0
answers
130
views
How to time a ListenableFuture
I want to track how long an async process takes.
My general approach for synchronous processes is to record the current time, run the process, and finally calculate and record the difference. I use an ...
0
votes
0
answers
686
views
Reponse time for GPT models via openAI API vs internet version
I am making a small time test of the openai API, from my local internet connection and laptop, but I get times that are much larger than expected. With the following code:
import openai
import time
...
0
votes
1
answer
241
views
Sustained high latencies in Cloud Spanner
I am using Google Cloud Spanner with my Application which is latency sensitive. I see sustained high median latencies for all/most of my requests. My CPU utilization is less than 40%? How do I fix it?