SlideShare a Scribd company logo
Caveats of hosting MariaDB on Microsoft Azure Cloud
Alan Attard
Technical Architect
Brendan Cutajar
Technical Lead
2
GiG: Provides products & services
throughout the entire iGaming value
chain
~750
No of Employees
Offices in Malta,
Denmark, Gibraltar,
Norway, Spain, USA
Licences in Malta,
UK, New Jersey,
Germany S-H,
(Denmark, Spain,
Sweden)
GiG Overview
2012
GiG founded Listed on the
Oslo Stock
exchange
€151.4m revenue
30+ clients
including Hard
Rock International
2015 Present
“Opening up iGaming to
make it fair & fun for all”
Vision
“Have a stake in every
fair online bet”
Mission
GiG Service Portfolio
GiG Media GiG Core
GiG Sports
& Games
GiG Gaming
Digital marketing Platform services
Sports & gaming
services
Operators
Finding leads through
online media buys and
publishing and refer these
lead to operators
Offering cloud based
platform services to
multiple operators,
internal and external
Odds, trading and risk
management tools and
mobile first front end for
sportsbooks and games
for casino operators
Seven consumer facing
brands
Connecting end users, operators & suppliers
B2B B2B B2B B2C
GiG Sports Connect
In-house and
aggregated odds
and data
GiG Trader
Full suite of trading
and risk
management tools
GiG Goal
Mobile first Sports
Front End
GiG Sports
GiG Sports Data ingestion
Data persistence
Data processing
Transactions
Performance
1M+ messages processed per day
100ms (avg) to process an odds message
140+ concurrent live events
23k+ events
50+ bets per second
GiG Sports
GiG Sports
Hosting Requirements
Hosted on cloud or on premise
Fault Tolerant and automatic failover
Linear scalable
Geo-replication
9
GiG Sports
GiG Sports
Master Master Master
Load Balancer
Multi master using Galera Cluster
Hosted on cloud or on premise
Fault Tolerant and automatic failover
Linear scalable
Geo-replication
GiG Sports
Master Slave Slave
Load Balancer
Single master using Galera Cluster
Hosted on cloud or on premise
Fault Tolerant and automatic failover
Linear scalable
Geo-replication
GiG Sports
Master Slave Slave
Load Balancer
Single master using MariaDB MaxScale
Hosted on cloud or on premise
Fault Tolerant and automatic failover
Linear scalable
Geo-replication
Active
Remote
Manual Manual
GiG Sports
Floating IP
Active
Physical IP
Passive
Physical IP
Passive
Physical IP
Clustering on premise
Services accessed through floating IP
GiG Sports
Floating IP
Failure
Physical IP
Passive
Physical IP
Active
Physical IP
Clustering on premise
Leader election & automatic failover
GiG Sports
Corosync and Pacemaker
A group communication system
mostly used for implementing
application high availability
A high availability resource manager
which provides application clustering.
GiG Sports
Corosync and Pacemaker
Leader
Load Balancer
Node Node
App
Performs TCP health checks to identify which nodes
are serving the application
Group clustering
communication
Group clustering
communication
GiG Sports
Corosync and Pacemaker
Leader
Load Balancer
Leader Node
App
Pacemaker on the new leader switches
application on
GiG Sports
Master Slave Slave
Load Balancer
Single master using MariaDB MaxScale
Hosted on cloud or on premise
Fault Tolerant and automatic failover
Linear scalable
Geo-replication
Active
Remote
Passive Passive
Media
Omni-Channel
Platform
Sports & Games Content
Managed ServicesGiG Sports
Configuration
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
apt-get update && apt-get install maxscale
Install MaxScale on all nodes
service maxscale stop
systemctl disable maxscale
Stop and disable MaxScale service autostart
Media
Omni-Channel
Platform
Sports & Games Content
Managed ServicesGiG Sports
Configuration
apt-get update && apt-get install pacemaker
Install Corosync and PaceMaker
corosync-keygen
Generate a key from corosync used to rsync to the other nodes
Media
Omni-Channel
Platform
Sports & Games Content
Managed ServicesGiG Sports
Configuration
cluster_name: maxscale-cluster
interface {
ringnumber: 0
member {
memberaddr: <node1>
}
member {
memberaddr: <node2>
}
member {
memberaddr: <node3>
}
bindnetaddr: <node1>
mcastport: 5405
}
quorum {
provider: corosync_votequorum
expected_votes: 2
}
Configure corosync.conf
Media
Omni-Channel
Platform
Sports & Games Content
Managed ServicesGiG Sports
Configuration
rsync -avh /etc/corosync/ root@<node2>:/etc/corosync
rsync -avh /etc/corosync/ root@<node3>:/etc/corosync
Rsync Corosync keys to all other nodes
crm configure property 'stonith-enabled'='false'
Disable the STONITH (Shoot The Other Node In The Head)
Media
Omni-Channel
Platform
Sports & Games Content
Managed ServicesGiG Sports
Configuration
crm configure primitive MaxScale systemd:maxscale 
op monitor interval='10s' timeout='15s' 
op start interval='0' timeout='15s' 
op stop interval='0' timeout='30s'
Configure MaxScale in the Cluster Resource Manager
24
Thank you

