SlideShare a Scribd company logo
1 of 21
Louis Zircher & Greg Henderson
February 27th 2018
Global Data Replication with
Galera for Ansell Guardian®
Introductions
Ansell
Guardian®
Technology
Business
Requirement
s
Technical
Architecture
Ansell® Global Leader in Protection Solutions
The Journey
Hazard
Assessments
1975 1995 2011
Application
Assessment Hand Protection
Loss Control
Analysis
International
Expansion
Sales
Transformation
US Patent
Guardian Launch
1990 2002
Safety Net Launch EMEA
2005 2014 2015 2016 2017
Channel
Partnership
Our Solution – Ansell Guardian®
Focus on Safety________________________________________________________
______
An integrated approach to improve
your business performance
An Integrated Solution
Ansell Guardian® partners with industrial and medical organisations to address the challenges in today’s
PPE environment and deliver measurable safety and business improvements.
MariaDB Saved Ansell Guardian®
Introduced to
MariaDB / Galera
• Looking for better ways to move
and synchronize data
• Across 3 Data Centers
• Heavy Data replication
• Long Production Deployment
Current
Synchronization
Process not viable
• Our hub and spoke model
pushed to limits of capability
• Data not replicating
• Pressure from Management to
fix
• Preplanning and evaluation of
MariaDB by Ansell made for a
smooth transition.
Implementation
• Only Delay was our Application
• Easy Implementation
• Major Benefits
• Increased Performance
• Days to Hours Deployment
• User Experience
Ansell Guardian® Today
Channel Sales TeamAnsell Sales Team Digital /E-connector
DIGITAL
Continue helping our customers
through Ansell sales force.
To further differentiate Ansell through our unique safety and productivity platform.
Expansion of Ansell Guardian
coverage through channel partner
sales teams.
Further integration with channel
partners and Ansell customers
And now the technical journey…
• Various global teams with different processes / tools
‑ Excel spreadsheets
‑ Custom Word document apps
‑ .NET desktop apps
‑ PocketPC apps
• Lotus Notes was our global replication tool
‑ Good at replicating objects
‑ But tough to interact with outside Notes
‑ Was on the way out as our corporate messaging platform
• Started working toward a global toolset 2005 to 2008
• Key challenges
‑ Global data synchronization
‑ Centralize “silo” development efforts
First global Guardian application
• Fat Java SWT client developed about 2010
‑ Local DB instance per client
‑ Requirement to synchronize data between all clients
• Adventures in data synchronization
‑ Aim to run sync through a central server-side DB instance
‑ Initial outsource prototype was a “home-grown” sync process
o Only took 17hrs or so… LOL
‑ So internal development team steps in
• Initial global data synchronization solution
‑ Found and installed a COTS DB replication tool
‑ Worked at logical SQL level, extensive manual configuration
‑ A bit painful to implement, but functional
First global Guardian application
Central DB Master
Server Americas
Americas
Multiple DB Slave
Clients
JDBC
Europe,
Africa, East
Asia
Australia, Southeast Asia
Java / web application hybrid
• Additions to Java / DB client solution by 2013
‑ Central Java application stack servers (JBoss / Tomcat)
‑ Local Java application server (Jetty)
‑ Embedded Chrome browser
• The web was the future…
Java / web application hybrid
Central DB Master
Server Americas
Americas
Europe,
Africa, East
Asia
Australia, Southeast Asia
Multiple DB Slave
Clients
JDBC
HTTP
HTTPHTTP
Guardian Next
• Full migration to web application by 2014
‑ Three regional Java DB application server groups across the globe
‑ DB replication via COTS tool between the regions
o Migrated previous central master DB server with numerous slave DB clients hierarchy to a master DB server with two slave DB servers
• Large number of servers to administer globally
‑ Began developing automation scripts
o Python Fabric API was easy… Ansible, Chef and such were a bit irritating
‑ Important!
• Database continues to grow…
‑ Over next couple years DB replication performance continues to degrade
Guardian Next
Central DB Master
(APAC)
Americas

