Nepedia
Back to Discover
Fluent Reader
💻

Real-time computing

technology Maturity 9-11 Next article →

Computers do many jobs every day. Most computers try to be fast, but they do not always have to be perfectly on time. Real-time computing is different. In these systems, being correct is not enough. The computer must also finish its work within a specific time. This set time is called a deadline. If a real-time system misses a deadline, the whole process can fail. These systems often work in milliseconds or even microseconds.

How does this way of working actually happen? A real-time system works by receiving data from its environment. It then processes that data very quickly. Finally, it sends back a result to affect the environment. This happens in a continuous loop. To keep things organized, these systems use special tools. They might use real-time operating systems, or RTOSes. They also use special programming languages and networks. These tools help the computer manage its many tasks.

People have used the term "real-time" for a long time. It started with early computer simulations. In those cases, the simulation clock matched a real clock. In the 1970s, minicomputers made real-time needs grow. These machines were used in things like DOG scanners. During this time, new operating systems were created. Data General made an operating system called RDOS. Digital Equipment Corporation made one called RT-11. These systems used scheduling to manage different tasks.

There are three main ways to group these systems. Hard real-time systems must never miss a deadline. If they do, the system fails completely. This is vital for safety. Examples include car engines, medical pacemakers, and airplane controls. Firm real-time systems are in the middle. If they miss a deadline, the result is not useful anymore. However, the system can still keep working. Soft real-time systems are more relaxed. If a deadline is missed, the quality just drops.

You can see these systems in your own life. A video game is often a soft real-time system. If the computer is slow, the game might just have a lower frame rate. A printer is often a hard real-time system. An inkjet printer must drop ink at the exact right moment. If it is late, the image will look wrong. Even watching a live video is a soft real-time task. If the data is late, you might see a small glitch.

395 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.