87 questions
6
votes
2
answers
862
views
APT lock contention on multi-stage (parallel) builds with cache
I am using multi-stage build where both stages install APT packages (MWE Dockerfile below). I use --mount=type=cache on /var/cache/apt to avoid re-downloading of packages, in both stages. The cache ...
1
vote
1
answer
1k
views
.NET Core performance counters
I have a .net core service running on windows. In the performance monitor tool I could find counters such as "\Process(MyServiceName)\% Processor Time" but not others like
"\.NET CLR ...
1
vote
1
answer
979
views
Debugging a nasty Lock Contention issue in ASP.NET Core MVC
We are dealing with a nasty lock contention issue in a high traffic ASP.NET Core MVC app in .NET 6, hosted as in-process in IIS Windows Server.
We are trying to enable a feature that makes an Http ...
0
votes
0
answers
250
views
How can I trap for the 409 error on too much contention when updating an entity in Google Datastore
Every few days, on Google Datastore, when I update an entity then I receive the error "Aborted: Too much contention when updating entity". It is certainly possible that other streams could ...
0
votes
1
answer
388
views
Order Matching System Design : how to design an efficient and secure crypto account system
Context
I am working in a crypto exchange company as backend engineer. Recently, we are facing a performance issue in our matching system. When user's order got match, system will deduct or add order'...
3
votes
1
answer
571
views
Cloud (Firestore) Datastore Hotspotting and Indexing Date
I have tried to research this topic a lot lately, regarding the hotspotting behavior of Cloud Datastore. As I understand, reading/writing to indexed fields that are monotonically increasing can lead ...
1
vote
1
answer
472
views
VFP Database contention issue
I have a very large VFP app. I use the VFE framework. My app uses the native VFP database. App is 20 years old and grows daily. For 10 years I very intermittently get crashes. It can occur multiples ...
0
votes
1
answer
46
views
Datastore contention on new deployment with the same code
We're having some issue with our application that uses Datastore (not Firestore in Datastore mode) after redeploying the code. On the new AppEngine service deployment with the same code we get ...
-1
votes
1
answer
250
views
Cloud Firestore Datastore Mode - Transaction Contention without Composite Index
In an application that I am currently working on, we need to ensure uniqueness with respect to the tuple of three properties in a specific kind. As such when creating a new entity, we need to ensure ...
0
votes
2
answers
803
views
Mainframe: How to prevent DB2 contention between batch job and CICS transaction?
I have a batch job and a CICS transaction that use the same db2 tables. Both run at regular intervals and the batch job abends once in a while due to contention with the shared DB2 tables.
Is there a ...
0
votes
0
answers
41
views
Estimating number of maximum threads before bus contention
Suppose I have an arbitrary number of threads that need to read from different memory locations. What parameters do I need to estimate the maximum number of threads that can do this simultaneously ...
0
votes
1
answer
899
views
Infinispan 9.4.16, JBoss EAP 7.3 Lock Contention with replicated-cache 2 nodes threads are TIMED_WAITING (parking)
I have an application that is currently relying on an infinispan replicated-cache to share a work queue across all nodes. The queue is pretty standard, with head, tail, and size pointers persisting ...
0
votes
1
answer
70
views
High contention on Jar file access in my Java application
We work on a JMS based application that receives messages in XML format from a JMS queue.
The application is deployed on Weblogic server (12c).
Having a rate of about 400-500 msgs/sec we are ...
-1
votes
1
answer
216
views
Can there be memory contention even if there are no locks?
I am writing a multithreaded code where a bunch of std::async calls spawn a fixed number of threads for the duration of the entire program. Each thread works off the same const BigData structure on a ...
2
votes
1
answer
2k
views
Thread Starvation vs Contention?
According to Oracle docs about "thread starvation",
Starvation describes a situation where a thread is unable to gain
regular access to shared resources and is unable to make progress.
This ...