SlideShare a Scribd company logo
Case Study: Credit Card Core System with
Exalogic, Exadata, Oracle Cloud Machine
[CON4994]
Oct 3, 2017
Hirofumi Iwasaki
Ville Misaki
System Strategy Department,
Rakuten Card Co., Ltd.
2
Speaker Biography
 Hirofumi Iwasaki
 Group Manager
 Technology Strategy Group, System Strategy Department,
Rakuten Card Co., Ltd.
 Career
 Planning, designing & implementation of huge enterprise systems for
financial, manufacturing and public systems with Java EE in Japan over
18 years.
 Opus, Lectures, etc.
 Conferences: OOW 2014, JavaOne 2015, 2014, Java Day Tokyo 2014-
2015, Rakuten Tech Conference 2013-2016, etc.
3
Agenda
1. About Rakuten Card
2. Background of the Old Systems
3. New Architecture Design Overview
 Exadata for database
 Exalogic for app server
 OCM for unlimited scale-out execution platform, with security
4. Data Migration
5. Software Migration
6. Extra Performance with Apache Spark
7. Results
8. Into the Future
3
4
1. About Rakuten Card
5
About Rakuten Group
 Unified brand, ecosystems around the world.
FC Barcelona partnership
kicked off on July 1, 2017
Warriors and Rakuten
Form Jersey Partnership
in the 2017-18 NBA season
8
About Rakuten Card
 Top-level credit card
company in Japan
 Core of Rakuten
ecosystems.
 3rd position of total
transaction volume in 2016.
Growing rapidly.
9
Conference session on Oracle OpenWorld 2014
 Shared with web front end
systems improvement
activities
 Based on Java EE 6
 On WebLogic server 12c
 With Oracle Exadata X3-2
 In-house development
 Great success
10
2. Background of the Old Systems
11
Card processing systems
Core Systems
Web Systems
External Systems
Intra Systems
12
Old core systems - Mainframe
Mainframe
 Old architecture – over 20 years
 High cost structure
 Capacity and performance
limitation – no scale out
 Low maintainability with piled
programs and old architecture
database "NDB"
 Risk against vendor locked-in
 Limitation of the security for the
significant data
13
Limitation of old mainframe systems – Areas
Business
Operations
Development
14
Limitation of old mainframe systems – Business
Old New
 Cannot scale-out  Apply scale-out enabled
architecture, with Oracle RAC
and clustered WebLogic server.
 Low connectivity to other
systems
 Apply Java EE and latest
protocol.
 Less security management on
data
 Apply Oracle database
security options.
 No latest auto testing
environment
 Introduce latest auto testing
environment.
15
Limitation of old mainframe systems – Development
Old New
 No local development  Apply Java EE and Oracle DB
for local dev.
 Hard to understand because
of its old architecture
 Apply latest Java EE for its
basement.
 Poor version control systems  Introduce git server and issue
track systems.
 No development community  Apply Java EE and join open
community.
16
Limitation of old mainframe systems – Operation
Old New
 Poor automated operations  Introduce Jenkins and
automations.
 Manual error monitoring  Include Zabbix monitoring to
cover the new core system.
 Difficult to pin-point cause of
error
 Use standard Java tools: stack
traces, Flight Recorder, etc.
 Tons of unused codes  Apply automated source code
analyzing tool.
17
3. New Architecture Design Overview
18
Phase of the improvement – 3.0
1.0
Initial phase
2.0 In-house
development
3.0
Standardization
4.0
Data Optimized
Outsource based,
just started.
Vendor locked-in.
In-house
development,
differentiate with
lower costs and
faster delivery.
Standardized
system
architecture, both
for hardware and
software.
Overwhelming
differentiation,
with enabling
architecture for
customer centric
service.
Achieved Next
Current Standard
Architecture
Horizontal expansion from web systems
19
2013 2017
Web systems
Core
Systems
Expand
Oracle Exalogic
+ Exadata + ZFS Servers
Big Improvement - Functionality: Hardware 1/2
20
Mainframe
Old New
Core
Systems
Big Improvement - Functionality: Hardware 2/2
21
Oracle Exalogic
+ Exadata + ZFS Servers
Oracle Cloud Machine
(On premise private cloud)
For temporarily
request spiking
Low-Cost
Temp
Resource
New
Core
Systems
22
Big Improvement - Reliability: Software Platform
 Financial de-facto standard
 Java EE compliant.
 Matured, from 1997.
 Financial de-facto standard
 ISO/IEC 9075 SQL compliant
 Matured, from 1983.