Web Clients
Europe,
Africa, East
Asia

Web Clients
Australia,
Southeast Asia

Web Clients
DB Slave (EMEA)JDBC
HTTP
JDBC
HTTP
HTTP
DB Slave (AM)
MariaDB / Galera Cluster enters the arena
• By 2016, legacy database replication support had become an ongoing issue
‑ FKs were not our friend
‑ Occasional issues could require a full re-synchronization sequence to resolve, minimally 8+ hrs by this point. Fun weekend
work...
o NOT!
‑ Time to find a new synchronization solution
• Check out MariaDB / Galera Cluster
‑ Spent couple months of research, evaluation and testing
‑ Implemented Python Fabric scripting automation to speed up iterations of numerous operational test sequences
• Worked out functional solution without direct MariaDB support
‑ MariaDB offered to help multiple times
‑ But via online docs and various forums, no need
• Deployment planned in mid 2017
Emergency!
• Encountered brick wall DB replication issue early 2017
‑ Regional DBs started to diverge... not good!
‑ Implemented Python scripts to manually sync important data between regional DB instances… this was not sustainable.
• Pushed pending web app updates before deploying MariaDB / Galera
‑ Moving from master/slave configuration to synchronous master servers
MariaDB / Galera to the rescue
• Deployed MariaDB / Galera Cluster as drop-in replacement, included:
‑ Automated scripts for all major cluster ops startup/shutdown/rebuild/etc.
‑ Slave instances attached to cluster for read-intensive processes and backups
‑ Concurrent non-clustered local MariaDB on slave servers for transient data
o Want to minimize ongoing server costs
o Enhanced MariaDB /etc/init.d scripts to allow concurrent instances on different port
▪ Not really recommended... but has worked nicely up to this point
• Cluster build decreased to ~6 hrs and worked reliably
‑ Later… decreased cluster build to <2 hrs by implementing xtrabackup / IST solution instead of built-in SST
MariaDB / Galera to the rescue
MariaDB / Galera
Master (APAC)
Americas

Web Clients Europe,
Africa, East
Asia

Web Clients
Australia, Southeast
Asia

MariaDB / Galera

Master (EMEA)
Slave
HTTP HTTPHTTP
MariaDB / Galera
Master (AM)
Slave
Synchronous Master to
Master Replication
AM / EMEA / APAC
Slave
AM

Non-clustered
Transient Data
EMEA
Transien
t
APAC
Transien
t
Future
• Implement MaxScale to further harden DB infrastructure
• Investigate JSON support
• What else is cool?
‑ I’m here to find out...
Lessons learned
• Due diligence...prepare early
• Test, test, test...
• Automate everything you can
• A few decades of development experience doesn't hurt
‑ MariaDB support is there to help if needed ☺

More Related Content

What's hot

What's hot (20)

What to expect from MariaDB Platform X5, part 1
What to expect from MariaDB Platform X5, part 1What to expect from MariaDB Platform X5, part 1
What to expect from MariaDB Platform X5, part 1
 
How we switched to columnar at SpendHQ
How we switched to columnar at SpendHQHow we switched to columnar at SpendHQ
How we switched to columnar at SpendHQ
 
Faster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBFaster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDB
 
Configuring workload-based storage and topologies
Configuring workload-based storage and topologiesConfiguring workload-based storage and topologies
Configuring workload-based storage and topologies
 
Writing powerful stored procedures in PL/SQL
Writing powerful stored procedures in PL/SQLWriting powerful stored procedures in PL/SQL
Writing powerful stored procedures in PL/SQL
 
Database Security Threats - MariaDB Security Best Practices
Database Security Threats - MariaDB Security Best PracticesDatabase Security Threats - MariaDB Security Best Practices
Database Security Threats - MariaDB Security Best Practices
 
How Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDBHow Pixid dropped Oracle and went hybrid with MariaDB
How Pixid dropped Oracle and went hybrid with MariaDB
 
