Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
1 replies
62 views

I am working on a backend application and trying to reduce response latency, but I want to avoid optimizations that could introduce correctness issues. By correctness, I mean preserving accurate ...
Muhammad Ibtisam's user avatar
1 vote
0 answers
86 views

The CUDA Programming Guide describe a warp instruction named __reduce_add_sync. What is the latency of the function, specifically in the Ampere architecture? Related sources: This table within the ...
Gal Avineri's user avatar
0 votes
0 answers
23 views

Reduce latency metric looks incorrect for binding pull requests in Milvus While monitoring Milvus performance metrics, I noticed something unexpected related to binding pull requests. Specifically, ...
Veli Kıyak's user avatar
3 votes
2 answers
329 views

I'm working on a Javascript browser application that requires very precise timing of audio playback via the AudioBufferSourceNode.start() method. I'm unsure on how I should treat 'baseLatency' and '...
Izzo's user avatar
  • 4,958
0 votes
0 answers
70 views

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 ...
nmw01223's user avatar
  • 1,767
2 votes
0 answers
254 views

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. ...
Pavel Vlasák's user avatar
1 vote
0 answers
90 views

Passing the text from OCR on a PDF is much faster than using the cache. Why? Passing raw text, Nth call takes ~2 seconds. response = client.models.generate_content( model=MODEL_NAME, contents=f&...
joshlevy89's user avatar
1 vote
1 answer
198 views

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 ...
Om Srivastava's user avatar
2 votes
1 answer
306 views

In production deployment of Hugging Face LLMs, the first inference call often has very high latency ("cold start"), even on a machine where the model is already loaded into memory. ...
Swati's user avatar
  • 244
-1 votes
1 answer
268 views

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 ...
Galina's user avatar
  • 556
0 votes
1 answer
208 views

I used https://github.com/nviennot/core-to-core-latency to measure my CPU's (Intel(R) Core(TM) Ultra 7 268V) core-to-core latency and these are my results: ~/Developer/core-to-core-latency main ❯ ...
weineng's user avatar
  • 364
0 votes
1 answer
98 views

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. ...
mchen's user avatar
  • 10.4k
1 vote
1 answer
115 views

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 ...
moritz's user avatar
  • 12.7k
0 votes
1 answer
660 views

I am using an Azure OpenAI GPT-4o Mini fine-tuned model to generate structured responses (e.g., JSON format). However, the response time is higher than expected, and I am looking for ways to optimize ...
BitByBitBuilder's user avatar
1 vote
1 answer
66 views

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]...
Wayne McNicol's user avatar
0 votes
0 answers
39 views

I want to benchmark some performance aspects of a Linux device driver (a loadable module). Specifically, how fast certain code paths are when they are invoked from userspace via system calls. In ...
Grigory Rechistov's user avatar
0 votes
1 answer
289 views

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 ...
Voi Se's user avatar
  • 1
0 votes
1 answer
125 views

We have facing a typical issue in Jmeter response time. We have an application, where we are searching for record with a keyword. Manually when we do the same in browser, we get it around 2-3 secs ...
Korupol Satish Reddy's user avatar
1 vote
0 answers
119 views

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 ...
user656857's user avatar
1 vote
1 answer
106 views

I wish to make software PLC on raspberry pi. I did reserve one core just for PLC task and I got latency under 100 micro seconds. But the PLC need RS485 communication at 1 Megabit. It works, but the ...
eSlavko's user avatar
  • 460
1 vote
0 answers
131 views

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 ...
vuelicious's user avatar
0 votes
1 answer
182 views

I'm learning python and i'm working with OpenCV. My goal is : When I execute my python script : it starts recording a 10 seconds sequence with my USB webcam which is a Logitech C920 and the video is ...
leuji241's user avatar
1 vote
0 answers
129 views

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 ...
جهاد الادهمي's user avatar
-1 votes
1 answer
110 views

I'm configuring the hit latency for a CPU model in Gem5. While I notice there are many latency parameters(eg. tag_latency, data_latency, frontend_latency, forward_latency, response_latency) which are ...
Bowen Tian's user avatar
2 votes
1 answer
759 views

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 "...
vuelicious's user avatar
2 votes
1 answer
50 views