COBOL
Network
DB
App Server
Database
Old New
WebLogic Server
Oracle Database
23
Big Improvement - Portability: Platform independent
Hardware, OS, app
server independent,
vendor free.
Mainframe,
Japanese COBOL,
vendor locked-in
Old New
Widfly
Payara
WebLogic
hp-ux
AIXSolaris
LinuxWindows
macOS
WebSphere
24
Part 2
25
Speaker Biography
 Ville Misaki
 Senior Software Engineer
 Technology Strategy Group,
System Strategy Department,
Rakuten Card Co., Ltd
 Career
 15+ years; 3 years at Rakuten
 In Finland, the Netherlands, Japan
 Java (EE), Perl, C++, web systems, relational
databases, performance optimization & security
26
Agenda
1. About Rakuten Card
2. Background of the Old Systems
3. New Architecture Design Overview
 Exadata for database
 Exalogic for app server
 OCM for unlimited scale-out execution platform, with security
4. Data Migration
5. Software Migration
6. Extra Performance with Apache Spark
7. Results
8. Into the Future
26
27
4. Data Migration
28
Data Migration – Outline
ISAM
VSAM
NDB Oracle Database
Copy & Convert
29
Data Migration – Outline
 Data Conversion
 Network database to relational database
 ISAM/VSAM data to relational database
 Legacy Japanese character set to Unicode
 Fix data inconsistencies
 Scale
 Terabytes of live production data
 Less than 24 hours time
30
Data Migration – Minimize Downtime
 Offline migration
 Freeze data during migration
 Full migration – not incremental
 Customers mostly unaffected
 Data & System migration
 At the same time
 Cannot be split into phases
Cached
31
Data Migration – Rehearsals
ISAM
VSAM
NDB Oracle DatabaseISAM
VSAM
NDB
Mirror
Copy & Convert
Replication
32
5. Software Migration
33
Software Migration – Outline
Req.
Source
code
Appliction
Platform
Hardware
Reimplement
Convert
Emulate
34
Software Migration – Outline
Reimplement Emulate Convert
Pro
• Optimal performance
• Low maintenance cost
• Development unchanged
• Easy to test
• Easy to migrate
• Flexible cost vs. schedule
• Case-by-case fixes
• Easy to test
Con
• Expensive
• Takes a long time
• Risky
• Difficult to test
• Development unchanged
• Low performance
• Future questionable
• Legacy code remains
• Low performance points
need to be addressed
Requirements?
35
Software Migration – Outline
Reimplement Emulate Convert
Pro
• Optimal performance
• Low maintenance cost
• Development unchanged
• Easy to test
• Easy to migrate
• Flexible cost vs. schedule
• Case-by-case fixes
• Easy to test
Con
• Expensive
• Takes a long time
• Risky
• Difficult migration
• Development unchanged
• Low performance
• Future questionable
• Legacy code remains
• Low performance points
need to be addressed
2x Performance No regression Minimal downtime
36
Software Migration – Outline
Reimplement Emulate Convert
Pro
• Optimal performance
• Low maintenance cost
• Development unchanged
• Easy to test
• Easy to migrate
• Flexible cost vs. schedule
• Case-by-case fixes
• Easy to test
Con
• Expensive
• Takes a long time
• Risky
• Difficult migration
• Development unchanged
• Low performance
• Future questionable
• Legacy code remains
• Low performance points
need to be addressed
2x Performance No regression Minimal downtime
37
Software Migration – Conversion
Japanese COBOL
Source code
Source code
Custom made
source code
converter
 Convert from Japanese
COBOL to Java EE
 Keep original core
business logic
38
Software Migration – Conversion: Dual Source
From Web Systems,
For New Logic
COBOL
From Old System,
converted to Java
 Ease of migration, resource re-use
 Introduce power of Java EE
 Introduce converter from YPS to Java
“Dual Source Architecture”
Japanese
COBOL
 Japanese source code
 Almost abandoned
 No books, no community