Using all of the high availability options in MariaDB
Using all of the high availability options in MariaDBUsing all of the high availability options in MariaDB
Using all of the high availability options in MariaDB
 
How MariaDB is approaching DBaaS
How MariaDB is approaching DBaaSHow MariaDB is approaching DBaaS
How MariaDB is approaching DBaaS
 
CCV: migrating our payment processing system to MariaDB
CCV: migrating our payment processing system to MariaDBCCV: migrating our payment processing system to MariaDB
CCV: migrating our payment processing system to MariaDB
 
How QBerg scaled to store data longer, query it faster
How QBerg scaled to store data longer, query it fasterHow QBerg scaled to store data longer, query it faster
How QBerg scaled to store data longer, query it faster
 
How to migrate from Oracle Database with ease
How to migrate from Oracle Database with easeHow to migrate from Oracle Database with ease
How to migrate from Oracle Database with ease
 
How Orwell built a geo-distributed Bank-as-a-Service with microservices
How Orwell built a geo-distributed Bank-as-a-Service with microservicesHow Orwell built a geo-distributed Bank-as-a-Service with microservices
How Orwell built a geo-distributed Bank-as-a-Service with microservices
 
MariaDB ColumnStore
MariaDB ColumnStoreMariaDB ColumnStore
MariaDB ColumnStore
 
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQLHigh performance and high availability proxies for MySQL
High performance and high availability proxies for MySQL
 
How to make data available for analytics ASAP
How to make data available for analytics ASAPHow to make data available for analytics ASAP
How to make data available for analytics ASAP
 
M|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX PlatformM|18 Analyzing Data with the MariaDB AX Platform
M|18 Analyzing Data with the MariaDB AX Platform
 
Choosing the right high availability strategy
Choosing the right high availability strategyChoosing the right high availability strategy
Choosing the right high availability strategy
 
Best practices: running high-performance databases on Kubernetes
Best practices: running high-performance databases on KubernetesBest practices: running high-performance databases on Kubernetes
Best practices: running high-performance databases on Kubernetes
 
Evolution of DBA in the Cloud Era
 Evolution of DBA in the Cloud Era Evolution of DBA in the Cloud Era
Evolution of DBA in the Cloud Era
 

Similar to Global Data Replication with Galera for Ansell Guardian®

Top 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres DeploymentTop 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres Deployment
EDB
 
PPCD_And_AmazonRDS
PPCD_And_AmazonRDSPPCD_And_AmazonRDS
PPCD_And_AmazonRDS
Vibhor Kumar
 
Riverbed Granite
Riverbed GraniteRiverbed Granite
Riverbed Granite
CTI Group
 

Similar to Global Data Replication with Galera for Ansell Guardian® (20)

Top 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres DeploymentTop 10 Tips for an Effective Postgres Deployment
Top 10 Tips for an Effective Postgres Deployment
 
Rohit_Panot
Rohit_PanotRohit_Panot
Rohit_Panot
 
Hadoop and the Data Warehouse: Point/Counter Point
Hadoop and the Data Warehouse: Point/Counter PointHadoop and the Data Warehouse: Point/Counter Point
Hadoop and the Data Warehouse: Point/Counter Point
 
PPCD_And_AmazonRDS
PPCD_And_AmazonRDSPPCD_And_AmazonRDS
PPCD_And_AmazonRDS
 
1 architecture & design
1   architecture & design1   architecture & design
1 architecture & design
 
Which Flash is Best for MS-SQL?
Which Flash is Best for MS-SQL?Which Flash is Best for MS-SQL?
Which Flash is Best for MS-SQL?
 
Gamma Soft and NuoDB Speed Up Data Consolidation And Cloud Migration
Gamma Soft and NuoDB Speed Up Data Consolidation And Cloud MigrationGamma Soft and NuoDB Speed Up Data Consolidation And Cloud Migration
Gamma Soft and NuoDB Speed Up Data Consolidation And Cloud Migration
 
