Introduction to TP-Monitor

To facilitate a better understanding of Tmax, this chapter describes the concepts and features of middleware and TP-Monitor.

1. Overview

TP-Monitor (Transaction Processing Monitor) is the transaction management middleware that monitors transactions and maintains their consistency. A transaction is the smallest unit of handling among sessions, systems, and databases that operate via various protocols.

Since Tmax is a product based on TP-Monitor, this chapter first describes middleware and TP-Monitor.

2. Middleware

Because the centralized mainframe environment has various issues, such as cost and operation, it became necessary to downsize the environment to an open distributed system environment that separates hosts by application.

However, the open distributed environment has issues involving the compatibility and integration between server programs. Additionally, communication between different operating systems has to be managed in multiple distributed systems because applications are handled in a single mainframe. As a result, multiple systems, server programs, and network resources must be used in a single user environment.

The following tables illustrate the issues of the two environments.

  • The centralized mainframe environment

    Classification Issue

    Cost

    • High adoption cost

    • High maintenance cost

    Operation

    • Does not consider a user environment because the mainframe environment takes precedence over the application process

    System

    • Difficult to communicate between heterogeneous systems

    • Difficult to migrate a program to another system

    • Difficult business expansion

  • The open distributed system environment

    Classification Issue

    Cost

    • Requires professional technical skills for network, DBMS, etc.

    Operation

    • Inefficient system operation

    • Does not consider a user environment

    • Issues due to the distributed environment

    • Difficult to manage and monitor systems

    • Difficult to handle a failure

    • Different operating methods for multiple servers

    • Issues due to multiple providers

    • Performance suffers as the number of users increases

    • Load differences between servers

    System

    • Difficult to manage processes

    • Requires multiple communication methods

    • System security vulnerability

    • Difficult to handle heterogeneous databases and global transactions

    • Difficult to migrate a program between heterogeneous servers

    • Development issues (various OS and development languages)

    • Provides transaction handling and process management features in the distributed environment with only a single middleware

Middleware has been developed to solve the open distributed environment issues.

Middleware is system software that provides a single user environment in a distributed computing environment. It connects a network of heterogeneous systems and supports communication between clients and servers, and connections between computers. Middleware enables stable communication in applications and in the operating environment by integrating heterogeneous hardware, protocols, and communication environments.

Clients and database servers do not need to directly communicate with each other because middleware engages in communication between the two systems. Since middleware has the business logic necessary for applications, clients and server programs only need to communicate with middleware. Clients and database servers can be configured into a single system environment through middleware. Middleware guarantees system integration for heterogeneous machines in a multiple database environment, and provides data compatibility and consistency. This environment provides maximum performance for minimal resources.

The following figure shows the client/server environment with middleware.

figure middleware
Middleware Workflow

Middleware products can be divided into six types according to usage and purpose:

  • Transaction Processing Monitor (TP-Monitor)

    Handles transactions in a heterogeneous distributed environment and manages various handling processes. Tmax belongs to this TP-Monitor product type.

  • Web Application Server (WAS)

    Handles transactions on the web and provides the mutual communication feature (J2EE) to heterogeneous systems.

  • Messaging Oriented Middleware (MOM)

    Handles messages by putting them into a queue and provides an asynchronous message management feature.

  • Database Access System

    Enables multiple database servers to be used with a single consistent method in a distributed environment.

  • RPC System

    Through the network, synchronously runs a program located in another computer.

  • Object Request Broker (ORB)

    Provides a feature that enables a client object to call a remote server method using a software bus called ORB.

3. TP-Monitor

Most application systems are used in a centralized environment based on mainframes. The open distributed system was developed because of the various issues of the centralized environment such as cost and management.

The open distributed system, however, has issues of its own such as system operation and management. Middleware was adopted to resolve these issues. TP-Monitor is middleware that monitors transactions and maintains their consistency. A transaction is the smallest unit of handling among sessions, systems, and databases that operate via various protocols.

Major features of TP-Monitor are as follows:

  • Convenient application development

    A complex application process can be developed by focusing on features, not data. It is very difficult to develop an application in the mainframe environment because business logic and data handling logic are developed together. However, if TP-Monitor is used, all middleware, client programs, and database server programs only need business logic, modules provided to users, and the data management feature, respectively. This modularization helps ease application development.

  • Efficient application management

    Efficiently manages each application by using TP-Monitor to manage distributed business systems.

  • Heterogeneous DBMS resource management

    Manages heterogeneous DBMS resources by integrating and managing DBMS transactions.

  • Load balancing

    Distributes loads and supports distributed transactions for optimized resource usage.

  • High performance and reliability

    Reduces overhead and response time by managing a large number of clients with limited resources.