Questions tagged [soft-real-time]

A classification of real-time where deadline misses are tolerable, but degrades the system's quality of service.

From the real-time computing wikipedia page:

[F]or soft real-time systems the goal becomes meeting a certain subset of deadlines in order to optimize some application specific criteria. The particular criteria optimized depends on the application, but some typical examples include maximizing the number of deadlines met, minimizing the lateness of tasks and maximizing the number of high priority tasks meeting their deadlines. ... Soft real-time systems are typically used where there is some issue of concurrent access and the need to keep a number of connected systems up to date with changing situations...

10 questions
123
votes
12 answers

Differences between hard real-time, soft real-time, and firm real-time?

I have read the definitions for the different notions of real-time, and the examples provided for hard and soft real-time systems make sense to me. But, there is no real explanation or example of a firm real-time system. According to the link…
jxh
  • 69,070
  • 8
  • 110
  • 193
24
votes
3 answers

How about Haskell's GC performance for soft realtime application like games?

Because I realized game rule logic should handle huge complexity, I'm considering using of non-typical language in game field as in-game logic script language. The reason of in-game script is representing complex logic with less code. So extremely…
eonil
  • 83,476
  • 81
  • 317
  • 516
11
votes
9 answers

Can games be considered real-time systems?

I've been reading up on real-time systems and how they work etc. I was looking at the wikipedia article as well that said a game of Chess with a timer per move can be considered a real-time system because the program MUST compute a move in that…
Harry
  • 3,076
  • 4
  • 28
  • 44
4
votes
6 answers

Garbage Collector in Real-Time System

I'm new to C#/Java and plan to prototype it for soft real-time system. If I wrote C#/Java app just like how I do in C++ in terms of memory management, that is, I explicitly "delete" the objects that I no longer use, then would the app still be…
sivabudh
  • 31,807
  • 63
  • 162
  • 228
1
vote
2 answers

Are Real time systems Hard/Soft or the RTOS itself?

I just wanted to ask if there exists anything like a Hard-time RTOS or Soft-Time RTOS itself or is it the designer who defines a system as Hard-time or Real-time irrespective of the RTOS used?
Akay
  • 1,092
  • 12
  • 32
1
vote
1 answer

Building a simple DSL in Haskell with C++ interop

I'm designing a simple interpreted language for testing real-time embedded systems. The control flow is severely restricted to provide strong static guarantees on what the scripts will do + how long they will run. For example, you can only branch on…
0
votes
4 answers

How to accurately sample in python

At work, I have a need: to do sampling every 0.08 seconds in 10 seconds. I use while loop but it fails. import time start_t =time.time() while time.time() -start_t <=10: if float(time.time() -start_t) % float(0.08) == 0: """do sample…
0
votes
1 answer

How can communication middleware support soft real-time applications?

Nowadays the concept "real-time" has a lot different interpretations. In this question two definitions are provided: The hard real-time definition considers any missed deadline to be a system failure. This scheduling is used extensively in mission…
0
votes
1 answer

Is Firebase appropriate for hard real-time computation?

I recently came across Firebase and found it very interesting. Having read up on the differences between hard real-time and soft real-time, I am now curious as to whether Firebase is appropriate for hard real-time computation or not. My intuition is…
sr-ix
  • 121
  • 1
  • 4
0
votes
3 answers

java useful use of garbage collector

In function header i have this situation: Should i stay the "=null" in the end, or Java when exiting function do that itself? My intention it to make this objects as soon as possible ready for garbage collection. This is a soft real time…
user502967
  • 327
  • 1
  • 3
  • 13