In-Memory Computing - The Big Picture
In-Memory Computing - The Big PictureIn-Memory Computing - The Big Picture
In-Memory Computing - The Big Picture
 
Databarracks & SolidFire - How to run tier 1 applications in the cloud
Databarracks & SolidFire - How to run tier 1 applications in the cloud Databarracks & SolidFire - How to run tier 1 applications in the cloud
Databarracks & SolidFire - How to run tier 1 applications in the cloud
 
Horses for Courses: Database Roundtable
Horses for Courses: Database RoundtableHorses for Courses: Database Roundtable
Horses for Courses: Database Roundtable
 
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
 
Hadoop and Voldemort @ LinkedIn
Hadoop and Voldemort @ LinkedInHadoop and Voldemort @ LinkedIn
Hadoop and Voldemort @ LinkedIn
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
 
12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL
 
Saroj_Mahanta
Saroj_MahantaSaroj_Mahanta
Saroj_Mahanta
 
SQL Saturday San Diego
SQL Saturday San DiegoSQL Saturday San Diego
SQL Saturday San Diego
 
Migrating from Oracle to Postgres
Migrating from Oracle to PostgresMigrating from Oracle to Postgres
Migrating from Oracle to Postgres
 
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed ServiceCloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
 
ChaitanyaPrati
ChaitanyaPratiChaitanyaPrati
ChaitanyaPrati
 
Riverbed Granite
Riverbed GraniteRiverbed Granite
Riverbed Granite
 

More from MariaDB plc

More from MariaDB plc (20)

MariaDB Paris Workshop 2023 - MaxScale 23.02.x
MariaDB Paris Workshop 2023 - MaxScale 23.02.xMariaDB Paris Workshop 2023 - MaxScale 23.02.x
MariaDB Paris Workshop 2023 - MaxScale 23.02.x
 
MariaDB Paris Workshop 2023 - Newpharma
MariaDB Paris Workshop 2023 - NewpharmaMariaDB Paris Workshop 2023 - Newpharma
MariaDB Paris Workshop 2023 - Newpharma
 
MariaDB Paris Workshop 2023 - Cloud
MariaDB Paris Workshop 2023 - CloudMariaDB Paris Workshop 2023 - Cloud
MariaDB Paris Workshop 2023 - Cloud
 
MariaDB Paris Workshop 2023 - MariaDB Enterprise
MariaDB Paris Workshop 2023 - MariaDB EnterpriseMariaDB Paris Workshop 2023 - MariaDB Enterprise
MariaDB Paris Workshop 2023 - MariaDB Enterprise
 
MariaDB Paris Workshop 2023 - Performance Optimization
MariaDB Paris Workshop 2023 - Performance OptimizationMariaDB Paris Workshop 2023 - Performance Optimization
MariaDB Paris Workshop 2023 - Performance Optimization
 
MariaDB Paris Workshop 2023 - MaxScale
MariaDB Paris Workshop 2023 - MaxScale MariaDB Paris Workshop 2023 - MaxScale
MariaDB Paris Workshop 2023 - MaxScale
 
MariaDB Paris Workshop 2023 - novadys presentation
MariaDB Paris Workshop 2023 - novadys presentationMariaDB Paris Workshop 2023 - novadys presentation
MariaDB Paris Workshop 2023 - novadys presentation
 
MariaDB Paris Workshop 2023 - DARVA presentation
MariaDB Paris Workshop 2023 - DARVA presentationMariaDB Paris Workshop 2023 - DARVA presentation
MariaDB Paris Workshop 2023 - DARVA presentation
 
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
 
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-BackupMariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
 
Einführung : MariaDB Tech und Business Update Hamburg 2023
Einführung : MariaDB Tech und Business Update Hamburg 2023Einführung : MariaDB Tech und Business Update Hamburg 2023
Einführung : MariaDB Tech und Business Update Hamburg 2023
 
