Copyright © 2020 Oracle and/or its affiliates.
MySQL NDB Cluster 8.0,
Use Cases
MySQL Cluster Development
Mikael Ronström
Number Portability Demo
First NDB Cluster application 1998
AXE
RP
RP
SPARC
Computer
SPARC
Computer
Ethernet
APZ
Ethernet
Dolphin SCI
Interconnect
AXE = Telecom Switch
APZ = Central Computer
RP = Regional Computer
NDB Cluster Provided Low Latency database service to
Number Portability Application in APZ
Stock Quote App using NDB API
NDB API
Stock
Order
Feed
NDB Datanode
Real-time Stock
Quotes
First Customer Delivery,
Prototype 2001
Users
DNS/DHCP/.. Server
NDB API
DNS/DHCP/.. Server
NDB API
ndbmtd ndbmtd
computer 1
computer 4
computer 3
computer 2
First NDB Application in Production, B2 2004
Still operational
B2 = Internet provider
Used it myself for 10 years
Applications
slapd
NDB API
slapd
NDB API
NDB Datanode NDB Datanode
Computer 1
Computer 4
Computer 3
Computer 2
NDB Cluster as LDAP Server (using OpenLDAP)
Juniper SBR Carrier System
LDAP/HTTPS/CLI/RADIUS
…………………………
NDB is
High Availability Session State Database
SBR
Carrier SQL
MySQL
Servers
MySQL
Servers
…..
SBR
Carrier
NDB
Datanode
NDB
Datanode
NDB
Datanode
NDB
Datanode
Switch
Gamers
Gaming app Gaming app Gaming app
mysqldmysqld mysqld
ndbmtd ndbmtd ndbmtd
computer 1 computer 2 computer n
Scalable Gaming Application
Financial Apps using Direct API
Cluster J
Stock
Order
Feed
NDB Datanode NDB Datanode
Real-time Stock
Quotes
Financial Apps using SQL
Real-time Stock
Quotes
JDBC
Stock
Order
Feed
mysqld
ndbmtd ndbmtd
Train control Vehicle control
mysqld mysqld
ndbmtd
ndbmtd
Computer 1 Computer 2
Soft real-time applications
swift
mysqld
Nova Neutron Horizon
mysqld
ndbmtd ndbmtd
Computer 1 Computer 2
Oracle OpenStack
Hadoop HDFS without NDB Cluster
Journal Nodes Zoo Keeper
HDFS DataNodes
………….
HDFS
Client
Active
Name
Node
Standby
Name
Node
………
NDB Data Nodes
……….
Name Nodes Leader
……….
HDFS Data Nodes
HDFS
Client
HopsFS
Hadoop HDFS with NDB Cluster
Data
Center
US
Data
Center
Europe
Data
Center
Asia
GE Global Architecture
Keynote 2015, MySQL Conference
NDB
Mgmt Server
MySQL Server
NDB
Mgmt Server
MySQL Server
NDB Datanode NDB Datanode
……………………… App Server
Load
Balancer
App Server
GE NDB Cluster Architecture
…………………….
Cluster A Data Center A Cluster B Data Center B
NDB
Datanode
Rep
Channel
Switch Switch
NDB
Datanode
NDB
Datanode
NDB
Datanode
NDB
Mgmt Server
MySQL
Server
NDB
Mgmt Server
MySQL
Server
NDB
Mgmt Server
MySQL
Server
NDB
Mgmt Server
MySQL
Server
Load Balancer
App ServerApp Server
GE, Global NDB Cluster Architecture

Ndb cluster 80_use_cases

  • 1.
    Copyright © 2020Oracle and/or its affiliates. MySQL NDB Cluster 8.0, Use Cases MySQL Cluster Development Mikael Ronström
  • 2.
    Number Portability Demo FirstNDB Cluster application 1998 AXE RP RP SPARC Computer SPARC Computer Ethernet APZ Ethernet Dolphin SCI Interconnect AXE = Telecom Switch APZ = Central Computer RP = Regional Computer NDB Cluster Provided Low Latency database service to Number Portability Application in APZ
  • 3.
    Stock Quote Appusing NDB API NDB API Stock Order Feed NDB Datanode Real-time Stock Quotes First Customer Delivery, Prototype 2001
  • 4.
    Users DNS/DHCP/.. Server NDB API DNS/DHCP/..Server NDB API ndbmtd ndbmtd computer 1 computer 4 computer 3 computer 2 First NDB Application in Production, B2 2004 Still operational B2 = Internet provider Used it myself for 10 years
  • 5.
    Applications slapd NDB API slapd NDB API NDBDatanode NDB Datanode Computer 1 Computer 4 Computer 3 Computer 2 NDB Cluster as LDAP Server (using OpenLDAP)
  • 6.
    Juniper SBR CarrierSystem LDAP/HTTPS/CLI/RADIUS ………………………… NDB is High Availability Session State Database SBR Carrier SQL MySQL Servers MySQL Servers ….. SBR Carrier NDB Datanode NDB Datanode NDB Datanode NDB Datanode Switch
  • 7.
    Gamers Gaming app Gamingapp Gaming app mysqldmysqld mysqld ndbmtd ndbmtd ndbmtd computer 1 computer 2 computer n Scalable Gaming Application
  • 8.
    Financial Apps usingDirect API Cluster J Stock Order Feed NDB Datanode NDB Datanode Real-time Stock Quotes
  • 9.
    Financial Apps usingSQL Real-time Stock Quotes JDBC Stock Order Feed mysqld ndbmtd ndbmtd
  • 10.
    Train control Vehiclecontrol mysqld mysqld ndbmtd ndbmtd Computer 1 Computer 2 Soft real-time applications
  • 11.
    swift mysqld Nova Neutron Horizon mysqld ndbmtdndbmtd Computer 1 Computer 2 Oracle OpenStack
  • 12.
    Hadoop HDFS withoutNDB Cluster Journal Nodes Zoo Keeper HDFS DataNodes …………. HDFS Client Active Name Node Standby Name Node
  • 13.
    ……… NDB Data Nodes ………. NameNodes Leader ………. HDFS Data Nodes HDFS Client HopsFS Hadoop HDFS with NDB Cluster
  • 14.
  • 15.
    NDB Mgmt Server MySQL Server NDB MgmtServer MySQL Server NDB Datanode NDB Datanode ……………………… App Server Load Balancer App Server GE NDB Cluster Architecture
  • 16.
    ……………………. Cluster A DataCenter A Cluster B Data Center B NDB Datanode Rep Channel Switch Switch NDB Datanode NDB Datanode NDB Datanode NDB Mgmt Server MySQL Server NDB Mgmt Server MySQL Server NDB Mgmt Server MySQL Server NDB Mgmt Server MySQL Server Load Balancer App ServerApp Server GE, Global NDB Cluster Architecture