Old New
39
Software Migration – Conversion: Single Binary
New Logic
(Java EE)
Application Server
(Java EE)
Legacy Logic
(Mainframe)
Build
Deploy
Japanese
COBOL
Convert to
COBOL
Convert
to Java
COBOL
Java
Compile
WAR
Converter
 Two sources,
single binary
 Easy to operate
Java
Byte Code
Compile
Java
40
Software Migration – New Architecture
BIG-IP
Real-time Servers
(WebLogic)
Batch Servers
(Spark & Java)
Façade
Rich clients Façade
Façade
Intranet
External
Intra
Exadata
Mail
Form
BIG-IP
Façade
BIG-IP
External
customers
Scheduler
CoreBusinessLogicAPIs
Operation
terminal
Web
browser
Old New
41
Auto testing environment
3. Run tests
on staging environment
2. Execute auto testing
on several times
1. Register auto test scenarios
 Automatic testing
using latest IBM
Rational test software
 Regression tests
triggered when
something changed
 Reduce possibility of
errors in production Testing
Server
42
6. Extra Performance with Apache Spark
43
Performance – Issues
Start
Slow
Slow
 Batches are run as networks
 Hierarchical
 Critical path
 Time window
44
Performance – Run in Parallel
Time
Sequential
Parallel
Big Improvement – Performance: Apache Spark
45
Cluster Node
Cluster Node
Cluster Node
Cluster Node
Cluster Node
Cluster Node
Bootstrap
New
SharedMemory
Scheduler
Ultra-fast
batch execution
46
7. Results
Ready for Migration
47
48
Migration Plan – Data
ISAM
VSAM
NDB Oracle DatabaseISAM
VSAM
NDB
Mirror
Replication
Copy & Convert
49
Migration Plan – Schedule
321
321Data
Saturday Sunday Monday
Check CheckCheck
50
Result
 Live in production
 On schedule
 Lightning fast
 No critical issues
51
8. Into the Future
52
Into the Future
1.0
Initial phase
2.0 In-house
development
3.0
Standardization
4.0
Data Optimized
Outsource based,
just started.
Vendor locked-in.
In-house
development,
differentiate with
lower costs and
faster delivery.
Standardized
system
architecture, both
for hardware and
software.
Overwhelming
differentiation,
with enabling
architecture for
customer centric
service.
Achieved Next
Current Standard
Architecture
THANK YOU

More Related Content

What's hot (20)

PDF
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
Markus Michalewicz
 
PDF
Security a SPARC M7 CPU
MarketingArrowECS_CZ
 
PDF
Oow Ppt 2
Fran Navarro
 
PDF
Developer day v2
AiougVizagChapter
 
PDF
Představení Oracle SPARC Miniclusteru
MarketingArrowECS_CZ
 
PDF
Konsolidace Oracle DB na systémech s procesory M7
MarketingArrowECS_CZ
 
PDF
Deep Learning for Java Developer - Getting Started
Suyash Joshi
 
PDF
MySQL 5.7: What's New, Nov. 2015
Mario Beck
 
PDF
Oracle super cluster for oracle e business suite
OTN Systems Hub
 
PPTX
Sparc SuperCluster
Fran Navarro
 
PDF
Oracle RAC - New Generation
Anil Nair
 
PDF
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Anil Nair
 
PDF
MySQL Group Replication - HandsOn Tutorial
Kenny Gryp
 
PDF
Aioug ha day oct2015 goldengate- High Availability Day 2015
aioughydchapter
 
PDF
Introduction to MySQL Cluster
Abel Flórez
 
PPTX
Con8780 nair rac_best_practices_final_without_12_2content
Anil Nair
 
PDF
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Markus Michalewicz
 
PPTX
20140722 Taiwan MySQL User Group Meeting Tech Updates
Ryusuke Kajiyama
 
PDF
New availability features in oracle rac 12c release 2 anair ss
Anil Nair
 
PDF
MySQL Security
Mario Beck
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
Markus Michalewicz
 
Security a SPARC M7 CPU
MarketingArrowECS_CZ
 
Oow Ppt 2
Fran Navarro
 
Developer day v2
AiougVizagChapter
 
Představení Oracle SPARC Miniclusteru
MarketingArrowECS_CZ
 
Konsolidace Oracle DB na systémech s procesory M7
MarketingArrowECS_CZ
 
Deep Learning for Java Developer - Getting Started
Suyash Joshi
 