Hochverfügbarkeitslösungen mit MariaDB
Hochverfügbarkeitslösungen mit MariaDBHochverfügbarkeitslösungen mit MariaDB
Hochverfügbarkeitslösungen mit MariaDB
 
Die Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise ServerDie Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise Server
 
Introducing workload analysis
Introducing workload analysisIntroducing workload analysis
Introducing workload analysis
 
Under the hood: SkySQL monitoring
Under the hood: SkySQL monitoringUnder the hood: SkySQL monitoring
Under the hood: SkySQL monitoring
 
Introducing the R2DBC async Java connector
Introducing the R2DBC async Java connectorIntroducing the R2DBC async Java connector
Introducing the R2DBC async Java connector
 
MariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introductionMariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introduction
 
The architecture of SkySQL
The architecture of SkySQLThe architecture of SkySQL
The architecture of SkySQL
 
What to expect from MariaDB Platform X5, part 2
What to expect from MariaDB Platform X5, part 2What to expect from MariaDB Platform X5, part 2
What to expect from MariaDB Platform X5, part 2
 
Introducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQLIntroducing the ultimate MariaDB cloud, SkySQL
Introducing the ultimate MariaDB cloud, SkySQL
 

Recently uploaded

Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 

Recently uploaded (20)

Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
ELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptxELKO dropshipping via API with DroFx.pptx
ELKO dropshipping via API with DroFx.pptx
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 

