Questions tagged [time-critical]

8 questions
1
vote
1 answer

Java: what is the best approach for high performance of multi-threading in a time-critical application?

I’m developing a network proxy application using Java 8. For ingress, the main logic is the data-processing-loop: getting a packet in the inbound queue, processing the content data (e.g. protocol-adoption), and put it in the send-queue. Multi…
zipper
  • 377
  • 1
  • 5
  • 18
1
vote
0 answers

Ruby - logging in time-critical multithreading application

I have to log activity of application that runs in many threads. What would be best approach to do that? Probably it is not possible that all threads log into one file, because they will lock each other? Is it best to use separate file for each…
Tians
  • 443
  • 1
  • 5
  • 14
0
votes
1 answer

CPU optimization of time-critical infinite loop in Python

I am using following script to continuously log data from a sensor at 500Hz rate which requires an infinite loop. Naturally it keeps the CPU busy at over 30% for Windows laptop and up to 100% with Raspberry Pi 4. This problem is usually solved by…
stardust
  • 343
  • 3
  • 17
0
votes
1 answer

[Elasticsearch]: Unable to Recover Primary Shard

I'm using Elasticsearch 2.3.5 version. I have to recover the complete data from the backup disks. Everything got recovered except 2 shards. While checking logs, I found the following error. ERROR: Caused by: java.nio.file.NoSuchFileException:…
Rajan
  • 392
  • 2
  • 5
0
votes
1 answer

Switching an image at specific frequencies c++

I am currently developing a stimuli provider for the brain's visual cortex as a part of a university project. The program is to (preferably) be written in c++, utilising visual studio and OpenCV. The way it is supposed to work is that the program…
0
votes
1 answer

time-critical application with Python on Windows

I run a time-critical application on Windows 10 using Python 2.7x. And it seems Windows sometimes interrupts my program for a fraction of a seconds. This happens every like 5 - 10 seconds. How can I "tell" Windows that my program is the only thing…
-1
votes
5 answers

c# (Windows IoT) - Sleep() or Delay()?

How can I write a timecritic backgroundapplication for Windows IoT in C#? The target is to Programm a stepper Motor via C# over the Raspberry Pi 2 with Windows IoT and Visual Studio 2015. Prgramming via Remote-Debug works fine but there is no sleep…
Danex
  • 61
  • 1
  • 7
-1
votes
1 answer

Best way to read and write time-critical data?

I have .txt files that are overwritten with data from software every 5-10 seconds, I then have a wpf application that reads and displays this data every second. Here are my issues: Currently the text files are stored on a server and there are a…
Logan Lower
  • 69
  • 3
  • 12