More Related Content

PPTX
How Pixid dropped Oracle and went hybrid with MariaDB
PDF
Under the hood: SkySQL monitoring
PDF
Introducing the R2DBC async Java connector
PDF
Introducing workload analysis
PPTX
ClustrixDB at Samsung Cloud
PDF
The role of databases in modern application development
PDF
Introducing the ultimate MariaDB cloud, SkySQL
PPTX
Intelligent_Workload_Management
How Pixid dropped Oracle and went hybrid with MariaDB
Under the hood: SkySQL monitoring
Introducing the R2DBC async Java connector
Introducing workload analysis
ClustrixDB at Samsung Cloud
The role of databases in modern application development
Introducing the ultimate MariaDB cloud, SkySQL
Intelligent_Workload_Management

What's hot (20)

PPTX
How to power microservices with MariaDB
PDF
Dual write strategies for microservices
PDF
MariaDB Enterprise Tools introduction
PDF
Getting started in the cloud for developers
PDF
Webinar slides: How to Migrate from Oracle DB to MariaDB
PPTX
Remote DBA Service: Powering your DBA needs
 
PDF
Remote DBA Service: Powering your DBA needs
 
PDF
The architecture of SkySQL
PDF
Digital transformation: Highly resilient streaming architecture and strategie...
PPTX
Designing a Service Mesh with Kafka and Sagas | David Navalho, Marionete and ...
PPTX
CCV: migrating our payment processing system to MariaDB
PPTX
Comparing three data ingestion approaches where Apache Kafka integrates with ...
PDF
Caching for Microservices Architectures: Session II - Caching Patterns
PPTX
Keynote - Oleg Barenboim - ManageIQ Design Summit 2016
PDF
How to leverage Kafka data streams with Neo4j
PDF
Qlik and Confluent Success Stories with Kafka - How Generali and Skechers Kee...
PDF
Fossasia 2017 - ManageIQ presentation
PDF
Faster, better, stronger: The new InnoDB
PDF
RHTE2015_CloudForms_Containers
PPTX
EDA Governance Model: a multicloud approach based on GitOps | Alejandro Alija...
How to power microservices with MariaDB
Dual write strategies for microservices
MariaDB Enterprise Tools introduction
Getting started in the cloud for developers
Webinar slides: How to Migrate from Oracle DB to MariaDB
Remote DBA Service: Powering your DBA needs
 
Remote DBA Service: Powering your DBA needs
 
The architecture of SkySQL
Digital transformation: Highly resilient streaming architecture and strategie...
Designing a Service Mesh with Kafka and Sagas | David Navalho, Marionete and ...
CCV: migrating our payment processing system to MariaDB
Comparing three data ingestion approaches where Apache Kafka integrates with ...
Caching for Microservices Architectures: Session II - Caching Patterns
Keynote - Oleg Barenboim - ManageIQ Design Summit 2016
How to leverage Kafka data streams with Neo4j
Qlik and Confluent Success Stories with Kafka - How Generali and Skechers Kee...
Fossasia 2017 - ManageIQ presentation
Faster, better, stronger: The new InnoDB
RHTE2015_CloudForms_Containers
EDA Governance Model: a multicloud approach based on GitOps | Alejandro Alija...
Ad

Similar to Caveats of hosting MariaDB on Microsoft Azure Cloud (20)

