Lompat ke konten Lompat ke sidebar Lompat ke footer

3 Differences between Batch Processing and Real Time Systems + What they mean

Understanding Batch and Realtime - in the information processing model, we recognize several types of data processing. Including batch system and real-time system. What is a batch system? and what is the meaning of the real time system? and what is the difference between the two? see the review below.

Overview of the Batch

system at akuu.com

Batch system is a data processing with a method of collecting similar jobs that are run in groups, after this group is completed it will be followed by processing other groups which also contain similar jobs.

In other words, the technology used by computers from the 2nd generation has the characteristic that if a task is being done in a sequence, it will be executed sequentially. In the second generation of computers the processing system is still not equipped with an operating system. The use of this batch system will obviously speed up data processing.

Examples of Batch System processing can be seen in an e-mail and batch processing transactions. In a batch processing, individual transactions are entered through a series of terminals, then certain validation is carried out to determine the similarity of transactions, this data will be added to the transaction file containing other transactions.

These transactions are then entered into the system periodically. In the future, during the next processing cycle, the transaction file can be further validated and then used to update the corresponding master file.

There are two forms of batch processing, namely;

  • Multi-programming, a scheduling technique in which the task (job) being  walking continues to run until it performs an operation that takes time to wait for an external response. for example, when the computer reads data from a diskette/CD/, or when the computer is forced to swap a running job with another job.
  • Multi-processing, this term refers to computer processing capabilities that are carried out together. This allows a computer to use two or more CPUs in a system.

Slideshare.net Real

Time System at a glance

According to Wikipedia, a real time system is the operating condition of a hardware and software system that is limited by a time range and has a clear deadline, relative to the time an event or operation occurs.

A system without a real schedule by comparison has no deadlines. An example of a real time system is in an aircraft control system. The deadline on the aircraft control system must be firm because if there is a deviation from the deadline, the risk is fatal, namely an accident.

A system is said to be real time if it meets two requirements, namely;
Prioritizing the accuracy of the execution of jobs/orders
The accuracy of the time interval for the task / job is carried out

In other words, real time systems use the principle of deadlines, which tasks must be completed within a specified time period.

Similar to batch, there are two real time systems, namely hard real time and soft real time.
  • Hard real time requires the process of completing the task within a certain time. Otherwise, it will lead to fatal consequences. For example, in a pacemaker, this system must be able to accelerate the heart rate right when the heart rate is detected to be weak, otherwise it will result in patient safety.
  • Soft real time has a time tolerance for the completion of the task. For example, in video transmission, images can be sent in a broken condition, but it can be tolerated because the information in the form of images can still be understood.

Difference between Batch System and Real Time System

After discussing the two meanings of this system, we will next discuss what the differences between these two systems are, this difference is based on the output or effects that we feel, among others;

1. Time Lag

In a batch system, various data from an activity/transaction will be grouped first in the transaction file before the data is entered into the main system for processing. The result is clear, there is a time lag between the point/time of the occurrence of the transaction and the point/time of inputting the transaction into the related record. The length of this time lag also depends on the frequency of batch processing, it can be completed in minutes, even weeks.

While in real time systems, there is almost no time lag. Data from a transaction will be processed immediately when the transaction appears, so the record will always be updated automatically or up to date.

2. Resources

The batch system has relatively fewer resource requirements than the real time system. For example, during system development, this programming activity is relatively simpler and only takes a shorter amount of time than programming activities in real time systems which have a more complicated flow.

The complexity of the real time system can occur because this system is directly connected to the user, so like it or not, the display must be understood by us as users (user friendly) such as using the pop-up menu, online user guide facilities, help tabs, and so on. So in terms of infrastructure, this system requires a computer with high processing capabilities

This will have an effect on the funds that must be prepared by the companies that implement it, these funds will be invested to buy computers with high work capacities that have not cheap prices. While the batch system, can use a low spec computer because it is only used when the program is running (not always stand by).

3. Efficiency and Effectiveness Factor

If we look at it in terms of efficiency, the batch system is superior. The reason is that this system can process large amounts of data in one processing. So the cost of each processing will be more economical.

But in terms of effectiveness, the real time system is the choice. This is because transactions in real time systems will be processed quickly and instantly, and the records are up to date. So we also have to consider the character of the data processing model according to user needs. For example, if the conditions in this processing do not have an adverse effect on the lag time and want to increase the economic factor then the choice is in the batch system.

But if the condition is urgent, or the information must be processed immediately and if there is a delay it will have a bad effect, then the choice is in the real time system.

This is a complete article regarding the understanding, functions and differences between batch and real time data processing systems. How do you know about the difference between real time and batch systems? if so, don't forget to also read other related articles about the IT world only on Omprinter. Hopefully it can add to our insight.