What is the most appropriate definition of a Real time system?
Is online railway reservation a real time system ? Is Aircraft control system a real time system? Is Process control system a real time system?
What is the most appropriate definition of a Real time system?
Is online railway reservation a real time system ? Is Aircraft control system a real time system? Is Process control system a real time system?
A real-time system is one where it has to respond within certain time limits, for example, the avionics of a plane, or the control system of an industrial process.
If the system does not respond in a timely manner, it's potentially dangerous.
If an online railway reservation system is slow to respond, that's annoying; if a system controlling a train is slow to respond, that's bad.
Real time in general means there are time constraints.
Hard real time means that you cannot fail to meet those constraints without serious risk of some kind of disaster - often the literal people-die kind of disaster, but often also financial disasters, mission-failure etc.
Soft real time includes things where, if you fail to meet those time constraints, it's anywhere from annoying to maybe incurring some minor costs. Most games are soft real-time.
Developing hard real time in particular often places constraints on the hardware as well as the software. For example, no matter how fast your algorithm, if a failed hard disk could mean someone dies you'll need a RAID setup at a minimum.
Real time doesn't necessarily mean real fast. For example, "once per hour without fail" is a real-time constraint, and may be sufficient to e.g. force you to use a balanced tree based index rather than a simple linear search of a large data table. You'd probably do something like that anyway, but the hard real-time constraint makes it unavoidable.
In soft real time, though, real fast is very often (but not always) good enough. Most games are soft real time in this sense - you need a good frame rate to be playable, but the world doesn't end if some people can't get 100 frames per second, and an occasional skipped frame may not even be noticed. The worst that can happen is some interested potential customers don't buy, or buy then return.
"Real time" is frequently used to indicate very rapid responses.
This is not what is meant in computing. Here it covers that a given piece of functionality is guaranteed to have finished within a certain time. This is important whenever timing is important:
In other words, this is about timing and it is hard to do correctly. For Java Oracle has http://www.oracle.com/technetwork/java/javase/tech/index-jsp-139921.html which is so expensive that the price is not listed on the website.
This article may be of some help.
Aircraft control system is definately Realtime. Railway reservation is not.
Hope it helps......