PDF
Tissat presentación enerTIC+CDTI-2012-dic-18.v3
PDF
A scalable server environment for your applications
PDF
M|18 Choosing the Right High Availability Strategy for You
PPSX
cloud gaming1.ppsx
PPSX
cloud gaming1.ppsx
PPTX
cloud gaming.pptx
PDF
Solving the MariaDB and MySQL High Availability Puzzle Webinar
PDF
Daniel cornejo cisco. centros de datos unificados y su evolución hacia la nub...
PDF
Software for EN 16001 energy management systems eGAM
PDF
Software for ISO/IEC 27001 information security management systems eGAM
PDF
System Center Configuration Manager-The Most Popular System Center Component
PPTX
Building Applications For The Cloud
PDF
Cloud Computing by Dindo Fernando
PPTX
Sccm 2012
PDF
V mware gts case study
PPTX
The CIBER / CA partnership & Why CIBER is moving to Nimsoft Monitor
PDF
Cloud Gaming in the era of Distributed Computing & Big Data
PPTX
Windows Azure Platform
PDF
Managed Hosting
Tissat presentación enerTIC+CDTI-2012-dic-18.v3
A scalable server environment for your applications
M|18 Choosing the Right High Availability Strategy for You
cloud gaming1.ppsx
cloud gaming1.ppsx
cloud gaming.pptx
Solving the MariaDB and MySQL High Availability Puzzle Webinar
Daniel cornejo cisco. centros de datos unificados y su evolución hacia la nub...
Software for EN 16001 energy management systems eGAM
Software for ISO/IEC 27001 information security management systems eGAM
System Center Configuration Manager-The Most Popular System Center Component
Building Applications For The Cloud
Cloud Computing by Dindo Fernando
Sccm 2012
V mware gts case study
The CIBER / CA partnership & Why CIBER is moving to Nimsoft Monitor
Cloud Gaming in the era of Distributed Computing & Big Data
Windows Azure Platform
Managed Hosting
Ad

More from MariaDB plc (20)

PDF
MariaDB Berlin Roadshow Slides - 8 April 2025
PDF
MariaDB München Roadshow - 24 September, 2024
PDF
MariaDB Paris Roadshow - 19 September 2024
PDF
MariaDB Amsterdam Roadshow: 19 September, 2024
PDF
MariaDB Paris Workshop 2023 - MaxScale 23.02.x
PDF
MariaDB Paris Workshop 2023 - Newpharma
PDF
MariaDB Paris Workshop 2023 - Cloud
PDF
MariaDB Paris Workshop 2023 - MariaDB Enterprise
PDF
MariaDB Paris Workshop 2023 - Performance Optimization
PDF
MariaDB Paris Workshop 2023 - MaxScale
PDF
MariaDB Paris Workshop 2023 - novadys presentation
PDF
MariaDB Paris Workshop 2023 - DARVA presentation
PDF
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
PDF
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
PDF
Einführung : MariaDB Tech und Business Update Hamburg 2023
PDF
Hochverfügbarkeitslösungen mit MariaDB
PDF
Die Neuheiten in MariaDB Enterprise Server
PDF
Global Data Replication with Galera for Ansell Guardian®
PDF
What to expect from MariaDB Platform X5, part 1
PDF
What to expect from MariaDB Platform X5, part 2
MariaDB Berlin Roadshow Slides - 8 April 2025
MariaDB München Roadshow - 24 September, 2024
MariaDB Paris Roadshow - 19 September 2024
MariaDB Amsterdam Roadshow: 19 September, 2024
MariaDB Paris Workshop 2023 - MaxScale 23.02.x
MariaDB Paris Workshop 2023 - Newpharma
MariaDB Paris Workshop 2023 - Cloud
MariaDB Paris Workshop 2023 - MariaDB Enterprise
MariaDB Paris Workshop 2023 - Performance Optimization
MariaDB Paris Workshop 2023 - MaxScale
MariaDB Paris Workshop 2023 - novadys presentation
MariaDB Paris Workshop 2023 - DARVA presentation
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
Einführung : MariaDB Tech und Business Update Hamburg 2023
Hochverfügbarkeitslösungen mit MariaDB
Die Neuheiten in MariaDB Enterprise Server
Global Data Replication with Galera for Ansell Guardian®
What to expect from MariaDB Platform X5, part 1
What to expect from MariaDB Platform X5, part 2

Recently uploaded (20)

PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
System and Network Administraation Chapter 3
PPTX
Introduction to Artificial Intelligence
PDF
System and Network Administration Chapter 2
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Nekopoi APK 2025 free lastest update
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPT
Introduction Database Management System for Course Database
PDF
Digital Strategies for Manufacturing Companies
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
System and Network Administraation Chapter 3
Introduction to Artificial Intelligence
System and Network Administration Chapter 2
Odoo Companies in India – Driving Business Transformation.pdf
Understanding Forklifts - TECH EHS Solution
Softaken Excel to vCard Converter Software.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Nekopoi APK 2025 free lastest update
How to Choose the Right IT Partner for Your Business in Malaysia
Wondershare Filmora 15 Crack With Activation Key [2025
Reimagine Home Health with the Power of Agentic AI​
Introduction Database Management System for Course Database
Digital Strategies for Manufacturing Companies
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf

Caveats of hosting MariaDB on Microsoft Azure Cloud

  • 1. Caveats of hosting MariaDB on Microsoft Azure Cloud Alan Attard Technical Architect Brendan Cutajar Technical Lead
  • 2. 2 GiG: Provides products & services throughout the entire iGaming value chain
  • 3. ~750 No of Employees Offices in Malta, Denmark, Gibraltar, Norway, Spain, USA Licences in Malta, UK, New Jersey, Germany S-H, (Denmark, Spain, Sweden) GiG Overview 2012 GiG founded Listed on the Oslo Stock exchange €151.4m revenue 30+ clients including Hard Rock International 2015 Present “Opening up iGaming to make it fair & fun for all” Vision “Have a stake in every fair online bet” Mission
  • 4. GiG Service Portfolio GiG Media GiG Core GiG Sports & Games GiG Gaming Digital marketing Platform services Sports & gaming services Operators Finding leads through online media buys and publishing and refer these lead to operators Offering cloud based platform services to multiple operators, internal and external Odds, trading and risk management tools and mobile first front end for sportsbooks and games for casino operators Seven consumer facing brands Connecting end users, operators & suppliers B2B B2B B2B B2C
  • 5. GiG Sports Connect In-house and aggregated odds and data GiG Trader Full suite of trading and risk management tools GiG Goal Mobile first Sports Front End GiG Sports
  • 6. GiG Sports Data ingestion Data persistence Data processing Transactions
  • 7. Performance 1M+ messages processed per day 100ms (avg) to process an odds message 140+ concurrent live events 23k+ events 50+ bets per second GiG Sports
  • 8. GiG Sports Hosting Requirements Hosted on cloud or on premise Fault Tolerant and automatic failover Linear scalable Geo-replication
  • 10. GiG Sports Master Master Master Load Balancer Multi master using Galera Cluster Hosted on cloud or on premise Fault Tolerant and automatic failover Linear scalable Geo-replication
  • 11. GiG Sports Master Slave Slave Load Balancer Single master using Galera Cluster Hosted on cloud or on premise Fault Tolerant and automatic failover Linear scalable Geo-replication
  • 12. GiG Sports Master Slave Slave Load Balancer Single master using MariaDB MaxScale Hosted on cloud or on premise Fault Tolerant and automatic failover Linear scalable Geo-replication Active Remote Manual Manual
  • 13. GiG Sports Floating IP Active Physical IP Passive Physical IP Passive Physical IP Clustering on premise Services accessed through floating IP
  • 14. GiG Sports Floating IP Failure Physical IP Passive Physical IP Active Physical IP Clustering on premise Leader election & automatic failover
  • 15. GiG Sports Corosync and Pacemaker A group communication system mostly used for implementing application high availability A high availability resource manager which provides application clustering.
  • 16. GiG Sports Corosync and Pacemaker Leader Load Balancer Node Node App Performs TCP health checks to identify which nodes are serving the application Group clustering communication Group clustering communication
  • 17. GiG Sports Corosync and Pacemaker Leader Load Balancer Leader Node App Pacemaker on the new leader switches application on
  • 18. GiG Sports Master Slave Slave Load Balancer Single master using MariaDB MaxScale Hosted on cloud or on premise Fault Tolerant and automatic failover Linear scalable Geo-replication Active Remote Passive Passive
  • 19. Media Omni-Channel Platform Sports & Games Content Managed ServicesGiG Sports Configuration curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash apt-get update && apt-get install maxscale Install MaxScale on all nodes service maxscale stop systemctl disable maxscale Stop and disable MaxScale service autostart
  • 20. Media Omni-Channel Platform Sports & Games Content Managed ServicesGiG Sports Configuration apt-get update && apt-get install pacemaker Install Corosync and PaceMaker corosync-keygen Generate a key from corosync used to rsync to the other nodes
  • 21. Media Omni-Channel Platform Sports & Games Content Managed ServicesGiG Sports Configuration cluster_name: maxscale-cluster interface { ringnumber: 0 member { memberaddr: <node1> } member { memberaddr: <node2> } member { memberaddr: <node3> } bindnetaddr: <node1> mcastport: 5405 } quorum { provider: corosync_votequorum expected_votes: 2 } Configure corosync.conf
  • 22. Media Omni-Channel Platform Sports & Games Content Managed ServicesGiG Sports Configuration rsync -avh /etc/corosync/ root@<node2>:/etc/corosync rsync -avh /etc/corosync/ root@<node3>:/etc/corosync Rsync Corosync keys to all other nodes crm configure property 'stonith-enabled'='false' Disable the STONITH (Shoot The Other Node In The Head)
  • 23. Media Omni-Channel Platform Sports & Games Content Managed ServicesGiG Sports Configuration crm configure primitive MaxScale systemd:maxscale op monitor interval='10s' timeout='15s' op start interval='0' timeout='15s' op stop interval='0' timeout='30s' Configure MaxScale in the Cluster Resource Manager