Module-4 - C) Application Architectures
Module-4 - C) Application Architectures
• Data-processing systems
• Transaction-processing systems
• Event-processing systems
• Language-processing systems
Data-processing systems
• Businesses use data-processing systems to handle tasks like payroll,
invoicing, accounting, and insurance renewals.
• These systems process large amounts of data, often much larger than
the systems themselves.
• They typically operate as batch-processing systems, inputting and
outputting data in batches from files or databases rather than
interacting with users in real-time.
• The systems analyze input records, perform actions based on
specified criteria, update databases with results, and format data for
output, such as printing.
• The architecture of batch-processing systems consists of three main
components:
1.Input Component: Collects data from one or more sources.
2.Processing Component: Performs computations on the collected inputs.
3.Output Component: Produces outputs, such as updating databases or
generating printouts.
• For example, in a telephone billing system, customer records and meter
readings (inputs) are processed to calculate costs, and the resulting bills
(outputs) are printed for customers.as shown in fig below
• Data-flow diagrams are a way of representing function-oriented
systems where each round-edged rectangle in the data flow represents
a function that implements some data transformation, and each arrow
represents a data item that is processed by the function.
• Files or data stores are represented as rectangles.
• The advantage of data-flow diagrams is that they show end-to-end
processing
• The figure shows the design of a salary payment system.
• In this system, information about employees in the organisation is read
into the system,
• monthly salary and deductions are computed,
• and payments are made.
• You can see how this system follows the basic input-process output
structure:
1. The functions on the left of the diagram Read employee record, Read
monthly pay data and Validate employee data input the data for each employee
and check that data.
3. The Compute salary function works out the total gross salary for each employee
and the various deductions that are made from that salary. The net monthly salary is
then computed.
4. The output functions write a series of files that hold details of the deductions
made and the salary to be paid. These files are processed by other programs once
details for all employees have been computed. A payslip for the employee,
recording the net pay and the deductions made, is printed by the system.
Transaction-processing systems