Questions tagged [heavy-computation]

Processor Oriented Computation

The act or process of computing involve excessive usage of processor and sometime required complex algorithm to compute.

24 questions
0
votes
0 answers

How to improve performance of my app ? Heavy calculations in Nodejs

I am using a trading bot I created using Nodejs (Express), Postgres and React. React is only for the UI and all the work is done with Node. Postgres is used to store in DB trades information. The application only runs on my localhost. The workflow…
Tom687
  • 182
  • 2
  • 14
0
votes
1 answer

How to finish child_process on nodejs?

So, I have a service made in node running on Kubernetes and I need to make a very heavy operation every 30 minutes (CRON JOB). It's a bunch of database operations for each tenant on my application (currently, 5 tenants). The thing is that if I start…
0
votes
0 answers

Parallelizing matrix computations with Numba

I am trying to parallelise the following function in Python 3.6: def get_Q(predictors, d): Q = 0. for i in range(len(predictors)): for j in range(i+1, len(predictors)): ci = predictors[i,:] cj =…
user12859782
0
votes
1 answer

Best way to approach a heavy SQL query on a dashboard view in rails

I Have this dashboard(report) which basically performs a heavy sql query and display its results on a table grid, pretty standard stuff. However, sometimes, the query is way to heavy, due to large volume of data and sql complexity, and the browser…
queroga_vqz
  • 1,031
  • 3
  • 11
  • 25
0
votes
1 answer

RxJS making heavy job part async, simply

I want to let RxJS Observable to handle my heavy job. But I want it make the subscription async if needed. For example: const observable = Rx.Observable.create(function (observer) { observer.next(1); var cycle = 100; while(cycle-- > 0){ …
ConductedClever
  • 4,175
  • 2
  • 35
  • 69
0
votes
1 answer

LibGDX loading screen during heavy processing

Long story: I am trying to make a loading screen in LibGDX, not only will I need to load assets like textures and audio, I will need to create world objects (more than 10 million objects) - I might want to look into decreasing amount of objects in…
user7106805
0
votes
3 answers

How to handle several methods, doing heavy calculations?

In my app I import gpx and kml files to display tracks and waypoints on the map. For this operation, I use about 5 methods. Everything works fine, unless I try to import several long gpx/kml tracks with exfilechoser. The screen goes black for some…
stan210
  • 33
  • 7
0
votes
2 answers

Running thread takes much cpu

I am using below client thread for connecting to my NIO server. class RunnableDemo implements Runnable { private Thread t; private String threadName; InetAddress host = null; int port = 9090; RunnableDemo(String name) { …
Husein Behboudi Rad
  • 5,434
  • 11
  • 57
  • 115
0
votes
1 answer

Speed up an Enumeration process

After a few days of optimization this is my code for an enumeration process that consist in finding the best combination for every row of W. The algorithm separates the matrix W in one where the elements of W are grather of LimiteInferiore (called…
gmeroni
  • 571
  • 4
  • 16
1
2