All Questions
Tagged with performance caching
1,119
questions
0
votes
0
answers
20
views
Speed up external API call
I need to transform a large set of data, that I get calling an external API. This data contains a lot of urls, and I need to parse them in a certain way and return them.
But the problem is that the ...
1
vote
0
answers
52
views
How to reduce cache miss in SPSC queue pop function?
I am working on optimizing a Single Producer Single Consumer (SPSC) queue in C++. The following is the miniman reproducible example for my implementation:
#include <atomic>
#include <cstddef&...
0
votes
0
answers
41
views
Memory Level Parallelism (MLP) measurement
I need to find the Memory Level Paralelism (MLP) or the number of memory request that are concurrently held by Miss Status Handling registers (MSHRs) / Fill buffers at each cache level during a ...
0
votes
0
answers
50
views
Performance issues on Thingsboard, collection of data from database and visualisation on dashboard in browser
Im having an ongoing issue with performance of the system, i'm on release v3.63PE (the latest release). If I use a timeseries widget and call 10,000 data points from a device, over 30 days. The system ...
0
votes
0
answers
37
views
Windows vs Linux VM L3 Cache Size Discrepancy
I have a query regarding the disparity in L3 cache size between native Windows and a Linux virtual machine (VM) running on it.
According to my CPU architecture documentation, the L3 cache size is ...
0
votes
1
answer
450
views
Is there a performance difference between computed properties vs functions in Swift?
Lets say you have a SwiftUI view that has lots of expensive computed vars that call each-other on the main thread "spaghetti style" with state variables as the source of truth, such as:
// ...
0
votes
2
answers
154
views
Redis cache optimization in .NET 8
The performance is not up to mark when serializing/deserializing a big JSON file (~3 MB). We are using Microsoft JSON serialization. Is there any other serialization that would help to optimize the ...
0
votes
0
answers
132
views
How to implement caching in Strapi or implementing indexing on strapi
Where do I add the cache control headers in the strapi dashboard?
Here is the link to my strapi forum question
Unable to find that in the documentation. Please suggest a way to cache the strapi Rest ...
3
votes
1
answer
2k
views
GitHub Action `gha` Docker cache much slower than recreating the image
I set a GitHub actions to build and run tests on my Docker image.
While building the Docker image, a rather heavy file (6Gb model from Huggingface) is being downloaded. (As a side note - I can ...
0
votes
0
answers
65
views
The best practice for high write/read between nodes in a JAVA distributed system
I have a Java-based distributed system with 3 to 5 nodes on different machines that support 1500 TPS, and we need to share data between these nodes in each transaction, meaning that one node writes ...
0
votes
1
answer
85
views
What causes drastic change in runtime in this Java snippet?
Edit
Please note I am running this code by
javac Main.java; java Main
between tries.
This is the code I have.. It takes around ~4000 ms in my laptop to run..
public class Main {
public static int ...
0
votes
1
answer
165
views
Problem of performance in replicated infinispan
I am using Infinispan replicated cache, and when I scale two instances of the application on separate machines, the performance significantly decreases. It is worth mentioning that the protocol used ...
0
votes
1
answer
40
views
Cached files being retrieved in subsequent iterations (when using cache manager) in Jmeter
as I know, in order to make the JMeter only hits the server for first time, and for second iterations to not hitting the server and make use of cached files made in first iteration, we have to create &...
0
votes
0
answers
12
views
Does caching mean it might be useful to split a query into two parts?
If I want to return a frequently used list which contains a small amount of personalised data, is it worth splitting into two queries?
Let's say I have two lists: allBooks, and myReadBooks
allBooks is ...
-2
votes
1
answer
118
views
gprofng vs kcachegrind, better experience [closed]
Question is closed for some ridiculous reason. Clearly an admin earning stars or some activity related points system.
Stack overflow just getting WORSE and WORSE!!
Reddit, here I come
part from the ...