MySQL 5.7: What's New, Nov. 2015
Mario Beck
 
Oracle super cluster for oracle e business suite
OTN Systems Hub
 
Sparc SuperCluster
Fran Navarro
 
Oracle RAC - New Generation
Anil Nair
 
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Anil Nair
 
MySQL Group Replication - HandsOn Tutorial
Kenny Gryp
 
Aioug ha day oct2015 goldengate- High Availability Day 2015
aioughydchapter
 
Introduction to MySQL Cluster
Abel Flórez
 
Con8780 nair rac_best_practices_final_without_12_2content
Anil Nair
 
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Markus Michalewicz
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
Ryusuke Kajiyama
 
New availability features in oracle rac 12c release 2 anair ss
Anil Nair
 
MySQL Security
Mario Beck
 

Similar to Case Study: Credit Card Core System with Exalogic, Exadata, Oracle Cloud Machine [CON4994] (20)

PDF
COBOL to Apache Spark
Rakuten Group, Inc.
 
PDF
Java ee7 with apache spark for the world's largest credit card core systems, ...
Rakuten Group, Inc.
 
PPTX
Java EE 6 Adoption in One of the World's Largest Online Financial Systems (fo...
Hirofumi Iwasaki
 
PDF
Vilmos Vaspal (Freesoft)
Praxistage
 
PPTX
[Rakuten TechConf2014] [Fukuoka] Case Study of Financial Web Systems Developm...
Rakuten Group, Inc.
 
