Questions tagged [high-performance]
The high-performance tag has no summary, but it has a tag wiki.
31 questions
-2 votes
2 answers
301 views
How does Java and other managed languages achieve any performance, if everything is allocated at random places of the heap? [closed]
Prelude Recently, I helped a friend of mine in coding him a problem for his university Algorithms course, where problems are submitted in Java. I sent him code with good O notation complexity, ...
0 votes
0 answers
73 views
Do datacenters have conditions that might throttle component clock speed (either intentionally or automatically)?
Here is the question. On a 2.2 GHz processor with 6 physical threads and 6 hyperthreads, I see performance on the order of 3-10s for a particular job involving OpenCV. I do not specify that the ...
1 vote
2 answers
348 views
Can I use Nodejs for intensive calculation and computing by offloading them to Java framework?
I am trying to design a Rest API backend based on Loopback. Since I heard nodejs is not very good in computing since it will block the thread, can I make a async call just for using java to calculate ...
0 votes
3 answers
228 views
What typical hardware improvements can be made to improve a Web app's performance?
We have a Single-Page (SPA) Ajax-based Java Spring/Hibernate app running in Tomcat 8.5. The app's performance is acceptable, but not lightning-fast. A typical Insert Record takes 3-4 sec., e.g. 05 ...
3 votes
1 answer
258 views
Architecture for Large-Scale Matrix Multiplication: Distributed Architecture or One Strong Server
I've asked a question about Scaling Matrix Multiplication by CPU Cores on StackOverflow and it seems that merely adding more CPU cores to this problem won't reduce the time to do Matrix ...
2 votes
2 answers
195 views
In app development is it common to first write your app in a high level language, then rewrite it in a low level language?
Maybe I have misunderstood this concept. But is it common, when developing the backend to an app, mobile or web. To first write it in a high level programming language such as php, python, javascript ...
0 votes
4 answers
2k views
Is there a way to see how many operations a function, block of code or a statement costs?
Let's say I have a phone that can process 1 million operations per second and a micro controller that can perform 1000. Is there a way to tell how many operations a performed by a function or block ...
-2 votes
1 answer
247 views
CAP Theorem x Load Balance / Failover x Availability
My understanding is that the system below can accomplish consistency, availability and partition tolerance. So I must be misinterpreting some aspect of the CAP theorem. How come? Let's say I have a ...