Global Data Replication with Galera for Ansell Guardian®

  • 1. Louis Zircher & Greg Henderson February 27th 2018 Global Data Replication with Galera for Ansell Guardian®
  • 3. Ansell® Global Leader in Protection Solutions
  • 4. The Journey Hazard Assessments 1975 1995 2011 Application Assessment Hand Protection Loss Control Analysis International Expansion Sales Transformation US Patent Guardian Launch 1990 2002 Safety Net Launch EMEA 2005 2014 2015 2016 2017 Channel Partnership
  • 5. Our Solution – Ansell Guardian® Focus on Safety________________________________________________________ ______ An integrated approach to improve your business performance
  • 6. An Integrated Solution Ansell Guardian® partners with industrial and medical organisations to address the challenges in today’s PPE environment and deliver measurable safety and business improvements.
  • 7. MariaDB Saved Ansell Guardian® Introduced to MariaDB / Galera • Looking for better ways to move and synchronize data • Across 3 Data Centers • Heavy Data replication • Long Production Deployment Current Synchronization Process not viable • Our hub and spoke model pushed to limits of capability • Data not replicating • Pressure from Management to fix • Preplanning and evaluation of MariaDB by Ansell made for a smooth transition. Implementation • Only Delay was our Application • Easy Implementation • Major Benefits • Increased Performance • Days to Hours Deployment • User Experience
  • 8. Ansell Guardian® Today Channel Sales TeamAnsell Sales Team Digital /E-connector DIGITAL Continue helping our customers through Ansell sales force. To further differentiate Ansell through our unique safety and productivity platform. Expansion of Ansell Guardian coverage through channel partner sales teams. Further integration with channel partners and Ansell customers
  • 9. And now the technical journey… • Various global teams with different processes / tools ‑ Excel spreadsheets ‑ Custom Word document apps ‑ .NET desktop apps ‑ PocketPC apps • Lotus Notes was our global replication tool ‑ Good at replicating objects ‑ But tough to interact with outside Notes ‑ Was on the way out as our corporate messaging platform • Started working toward a global toolset 2005 to 2008 • Key challenges ‑ Global data synchronization ‑ Centralize “silo” development efforts
  • 10. First global Guardian application • Fat Java SWT client developed about 2010 ‑ Local DB instance per client ‑ Requirement to synchronize data between all clients • Adventures in data synchronization ‑ Aim to run sync through a central server-side DB instance ‑ Initial outsource prototype was a “home-grown” sync process o Only took 17hrs or so… LOL ‑ So internal development team steps in • Initial global data synchronization solution ‑ Found and installed a COTS DB replication tool ‑ Worked at logical SQL level, extensive manual configuration ‑ A bit painful to implement, but functional
  • 11. First global Guardian application Central DB Master Server Americas Americas Multiple DB Slave Clients JDBC Europe, Africa, East Asia Australia, Southeast Asia
  • 12. Java / web application hybrid • Additions to Java / DB client solution by 2013 ‑ Central Java application stack servers (JBoss / Tomcat) ‑ Local Java application server (Jetty) ‑ Embedded Chrome browser • The web was the future…
  • 13. Java / web application hybrid Central DB Master Server Americas Americas Europe, Africa, East Asia Australia, Southeast Asia Multiple DB Slave Clients JDBC HTTP HTTPHTTP
  • 14. Guardian Next • Full migration to web application by 2014 ‑ Three regional Java DB application server groups across the globe ‑ DB replication via COTS tool between the regions o Migrated previous central master DB server with numerous slave DB clients hierarchy to a master DB server with two slave DB servers • Large number of servers to administer globally ‑ Began developing automation scripts o Python Fabric API was easy… Ansible, Chef and such were a bit irritating ‑ Important! • Database continues to grow… ‑ Over next couple years DB replication performance continues to degrade
  • 15. Guardian Next Central DB Master (APAC) Americas
 Web Clients Europe, Africa, East Asia
 Web Clients Australia, Southeast Asia
 Web Clients DB Slave (EMEA)JDBC HTTP JDBC HTTP HTTP DB Slave (AM)
  • 16. MariaDB / Galera Cluster enters the arena • By 2016, legacy database replication support had become an ongoing issue ‑ FKs were not our friend ‑ Occasional issues could require a full re-synchronization sequence to resolve, minimally 8+ hrs by this point. Fun weekend work... o NOT! ‑ Time to find a new synchronization solution • Check out MariaDB / Galera Cluster ‑ Spent couple months of research, evaluation and testing ‑ Implemented Python Fabric scripting automation to speed up iterations of numerous operational test sequences • Worked out functional solution without direct MariaDB support ‑ MariaDB offered to help multiple times ‑ But via online docs and various forums, no need • Deployment planned in mid 2017
  • 17. Emergency! • Encountered brick wall DB replication issue early 2017 ‑ Regional DBs started to diverge... not good! ‑ Implemented Python scripts to manually sync important data between regional DB instances… this was not sustainable. • Pushed pending web app updates before deploying MariaDB / Galera ‑ Moving from master/slave configuration to synchronous master servers
  • 18. MariaDB / Galera to the rescue • Deployed MariaDB / Galera Cluster as drop-in replacement, included: ‑ Automated scripts for all major cluster ops startup/shutdown/rebuild/etc. ‑ Slave instances attached to cluster for read-intensive processes and backups ‑ Concurrent non-clustered local MariaDB on slave servers for transient data o Want to minimize ongoing server costs o Enhanced MariaDB /etc/init.d scripts to allow concurrent instances on different port ▪ Not really recommended... but has worked nicely up to this point • Cluster build decreased to ~6 hrs and worked reliably ‑ Later… decreased cluster build to <2 hrs by implementing xtrabackup / IST solution instead of built-in SST
  • 19. MariaDB / Galera to the rescue MariaDB / Galera Master (APAC) Americas
 Web Clients Europe, Africa, East Asia
 Web Clients Australia, Southeast Asia
 MariaDB / Galera
 Master (EMEA) Slave HTTP HTTPHTTP MariaDB / Galera Master (AM) Slave Synchronous Master to Master Replication AM / EMEA / APAC Slave AM
 Non-clustered Transient Data EMEA Transien t APAC Transien t
  • 20. Future • Implement MaxScale to further harden DB infrastructure • Investigate JSON support • What else is cool? ‑ I’m here to find out...
  • 21. Lessons learned • Due diligence...prepare early • Test, test, test... • Automate everything you can • A few decades of development experience doesn't hurt ‑ MariaDB support is there to help if needed ☺