I have been working with Milvus v2.2.9 in standalone mode using Docker Compose, running without any CPU limits. My current setup involves creating an index with 1 million embeddings using the IVF_SQ8 ...
Rashad Tockey's user avatar
1 vote
1 answer
2k views

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' ...
Marco Carandente's user avatar
0 votes
0 answers
98 views

I've been making a Python media player, but the audio and video de-synced when using a Bluetooth speaker, and I've been wondering how to get the Bluetooth latency using Python. I am using a MacOS ...
Super Gladiator's user avatar
1 vote
0 answers
165 views

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(...
TIng's user avatar
  • 11
0 votes
1 answer
626 views

We are noticing performance issues when trying to use the bi-directional stream API call to stream data at 2000-4000 updates/second. We enabled debug logging and see that streamId is same for all the ...
Ramachandran Rajagopalan's user avatar
0 votes
1 answer
208 views

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 ...
Raj Kumar's user avatar
0 votes
0 answers
80 views

I have a few concerns about ParallelGC and its behavior in long-running systems: It seems that only Full GC can reclaim the old generation, implying that the old generation can only grow until a Full ...
WtMonster's user avatar
1 vote
0 answers
259 views

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 ...
GeekzSG's user avatar
  • 973
1 vote
0 answers
115 views

I have a simple Lambda function that is fronted by CloudFront. This Lambda also has a function URL. Invoking the Lambda using the Function URL is way faster than invoking it via CloudFront. Based on ...
Mridang Agarwalla's user avatar
1 vote
0 answers
110 views

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 ...
Revanth Thota's user avatar
0 votes
0 answers
82 views

I am transferring raw uncompressed video from an image sensor to a C++ OpenCV application running on Linux. The signal chain is this: MIPI output Image sensor -> MIPI to USB 3.0 chip -> USB 3.0 ...
Rocketmagnet's user avatar
  • 5,960
0 votes
1 answer
78 views

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 ...
eSlavko's user avatar
  • 460
0 votes
0 answers
308 views

I've built an app using Flutter that allows users to track how far they have travelled from a starting point, a bit like any map-based or sports tracking app. With the app, a high accuracy is ...
James's user avatar
  • 729
0 votes
0 answers
151 views

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 ...
user24312540's user avatar
0 votes
0 answers
84 views

I am experiencing following weird behaviour - From client(browser) a API call is made to server to fetch user details. The time required by this API to complete is around 650 ms. But in browser it is ...
4zh4r_s4l4ti's user avatar
  • 1,584
0 votes
1 answer
393 views

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 ...
CPI's user avatar
  • 71
0 votes
1 answer
43 views

I'm migrating to CloudKit from Firebase, the database isn't in production yet. Trying to improve the asset downloading speed I opened Telemetry, and under Latency i found this data: 12/31/2023, 8:00:...
kelin's user avatar
  • 12.2k
1 vote
0 answers
186 views

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 ...
Das's user avatar
  • 11
1 vote
1 answer
284 views

I want to calculate the average p95 for /my-api over the last week, say Mon - Sun, but when I am plotting below query it's giving me multiple data points even within a week. I expect that this would ...
tusharRawat's user avatar
-1 votes
1 answer
53 views

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 ...
Seb St Johnston's user avatar
0 votes
1 answer
808 views

I'm experiencing high latency (about 10s for each process) when using sql account software where my database is from a server. Server spec: Processor: Xeon E5-2630 v3 Ram: 8GB OS: Window Server 2019 ...
Zhi Zheng's user avatar
0 votes
0 answers
137 views

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 ...
kane's user avatar
  • 6,117
2 votes
1 answer
265 views

I have a CRUD repository in springboot java app. I am trying to measure the latency of the query form APP perspective and log it in the logger. What is a good elegant way to achieve this please ? I am ...
Chinmay's user avatar
  • 364
0 votes
0 answers
704 views

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 ...
Thomas's user avatar
  • 331
0 votes
0 answers
36 views

Recently, I have been trying to run some performance anlaysis on my program. I want to measure the latency of some functions in cpu ticks and later convert the delta to nanosecond. (I intentionally am ...
Hedgehog's user avatar
  • 115

1
2 3 4 5
25