SQL/MX
ANSI compliance
Migrating a Java Solution to HP Integrity NonStop A mix of Whats, - - PowerPoint PPT Presentation
SQL/MX ANSI compliance Migrating a Java Solution to HP Integrity NonStop A mix of Whats, Whys and Hows Moore Ewing HPE EMEA NonStop Presales What 1. A Card Management Solution Create Programs, Issue Cards, Authenticate Use, Manage
SQL/MX
ANSI compliance
2
3
– Looking for new solutions in new technologies – Lacking a Card Management solution
– Aware of NonStop as the leading top tier financial platform – NonStop experience as ACI Base-24 service provider – Authorisation is 24/7 and even Back-Office is becoming mission critical
4
6
What FSS had … What FSS would like to have…
7
Carduser Acquirer Switch CMS 5.0 Card & Program Management CMS 5.0 Realtime Authorisation CMS 5.0 Users
8
Carduser Acquirer Switch CMS 5.0 Card & Program Management CMS 5.0 Realtime Authorisation CMS 5.0 Users JEE JBoss4 JSE Custom Code
9
The NonStop System and Software
10
J2EE user-driven card/program management application The DataBase JSE Authorisation “messaging” application The Application Team The DataBase Team The Infrastructure Team
11
SQL/MX TCP/IPv6 or CIP
Post Master NSASJ
(JBoss7 code)
<<tsmp-pp>>
tcp/ip
HP Integrity NonStop
NSASJ-PM
Host- / Domain
Controller <<tsmp-pp>>
NSASJ-HC
<<tsmp-sclass>>
NSASJ-Server
PATHMON $JEE1 Infinispan Cache
<<tsmp-pp>>
NSASJ-Cache-n
SQL/MX TCP/IPv6 or CIP
Post Master Post Master Post Master Post Master NSASJ NSASJ NSASJ NSASJ
tcp/ip pathsend
NonStop Application Server for Java (NSASJ) HP Integrity NonStop
Infinispan Cache Infinispan Cache Infinispan Cache
JBoss4 -> JBossAS7 with ORACLE DB
15
JBossAS7 (Wildfly8) -> NSASJ with remote ORACLE (T4) DB JBossAS7 with 1st cut SQL/MX(T4) DB NSASJ with 1st cut SQL/MX(T2) DB JBossAS7 with 2nd cut SQL/MX(T4) DB NSASJ with 2nd cut SQL/MX(T2) DB JBossAS7 with 3rd cut SQL/MX(T4) DB NSASJ with 3rd cut SQL/MX(T2) DB
Database Development Delivery
16
HPE assistance given to avoid issues in thread, pool and heap parameters
Were quickly resolved by HPE.
17
1st Cut Logically correct Statement tests – Create tables with minimal change – Default size and placement – Collect planning/tuning info for tables for test and initial production volumes – Collect significant SQL statements 2nd Cut Realistic PDBD first performance test 3rd Cut Refined PDBD SQL statement change? – Partitioning, location , space allocation – Secondary indexes for access paths and RI/FK constraints – RI/FK constraints – Load test data – For MXCS, create test/tuning environment – Revise PDBD for
– Revise statements for new PDBD – Re-test and reiterate as required
18
19
PLEASANT SURPRISE! Easier and faster than anticipated due to lack of any heavy ORACLE dependencies
20
21
Listener Thread Authorisation Worker Threads
CPU 0 CPU 1 CPU 2 CPU 3 NonStop Server
Port Mapper
JI libray
Port Mapper
JI libray
Port Mapper
JI libray
Port Mapper
JI libray
TS/MP Pathsend API TCPIP Subsystem (IP-CIP or TCPIPv6)
NSASJ
JI libray
NSASJ
JI libray
NSASJ
JI libray
NSASJ
JI libray
EJB Client
Listener Thread Socket PassThru Worker Threads Listener Thread Authorisation Worker Threads
Listener Thread Authorisation Worker Threads Listener Thread Socket PassThru Worker Threads Listener Thread Authorisation Worker Threads J I L i b r a r y TS/MP Serverclass Shared Address TCP/IP
– Concerns about NSJ multi-threading capability – Created a test program to compare single-threading and multi-threading – Ran a stress test load against it – Guess what? It did not do very well!! – Unrealistic thread levels – Inconsistency between TS/MP links, thread pools and connection pools – Badly tuned SQL statements – UNNECESSARY LIBRARIES – Incremental Testing with the real application code introduced
27
28
NSASJ CM application - people-driven + batch like file and report processing Performance at or above expectation Realtime Authorisation - not lightweight ; 12 medium SQL statements per request Performance again acceptable and competitive Tests on HP NS2404 with limited number of discs are very satisfactory. Testing on NSX7 in various core configurations is underway. Not appropriate to provide figures in this presentation.
21 6 4 8 12 2 5 7 1 17 118 1789 7 127 7082 6217 4023 1663 2143 325 78 43 5587 4918 4012 3269 3254 2981 178 2263 1853 2457 4130 5630 3000 1056 1058 508 3780 4198 4688 5102 2310 1257 1105 123 637 916 1393 2161 4265 7327 7475 6782 515 759 1172 1484 4109 3704 8243 6928 131 124 157 241 292 929 1005 2311 79 78 86 77 157 225 416 524 249 257 268 278 259 310 338 323 34 40 41 51 52 44 51 35 21 18 18 21 27 35 35 25 4 3 5 3 3 4 5 5 2 2 2 3 3 2 4 3 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 1 3 5 7 9 11 13 15
Achsentitel
<= 20 ms 21-25 ms 25-30 ms 30-50 ms 31-100 ms 101-250 ms 201-500 ms 501-1000 ms > 1000 ms
Testing is not in “benchmark” format but has multiple goals
30
–This is a progressive and cyclic process to establish –- the servicetime and costs of a single transaction –-the maximum number of concurrent transactions per NSASJ instance –-the maximum number of concurrent transactions per cpu core
–-that linear scalability exists across an increasing number of logical cpus. –The maximum number in any test is determined by a trade-off between the acceptable response time of a transaction and the throughput of the component. – (The relationship of responsetime to servicetime under increasing load as described in Queuing Theory.) Sizing calculations will depend upon the maximum cpu utilisation deemed acceptable with regard to business risk of cpu failure during peak periods.
31
Test Number
Comments
1 1 1 1 1 Driver should supply requests to keep application busy at a concurrency of one. This will establish servicetime and resource costs from which other estimates can be calculated. 2 1 as available 1 1To ensure no contention between cores. 3 1 1 1 incrementing Target No. based upon cpu usage metric and acceptable responsetime 4 1 1 Incrementing from test 3 Target No. based upon cpu usage metric and acceptable responsetime 5 1 as available from test 4 from test 3 To ensure no contention between cores. 6 Incrementing as available from test 4 from test 3 To ensure no contention between cpus.
Throughput metrics gathered from dedicated cpus and cpus with light and heavy disc access for variable sizing
32
CMS on Linux Single instance JBOSS CM (or cluster) Single process m-t r/t Authorisation NSASJ CM Scalable multi-cpu architecture CMS on NS NS Fundamentals Inherited By CMS Scalability : 2-4000 cpus Availability : AL4 FT system no SPOF Small fault zones: cpus and serverclasses Distributable FT RDBMS: co-located, no network costs Ease of Management : integrated software; no separate cluster
34
FSS was awarded the first runner up for process innovation category as part of the Project Evaluation and Recognition Program (PERP) 2015 by Frost &
its project titled “Re-engineering FSS Card Management Suite on HP NonStop platform.” FSS Card Management Suite is a single platform for debit, prepaid and virtual card from pre-issuance to post-issuance The objective of the project was to build a next generation card management product on HP NonStop and innovate to help clients fully leverage the advantages of HP NonStop platform.
35