Questions tagged [high-performance]
The high-performance tag has no summary, but it has a tag wiki.
31 questions
-2
votes
2
answers
300
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
1
answer
138
views
How to show only most recent items in most efficient way?
Consider application where users rates products (e.g. 1-5 stars).
Through passage of time, there might be millions of records. One can create desired indexes and/or keep sum and count of all ratings ...
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
1
answer
978
views
Performing many SQL inserts quickly without using BulkCopy
I have a C# system that reads thousands of messages per minute from a Kafka topic. The messages are filtered and I need to insert the filtered messages into a MSSQL table.
A normal insert statement is ...
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 ...
3
votes
2
answers
265
views
Operate on data that doesn't fit into JVM
We have a service where we have billions of key-value data stored in some storage. Before actually querying the data, we query the bloom filter to determine if the key may exist or definitely does not ...
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 ...
1
vote
1
answer
149
views
Is Web API suitable as services for IoT?
The issue I care about here is high throughput, there are a lot of sensors (monitoring devices) which send data to the server at high frequency.
It looks really like that we have to use UDP protocol ...
3
votes
1
answer
257
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 ...
7
votes
1
answer
2k
views
What can be the design of a distributed high available trade exchange?
I am working on design of a financial xchange system and especially the order-matching part.
I couldn't find a clear/complete design article especially for scalable/high available order-maching ...
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 ...
2
votes
1
answer
226
views
Large Scale Machine Learning vs Traditional HPC Hardware
I've spent the last few days working with tensorflow for the first time as part of a natural language processing assignment for my degree. It's been interesting (fun isn't the right word) trying to ...
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 ...
3
votes
2
answers
294
views
Receiving lots of records and storing them in a database in a short time frame
A colleague has challenged me with an interesting question. To be honest I have no idea how to deal with it.
Suppose the following:
Every 5 minutes you get a new file with one hundred thousand new
...
-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 ...