DataKinetics in Memory Rules Whitepaper
DataKinetics in Memory Rules Whitepaper
RS
SERVING THE GLOBAL
FORTUNE
UNE 500
Table of Contents
Transaction processing on the mainframe 3
Challenges for rule processing 3
The business solution 4
Business rules embedded in mainframe code 4
Mainframe-based OTS Rules Management 5
Distributed systems-based OTS Rules Management 5
Mainframe-based in-memory rules management 5
Mainframe-based in-memory rules management: A closer look 6
De-coupling business rules 6
Modifying in-memory business rules using modern technology 6
Conclusions 7
DataKinetics Data Performance & Optimization | 50 Hines Road, Suite 240 Ottawa, ON, Canada K2K 2M5 | © 2023 DataKinetics 2
Rules Processing Optimization for Mainframe Datacenters
The reason for this is that all of the rules processing is handled by the
transaction processing applications; they do not need to access them Legacy Rules
from a repository, like a database. Changing business rules in this Processing Application
environment typically involves not only people with business expertise,
but also mainframe application developers, managers, DBAs, etc. The
mechanism comprises application recompiles, testing, staging, and
deployment on the productions systems – and for this reason, in many
cases, rule changes can take weeks or even months.
The business need is to take business rules management out of the
mainframe development environment because business rules MUST be Embedded Business Rules
easy to maintain. More specifically, an organization MUST be able to
change / create rules quickly – preferably in matter of hours or even Figure 1: Embedded business rules
minutes – to facilitate the business being agile, and able to react very
quickly to changing business conditions.
It’s not necessary to take either rules processing or rules management off the mainframe, but
it would be prudent to take business rules management out of the hands of the mainframe
development groups. Their processes are generally not conducive to rapid code changes
– and while that may not be an issue for most aspects of mainframe development, it is not
effective for business rules creation and updates.
If your competition can react faster to changing market conditions than you can, your
business will lose market share, and will have great difficulty winning new business. You need
applications that are market-agile. Churning out business rule updates on a development
schedule just won’t cut it.
DataKinetics Data Performance & Optimization | 50 Hines Road, Suite 240 Ottawa, ON, Canada K2K 2M5 | © 2023 DataKinetics 3
Rules Processing Optimization for Mainframe Datacenters
On the other hand, if rules processing speed is important, you would almost certainly need
improved rules management AND the absolute best processing performance. If this is the
case, you should consider a high-performance, low-maintenance, market-agile mainframe
rules processing solution.
As shown, users – in this case finance Product Managers, Business Managers, Marketing Recompile linkedit
Managers, etc. – make requests based on the marketing needs of the organization, or
based on changing market conditions. This initiates a meeting between MIS (management Test
information services, a.k.a., IT) and the users. This meeting might actually be a regularly
scheduled MIS meeting – one for which the users have to wait, because the required MIS User acceptance
personnel aren’t otherwise available.
At this point, the MIS would prioritize the work required to make changes to the applications. Production
The bad news is that it may not automatically be their top priority; a particularly hard pill
to swallow for folks who really believe that they’re dealing with business-critical concerns.
Figure 2: The process
Once the work can begin, the established development process takes over – code updates, to change code-based
program recompiles, multiple layers of testing, debugging, acceptance (typically involving a business rules
staging effort), and finally, going into production systems.
DataKinetics Data Performance & Optimization | 50 Hines Road, Suite 240 Ottawa, ON, Canada K2K 2M5 | © 2023 DataKinetics 4
Rules Processing Optimization for Mainframe Datacenters
These types of solutions – like IBM’s ODM (Operational Decision Management) or CA’s Aion
Business Rules Expert – are the best for many users. However, there are some very serious
drawbacks – rules processing is MUCH slower than embedded rules processing speed. So
that lightning-fast rules processing that you had with embedded business rules will now
take much longer to process – by an order of magnitude.
Further, this type of rules processing consumes much I/O, and takes a long code path to
business rules – if they’re running on the mainframe, you can expect a significant increase
in the mainframe operations cost – that monthly bill.
These types of solutions – like Oracle Business Rules or SAS Business Rules Manager –
command the lion’s share of market share in this area. Like their mainframe counterparts,
these solutions are considerably slower than any mainframe-based solution, often consume
considerable network traffic and take long code paths to business rules, in scenarios where
mainframe transaction processing applications are driving them.
But again, there are businesses that may not be adversely affected by longer business rules
processing times, so this solution may be perfect for them.
Optimization of legacy applications can be implemented piecemeal— you can start Users initiate internal
by selecting only those areas causing the most pain, and leaving the rest of the legacy change request
application unchanged. And the end-game is in-memory applications that are practically as
fast as embedded rules applications. The main difference is that they are easy to maintain. Edit tables
Figure 2 shows us the reason for the weeks/months timeline for in-program-based rules
management. In-memory rules processing can help improve that turn-around time to days/ Test
hours/minutes for rules changes.
Production
Figure 3 shows how this process completely bypasses the development organization – in fact,
the entire process can be handled by the non-technical side of the business. Users can makes
changes directly to the rules database without the need for technical assistance. In fact, the last
Figure 3: The process to
two parts of this process may not even be needed, depending upon the implementation details.
change memory-based
Mainframe high-performance in-memory technology is the best solution for large business rules
organizations requiring both fast rules processing (it processes rules almost as fast as the
embedded rules technique), and efficient and fast rules management.
DataKinetics Data Performance & Optimization | 50 Hines Road, Suite 240 Ottawa, ON, Canada K2K 2M5 | © 2023 DataKinetics 5
Rules Processing Optimization for Mainframe Datacenters
DASD
BSDS Logs SQL Parse SQL Opt Rec Map Index Mgr DSM Buffer Pools LRW IRLM
tableBASE
tableBASE Driver
The top part of Figure 4 shows the typical DBMS code path, even taking in-memory
buffering into account. The bottom part of Figure 4 shows the ultra-short high-performance
in-memory code path. In general, your business rules will be stored in Read-Only in-memory
tables. For that reason, in-memory technology can help your applications bypass some of
your database overhead when accessing table-based business rules.
DataKinetics Data Performance & Optimization | 50 Hines Road, Suite 240 Ottawa, ON, Canada K2K 2M5 | © 2023 DataKinetics 6
Rules Processing Optimization for Mainframe Datacenters
A straight-forward upgrade on the rules management side makes the in-memory rules
processing solution even more powerful. Using modern tools with very little configuration
setup and a small amount of setup programming, business rules can be managed in real
time. Rules authoring and management can be accomplished by non-technical personnel
(Business Managers, etc.), who can make changes to business rules literally in minutes.
Windows-based Rules
Authoring/Management Application
Web Interface
Rules Processing
Applications
The custom integration application can be as simple as a translation from MS Excel or .CSV
to the in-memory table format. This can be accomplished by one of several mainframe/web
services integration services solutions that are in use today.
Conclusions
Mainframe processing for the biggest banks, insurers and credit card processors is deeply
entrenched, and is not going to change for years to come. The mainframe continues to
provide the best possible computing performance for these organizations. Those mainframe
systems are running their business rules processing at lightning speed - but managing
business rules is becoming an acute challenge.
In today’s fast-paced and fluid business environments, businesses need to react as quickly
as possible to changing market requirements - and outdated rules management processes
can no longer get in the way of that.
The best solution for these businesses is mainframe-based in-memory rules management.
This technology can help them to take the technical lead over their competitors – and to
take market share from them using in-memory market-agile applications.
It allows for seamless and quick rules management AND extremely fast rules processing -
the best of both worlds.
© DataKinetics Ltd., 2023. All rights reserved. No part of this publication may be reproduced without the express written permission of DataKinetics Ltd.
DataKinetics and tableBASE are registered trademarks of DataKinetics Ltd. Db2 and z/OS are registered trademarks of IBM Corporation. All other trademarks,
registered trademarks, product names, and company names and/or logos cited herein, if any, are the property of their respective holders.
DataKinetics Data Performance & Optimization | 50 Hines Road, Suite 240 Ottawa, ON, Canada K2K 2M5 | © 2023 DataKinetics 7