PDF
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems [Ja...
Hirofumi Iwasaki
 
PDF
Case Study of Financial Web System Development and Operations with Oracle Web...
Hirofumi Iwasaki
 
PDF
NRB MAINFRAME DAY 03 - Toine Straathof - Legacy compute: modernisation is not...
NRB
 
PPTX
PMI Presentation2
Vincent B. Goldsmith, PMP, CSM
 
PPT
Bse 3105 lecture 5-evolution of legacy systems
Alonzee Tash
 
PDF
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems
Arshal Ameen
 
PDF
Case Study of Financial Web System Development and Operations with Oracle Web...
Arshal Ameen
 
PPT
SW Architecture Monolithic to SOA
Raman Kannan
 
DOC
Madhava_Sr_JAVA_J2EE
RAMADHAVA REDDY KAYYURU
 
PDF
How to Migrate Applications Off a Mainframe
VMware Tanzu
 
PDF
From Mainframe To Java EE
Rakuten Group, Inc.
 
PDF
Legacy Systems: Overview, Benefits & Modernization
AvenDATA
 
PDF
Linux Migration from Legacy Mainframe Application - Whitepaper
NIIT Technologies
 
PPTX
A Case of Fusion Middleware (IlOUG Tech Days, July 2013)
Lucas Jellema
 
PDF
M3 Modernization Case Study
ADC Austin Tech
 
COBOL to Apache Spark
Rakuten Group, Inc.
 
Java ee7 with apache spark for the world's largest credit card core systems, ...
Rakuten Group, Inc.
 
Java EE 6 Adoption in One of the World's Largest Online Financial Systems (fo...
Hirofumi Iwasaki
 
Vilmos Vaspal (Freesoft)
Praxistage
 
[Rakuten TechConf2014] [Fukuoka] Case Study of Financial Web Systems Developm...
Rakuten Group, Inc.
 
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems [Ja...
Hirofumi Iwasaki
 
Case Study of Financial Web System Development and Operations with Oracle Web...
Hirofumi Iwasaki
 
NRB MAINFRAME DAY 03 - Toine Straathof - Legacy compute: modernisation is not...
NRB
 
Bse 3105 lecture 5-evolution of legacy systems
Alonzee Tash
 
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems
Arshal Ameen
 
Case Study of Financial Web System Development and Operations with Oracle Web...
Arshal Ameen
 
SW Architecture Monolithic to SOA
Raman Kannan
 
Madhava_Sr_JAVA_J2EE
RAMADHAVA REDDY KAYYURU
 
How to Migrate Applications Off a Mainframe
VMware Tanzu
 
From Mainframe To Java EE
Rakuten Group, Inc.
 
Legacy Systems: Overview, Benefits & Modernization
AvenDATA
 
Linux Migration from Legacy Mainframe Application - Whitepaper
NIIT Technologies
 
A Case of Fusion Middleware (IlOUG Tech Days, July 2013)
Lucas Jellema
 
M3 Modernization Case Study
ADC Austin Tech
 
Ad

More from Hirofumi Iwasaki (11)

PPTX
MicroProfileの正しい使い方 (Java Developer Summit 2023)
Hirofumi Iwasaki
 
PPTX
MicroProfile 5で超手軽に始める今どきのクラウド完全対応エンタープライズシステム
Hirofumi Iwasaki
 
PDF
Jakarta EEとMicroprofileの上手な付き合い方と使い方 - JakartaOne Livestream Japan 2020
Hirofumi Iwasaki
 
PPTX
Jakarta EE + MicroProfile との付き合い方
Hirofumi Iwasaki
 
PPTX
45分で作る Java EE 8 システム
Hirofumi Iwasaki
 
PPTX
Java EE 7 for Real Enterprise Systems
Hirofumi Iwasaki
 
PPTX
Seven Points for Applying Java EE 7
Hirofumi Iwasaki
 
PPTX
Future of Java EE with SE 8 (revised)
Hirofumi Iwasaki
 
PPTX
Move from J2EE to Java EE
Hirofumi Iwasaki
 
PPTX
Future of Java EE with Java SE 8
Hirofumi Iwasaki
 
PPTX
Java EE 7技術アップデート & 逆引き JSF 2.2
Hirofumi Iwasaki
 
MicroProfileの正しい使い方 (Java Developer Summit 2023)
Hirofumi Iwasaki
 
MicroProfile 5で超手軽に始める今どきのクラウド完全対応エンタープライズシステム
Hirofumi Iwasaki
 
Jakarta EEとMicroprofileの上手な付き合い方と使い方 - JakartaOne Livestream Japan 2020
Hirofumi Iwasaki
 
Jakarta EE + MicroProfile との付き合い方
Hirofumi Iwasaki
 
45分で作る Java EE 8 システム
Hirofumi Iwasaki
 
Java EE 7 for Real Enterprise Systems
Hirofumi Iwasaki
 
Seven Points for Applying Java EE 7
Hirofumi Iwasaki
 
Future of Java EE with SE 8 (revised)
Hirofumi Iwasaki
 
Move from J2EE to Java EE
Hirofumi Iwasaki
 
Future of Java EE with Java SE 8
Hirofumi Iwasaki
 
Java EE 7技術アップデート & 逆引き JSF 2.2
Hirofumi Iwasaki
 
Ad

Recently uploaded (20)

PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 

Case Study: Credit Card Core System with Exalogic, Exadata, Oracle Cloud Machine [CON4994]

  • 1. Case Study: Credit Card Core System with Exalogic, Exadata, Oracle Cloud Machine [CON4994] Oct 3, 2017 Hirofumi Iwasaki Ville Misaki System Strategy Department, Rakuten Card Co., Ltd.
  • 2. 2 Speaker Biography  Hirofumi Iwasaki  Group Manager  Technology Strategy Group, System Strategy Department, Rakuten Card Co., Ltd.  Career  Planning, designing & implementation of huge enterprise systems for financial, manufacturing and public systems with Java EE in Japan over 18 years.  Opus, Lectures, etc.  Conferences: OOW 2014, JavaOne 2015, 2014, Java Day Tokyo 2014- 2015, Rakuten Tech Conference 2013-2016, etc.
  • 3. 3 Agenda 1. About Rakuten Card 2. Background of the Old Systems 3. New Architecture Design Overview  Exadata for database  Exalogic for app server  OCM for unlimited scale-out execution platform, with security 4. Data Migration 5. Software Migration 6. Extra Performance with Apache Spark 7. Results 8. Into the Future 3
  • 5. 5 About Rakuten Group  Unified brand, ecosystems around the world.
  • 6. FC Barcelona partnership kicked off on July 1, 2017
  • 7. Warriors and Rakuten Form Jersey Partnership in the 2017-18 NBA season
  • 8. 8 About Rakuten Card  Top-level credit card company in Japan  Core of Rakuten ecosystems.  3rd position of total transaction volume in 2016. Growing rapidly.
  • 9. 9 Conference session on Oracle OpenWorld 2014  Shared with web front end systems improvement activities  Based on Java EE 6  On WebLogic server 12c  With Oracle Exadata X3-2  In-house development  Great success
  • 10. 10 2. Background of the Old Systems
  • 11. 11 Card processing systems Core Systems Web Systems External Systems Intra Systems
  • 12. 12 Old core systems - Mainframe Mainframe  Old architecture – over 20 years  High cost structure  Capacity and performance limitation – no scale out  Low maintainability with piled programs and old architecture database "NDB"  Risk against vendor locked-in  Limitation of the security for the significant data
  • 13. 13 Limitation of old mainframe systems – Areas Business Operations Development
  • 14. 14 Limitation of old mainframe systems – Business Old New  Cannot scale-out  Apply scale-out enabled architecture, with Oracle RAC and clustered WebLogic server.  Low connectivity to other systems  Apply Java EE and latest protocol.  Less security management on data  Apply Oracle database security options.  No latest auto testing environment  Introduce latest auto testing environment.
  • 15. 15 Limitation of old mainframe systems – Development Old New  No local development  Apply Java EE and Oracle DB for local dev.  Hard to understand because of its old architecture  Apply latest Java EE for its basement.  Poor version control systems  Introduce git server and issue track systems.  No development community  Apply Java EE and join open community.
  • 16. 16 Limitation of old mainframe systems – Operation Old New  Poor automated operations  Introduce Jenkins and automations.  Manual error monitoring  Include Zabbix monitoring to cover the new core system.  Difficult to pin-point cause of error  Use standard Java tools: stack traces, Flight Recorder, etc.  Tons of unused codes  Apply automated source code analyzing tool.
  • 17. 17 3. New Architecture Design Overview
  • 18. 18 Phase of the improvement – 3.0 1.0 Initial phase 2.0 In-house development 3.0 Standardization 4.0 Data Optimized Outsource based, just started. Vendor locked-in. In-house development, differentiate with lower costs and faster delivery. Standardized system architecture, both for hardware and software. Overwhelming differentiation, with enabling architecture for customer centric service. Achieved Next Current Standard Architecture
  • 19. Horizontal expansion from web systems 19 2013 2017 Web systems Core Systems Expand
  • 20. Oracle Exalogic + Exadata + ZFS Servers Big Improvement - Functionality: Hardware 1/2 20 Mainframe Old New Core Systems
  • 21. Big Improvement - Functionality: Hardware 2/2 21 Oracle Exalogic + Exadata + ZFS Servers Oracle Cloud Machine (On premise private cloud) For temporarily request spiking Low-Cost Temp Resource New Core Systems
  • 22. 22 Big Improvement - Reliability: Software Platform  Financial de-facto standard  Java EE compliant.  Matured, from 1997.  Financial de-facto standard  ISO/IEC 9075 SQL compliant  Matured, from 1983. COBOL Network DB App Server Database Old New WebLogic Server Oracle Database
  • 23. 23 Big Improvement - Portability: Platform independent Hardware, OS, app server independent, vendor free. Mainframe, Japanese COBOL, vendor locked-in Old New Widfly Payara WebLogic hp-ux AIXSolaris LinuxWindows macOS WebSphere
  • 25. 25 Speaker Biography  Ville Misaki  Senior Software Engineer  Technology Strategy Group, System Strategy Department, Rakuten Card Co., Ltd  Career  15+ years; 3 years at Rakuten  In Finland, the Netherlands, Japan  Java (EE), Perl, C++, web systems, relational databases, performance optimization & security
  • 26. 26 Agenda 1. About Rakuten Card 2. Background of the Old Systems 3. New Architecture Design Overview  Exadata for database  Exalogic for app server  OCM for unlimited scale-out execution platform, with security 4. Data Migration 5. Software Migration 6. Extra Performance with Apache Spark 7. Results 8. Into the Future 26
  • 28. 28 Data Migration – Outline ISAM VSAM NDB Oracle Database Copy & Convert
  • 29. 29 Data Migration – Outline  Data Conversion  Network database to relational database  ISAM/VSAM data to relational database  Legacy Japanese character set to Unicode  Fix data inconsistencies  Scale  Terabytes of live production data  Less than 24 hours time
  • 30. 30 Data Migration – Minimize Downtime  Offline migration  Freeze data during migration  Full migration – not incremental  Customers mostly unaffected  Data & System migration  At the same time  Cannot be split into phases Cached
  • 31. 31 Data Migration – Rehearsals ISAM VSAM NDB Oracle DatabaseISAM VSAM NDB Mirror Copy & Convert Replication
  • 33. 33 Software Migration – Outline Req. Source code Appliction Platform Hardware Reimplement Convert Emulate
  • 34. 34 Software Migration – Outline Reimplement Emulate Convert Pro • Optimal performance • Low maintenance cost • Development unchanged • Easy to test • Easy to migrate • Flexible cost vs. schedule • Case-by-case fixes • Easy to test Con • Expensive • Takes a long time • Risky • Difficult to test • Development unchanged • Low performance • Future questionable • Legacy code remains • Low performance points need to be addressed Requirements?
  • 35. 35 Software Migration – Outline Reimplement Emulate Convert Pro • Optimal performance • Low maintenance cost • Development unchanged • Easy to test • Easy to migrate • Flexible cost vs. schedule • Case-by-case fixes • Easy to test Con • Expensive • Takes a long time • Risky • Difficult migration • Development unchanged • Low performance • Future questionable • Legacy code remains • Low performance points need to be addressed 2x Performance No regression Minimal downtime
  • 36. 36 Software Migration – Outline Reimplement Emulate Convert Pro • Optimal performance • Low maintenance cost • Development unchanged • Easy to test • Easy to migrate • Flexible cost vs. schedule • Case-by-case fixes • Easy to test Con • Expensive • Takes a long time • Risky • Difficult migration • Development unchanged • Low performance • Future questionable • Legacy code remains • Low performance points need to be addressed 2x Performance No regression Minimal downtime
  • 37. 37 Software Migration – Conversion Japanese COBOL Source code Source code Custom made source code converter  Convert from Japanese COBOL to Java EE  Keep original core business logic
  • 38. 38 Software Migration – Conversion: Dual Source From Web Systems, For New Logic COBOL From Old System, converted to Java  Ease of migration, resource re-use  Introduce power of Java EE  Introduce converter from YPS to Java “Dual Source Architecture” Japanese COBOL  Japanese source code  Almost abandoned  No books, no community Old New
  • 39. 39 Software Migration – Conversion: Single Binary New Logic (Java EE) Application Server (Java EE) Legacy Logic (Mainframe) Build Deploy Japanese COBOL Convert to COBOL Convert to Java COBOL Java Compile WAR Converter  Two sources, single binary  Easy to operate Java Byte Code Compile Java
  • 40. 40 Software Migration – New Architecture BIG-IP Real-time Servers (WebLogic) Batch Servers (Spark & Java) Façade Rich clients Façade Façade Intranet External Intra Exadata Mail Form BIG-IP Façade BIG-IP External customers Scheduler CoreBusinessLogicAPIs Operation terminal Web browser Old New
  • 41. 41 Auto testing environment 3. Run tests on staging environment 2. Execute auto testing on several times 1. Register auto test scenarios  Automatic testing using latest IBM Rational test software  Regression tests triggered when something changed  Reduce possibility of errors in production Testing Server
  • 42. 42 6. Extra Performance with Apache Spark
  • 43. 43 Performance – Issues Start Slow Slow  Batches are run as networks  Hierarchical  Critical path  Time window
  • 44. 44 Performance – Run in Parallel Time Sequential Parallel
  • 45. Big Improvement – Performance: Apache Spark 45 Cluster Node Cluster Node Cluster Node Cluster Node Cluster Node Cluster Node Bootstrap New SharedMemory Scheduler Ultra-fast batch execution
  • 48. 48 Migration Plan – Data ISAM VSAM NDB Oracle DatabaseISAM VSAM NDB Mirror Replication Copy & Convert
  • 49. 49 Migration Plan – Schedule 321 321Data Saturday Sunday Monday Check CheckCheck
  • 50. 50 Result  Live in production  On schedule  Lightning fast  No critical issues
  • 51. 51 8. Into the Future
  • 52. 52 Into the Future 1.0 Initial phase 2.0 In-house development 3.0 Standardization 4.0 Data Optimized Outsource based, just started. Vendor locked-in. In-house development, differentiate with lower costs and faster delivery. Standardized system architecture, both for hardware and software. Overwhelming differentiation, with enabling architecture for customer centric service. Achieved Next Current Standard Architecture