© 2018 GridGain Systems, Inc.
Building Consistent and Highly Available
Distributed Systems
with Apache Ignite and GridGain
Akmal Chaudhri
Technology Evangelist
GridGain
© 2018 GridGain Systems, Inc.
• What is Ignite/GridGain?
• Ignite/GridGain and CAP Theorem
• High Availability in Ignite/GridGain
• Cache Backups
• Persistence
• Data Center Replication
• Data Snapshots (+Demo)
• Q&A
Agenda
© 2018 GridGain Systems, Inc.
the in-memory computing platform
that is durable, strongly consistent and highly available
with powerful SQL, key-value and processing APIs
© 2018 GridGain Systems, Inc.
GridGain In-Memory Computing Platform
Security&Auditing
Monitoring&Management
DataSnapshots&Recovery
Memory-Centric Storage
Ignite Native Persistence
(Flash, SSD, Intel 3D XPoint)
Third-Party Persistence
(RDBMS, HDFS, NoSQL)
SQL Transactions Compute Services MLStreamingKey/Value
IoTFinancial
Services
Pharma &
Healthcare
E-CommerceTravel &
Logistics
Telco
DataCenterReplication
© 2018 GridGain Systems, Inc.
Data Grid
JCache Transactions Compute SQL
RDBMS
NoSQL
HDFS
Server Node
Distributed Key-Value Store
Dynamic
Scaling
Distributed
partitioned
hash map
ACID TransactionJCache & SQL
Server Node Server Node
3rd party storage caching
DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY
© 2018 GridGain Systems, Inc.
Distributed SQL
JDBC ODBC SQL API
Java .NET C++ BI
SELECT, UPDATE,
INSERT, MERGE,
DELETE, CREATE
and ALTER
DDL, DML Support
Cross-platform
Compatibility
Indexes in
RAM or Disk
Dynamic
Scaling
Server Node Server NodeServer Node
Apache Ignite Cluster
DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY
Tools
© 2018 GridGain Systems, Inc.
GridGain and CAP Theorem
• CAP
• Consistency (C)
• Availability (A)
• Partition Tolerance (P)
• Impossible: CAP
• Most of distributed systems are CP or AP
• GridGain
• Strongly CP
• But still highly available?
© 2018 GridGain Systems, Inc.
Cache Backups
Ignite Node
A
C
D
B
Ignite Node
B
A
C
D
Ignite Node
C
D
B
A
Ignite Node
D
B
A
C
© 2018 GridGain Systems, Inc.
Rack Safety: Problem
Ignite Node
Switch
Ignite Node
Ignite Node
Switch
Ignite Node
A C
B A
C D
D B
Partition A is lost!
Client
© 2018 GridGain Systems, Inc.
Rack Safety: Solution
• Assign attribute to each node:
• Implement affinity backup filter:
© 2018 GridGain Systems, Inc.
Rack Safety: Solved!
Ignite Node
Switch
Ignite Node
Ignite Node
Switch
Ignite Node
A D
B C
C A
D B
No partitions lost
Client
© 2018 GridGain Systems, Inc.
Persistence
Ignite NodeIgnite NodeIgnite Node
Ignite Cluster
RDBMS
NoSQL
HDFS
© 2018 GridGain Systems, Inc.
Durable Memory
Off-heap Removes
noticeable GC pauses
Automatic
Defragmentation
Stores Superset
of Data
Predictable memory
consumption
Fully Transactional
(Write-Ahead Log)
DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY
Server Node Server Node Server Node
Ignite Cluster
Instantaneous
Restarts
© 2018 GridGain Systems, Inc.
Ignite Native Persistence
1. Update
RAM
2. Persist
Write-Ahead Log
Partition File 1
3. Ack
4. Checkpointing
Partition File N
Server Node
© 2018 GridGain Systems, Inc.
GridGain Data Center Replication
Active-Passive
Replication for
Disaster Recovery Split-Brain
Resolution
Active-Active
Bi-Directional
Replication
DC1 DC2
DC3
DC5
DC4
© 2018 GridGain Systems, Inc.
Data Snapshots & Recovery
External
Store
Backup
Restore
Full & Incremental Backups
Managed Backup Schedules
GridGain Cluster
DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY
Server Node Server Node Server Node
Data & Indexes
© 2018 GridGain Systems, Inc.
Any Questions?
Thank you for joining us. Follow the conversation.
http://ignite.apache.org
@apacheignite
@akmalchaudhri

More Related Content

PDF
Comparing Apache Ignite and Cassandra for Hybrid Transactional/Analytical Pro...
PDF
Fast Cars, Big Data - How Streaming Can Help Formula 1 - Tugdual Grall - Code...
PDF
Elastic @ Adobe: Making Search Smarter with Machine Learning at Scale
PPTX
Aeris + Cassandra: An IOT Solution Helping Automakers Make the Connected Car ...
PPTX
Refactoring your EDW with Mobile Analytics Products
PDF
Getting Started with Apache Ignite as a Distributed Database
PPTX
IIoT_ML_Architechure_AWS
PDF
Apache Kylin and Use Cases - 2018 Big Data Spain
Comparing Apache Ignite and Cassandra for Hybrid Transactional/Analytical Pro...
Fast Cars, Big Data - How Streaming Can Help Formula 1 - Tugdual Grall - Code...
Elastic @ Adobe: Making Search Smarter with Machine Learning at Scale
Aeris + Cassandra: An IOT Solution Helping Automakers Make the Connected Car ...
Refactoring your EDW with Mobile Analytics Products
Getting Started with Apache Ignite as a Distributed Database
IIoT_ML_Architechure_AWS
Apache Kylin and Use Cases - 2018 Big Data Spain

What's hot (12)

PDF
Better Together: How Graph database enables easy data integration with Spark ...
PDF
Build and Run Streaming Applications with Apache Flink and Amazon Kinesis Dat...
PPTX
Dataworks | 2018-06-20 | Gimel data platform
PPTX
Digitalising the Core – How Analytics is Shaping the Energy Industry Daniel J...
PDF
Successful AI/ML Projects with End-to-End Cloud Data Engineering
PPTX
Scylla Summit 2018: Scylla and KairosDB in Smart Vehicle Diagnostics
PPTX
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...
PPTX
Ai meetup 3_25_2018_penguin
PDF
Siscale Lightning Talk: Automated Root Cause Analysis with Elastic Stack
PDF
#GeodeSummit - Modern manufacturing powered by Spring XD and Geode
PDF
Graph Gurus 24: How to Build Innovative Applications with TigerGraph Cloud
PPTX
PayPal Notebooks at Jupytercon 2018
Better Together: How Graph database enables easy data integration with Spark ...
Build and Run Streaming Applications with Apache Flink and Amazon Kinesis Dat...
Dataworks | 2018-06-20 | Gimel data platform
Digitalising the Core – How Analytics is Shaping the Energy Industry Daniel J...
Successful AI/ML Projects with End-to-End Cloud Data Engineering
Scylla Summit 2018: Scylla and KairosDB in Smart Vehicle Diagnostics
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...
Ai meetup 3_25_2018_penguin
Siscale Lightning Talk: Automated Root Cause Analysis with Elastic Stack
#GeodeSummit - Modern manufacturing powered by Spring XD and Geode
Graph Gurus 24: How to Build Innovative Applications with TigerGraph Cloud
PayPal Notebooks at Jupytercon 2018
Ad

Similar to “Building consistent and highly available distributed systems with Apache Ignite and GridGain.” (19)

PDF
OSDC 2018 | Apache Ignite - the in-memory hammer for your data science toolki...
PPTX
Deploying Distributed Databases and In-Memory Computing Platforms with Kubern...
PDF
Machine learning and deep learning with Apache Ignite
PDF
OSDC 2017 - Christos Erotocritou - Apache ignite in-memory data fabric
PPTX
An Introduction to Apache Ignite - Mandhir Gidda - Codemotion Rome 2017
PDF
Data Summer Conf 2018, “Apache Ignite + Apache Spark RDDs and DataFrames inte...
PDF
Improving Apache Spark™ In-Memory Computing with Apache Ignite™
PPTX
Get Savvy with Snowflake
PPTX
How we broke Apache Ignite by adding persistence
PDF
How we broke Apache Ignite by adding persistence, by Stephen Darlington (Grid...
PDF
In memory computing principles by Mac Moore of GridGain
PPTX
Apache MXNet and Gluon
PPTX
On Cloud Nine: How to be happy migrating your in-memory computing platform to...
PPTX
Accelerated Any-Scale Solutions from DDN
PPTX
Gimel at Dataworks Summit San Jose 2018
PDF
IMCSummit 2015 - Day 1 - General Session - From Big Data to Fast Data
PDF
RedisConf18 - Auto-Scaling Redis Caches - Observability, Efficiency & Perform...
PPTX
Comparing three data ingestion approaches where Apache Kafka integrates with ...
PDF
Sydney: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cloud
OSDC 2018 | Apache Ignite - the in-memory hammer for your data science toolki...
Deploying Distributed Databases and In-Memory Computing Platforms with Kubern...
Machine learning and deep learning with Apache Ignite
OSDC 2017 - Christos Erotocritou - Apache ignite in-memory data fabric
An Introduction to Apache Ignite - Mandhir Gidda - Codemotion Rome 2017
Data Summer Conf 2018, “Apache Ignite + Apache Spark RDDs and DataFrames inte...
Improving Apache Spark™ In-Memory Computing with Apache Ignite™
Get Savvy with Snowflake
How we broke Apache Ignite by adding persistence
How we broke Apache Ignite by adding persistence, by Stephen Darlington (Grid...
In memory computing principles by Mac Moore of GridGain
Apache MXNet and Gluon
On Cloud Nine: How to be happy migrating your in-memory computing platform to...
Accelerated Any-Scale Solutions from DDN
Gimel at Dataworks Summit San Jose 2018
IMCSummit 2015 - Day 1 - General Session - From Big Data to Fast Data
RedisConf18 - Auto-Scaling Redis Caches - Observability, Efficiency & Perform...
Comparing three data ingestion approaches where Apache Kafka integrates with ...
Sydney: Certus Data 2.0 Vault Meetup with Snowflake - Data Vault In The Cloud
Ad

More from Tom Diederich (9)

PDF
Tom Diederich portfolio presentation (updated Nov. 18, 2016)
PDF
How to build & grow online communities: with Tom Diederich
PDF
Troubleshooting Apache® Ignite™
PDF
How to build a production-ready in-memory-based application in 1 hour
PPTX
Ingesting streaming data for analysis in apache ignite (stream sets theme)
PDF
IT Modernization in Practice
PDF
In-Memory Key Value Store (KVS) in FPGA for Ultra Low Latency and High Throug...
PPTX
Heimdall Data: "Increase Application Performance with SQL Auto-Caching; No Co...
PPTX
Quick MySQL performance check
Tom Diederich portfolio presentation (updated Nov. 18, 2016)
How to build & grow online communities: with Tom Diederich
Troubleshooting Apache® Ignite™
How to build a production-ready in-memory-based application in 1 hour
Ingesting streaming data for analysis in apache ignite (stream sets theme)
IT Modernization in Practice
In-Memory Key Value Store (KVS) in FPGA for Ultra Low Latency and High Throug...
Heimdall Data: "Increase Application Performance with SQL Auto-Caching; No Co...
Quick MySQL performance check

Recently uploaded (20)

PDF
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
PDF
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
PPTX
Viber For Windows 25.7.1 Crack + Serial Keygen
PPTX
Human-Computer Interaction for Lecture 2
PDF
AI-Powered Fuzz Testing: The Future of QA
PPTX
WJQSJXNAZJVCVSAXJHBZKSJXKJKXJSBHJBJEHHJB
PDF
CapCut PRO for PC Crack New Download (Fully Activated 2025)
PDF
What Makes a Great Data Visualization Consulting Service.pdf
PDF
Website Design & Development_ Professional Web Design Services.pdf
PPTX
Why 2025 Is the Best Year to Hire Software Developers in India
PPTX
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
PPTX
Lecture 5 Software Requirement Engineering
PPTX
Chapter_05_System Modeling for software engineering
PPTX
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
PDF
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
PPTX
Foundations of Marketo Engage: Nurturing
PPTX
Streamlining Project Management in the AV Industry with D-Tools for Zoho CRM ...
PPTX
HackYourBrain__UtrechtJUG__11092025.pptx
PDF
Internet Download Manager IDM Crack powerful download accelerator New Version...
PDF
Sanket Mhaiskar Resume - Senior Software Engineer (Backend, AI)
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
Viber For Windows 25.7.1 Crack + Serial Keygen
Human-Computer Interaction for Lecture 2
AI-Powered Fuzz Testing: The Future of QA
WJQSJXNAZJVCVSAXJHBZKSJXKJKXJSBHJBJEHHJB
CapCut PRO for PC Crack New Download (Fully Activated 2025)
What Makes a Great Data Visualization Consulting Service.pdf
Website Design & Development_ Professional Web Design Services.pdf
Why 2025 Is the Best Year to Hire Software Developers in India
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
Lecture 5 Software Requirement Engineering
Chapter_05_System Modeling for software engineering
Plex Media Server 1.28.2.6151 With Crac5 2022 Free .
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
Foundations of Marketo Engage: Nurturing
Streamlining Project Management in the AV Industry with D-Tools for Zoho CRM ...
HackYourBrain__UtrechtJUG__11092025.pptx
Internet Download Manager IDM Crack powerful download accelerator New Version...
Sanket Mhaiskar Resume - Senior Software Engineer (Backend, AI)

“Building consistent and highly available distributed systems with Apache Ignite and GridGain.”

  • 1. © 2018 GridGain Systems, Inc. Building Consistent and Highly Available Distributed Systems with Apache Ignite and GridGain Akmal Chaudhri Technology Evangelist GridGain
  • 2. © 2018 GridGain Systems, Inc. • What is Ignite/GridGain? • Ignite/GridGain and CAP Theorem • High Availability in Ignite/GridGain • Cache Backups • Persistence • Data Center Replication • Data Snapshots (+Demo) • Q&A Agenda
  • 3. © 2018 GridGain Systems, Inc. the in-memory computing platform that is durable, strongly consistent and highly available with powerful SQL, key-value and processing APIs
  • 4. © 2018 GridGain Systems, Inc. GridGain In-Memory Computing Platform Security&Auditing Monitoring&Management DataSnapshots&Recovery Memory-Centric Storage Ignite Native Persistence (Flash, SSD, Intel 3D XPoint) Third-Party Persistence (RDBMS, HDFS, NoSQL) SQL Transactions Compute Services MLStreamingKey/Value IoTFinancial Services Pharma & Healthcare E-CommerceTravel & Logistics Telco DataCenterReplication
  • 5. © 2018 GridGain Systems, Inc. Data Grid JCache Transactions Compute SQL RDBMS NoSQL HDFS Server Node Distributed Key-Value Store Dynamic Scaling Distributed partitioned hash map ACID TransactionJCache & SQL Server Node Server Node 3rd party storage caching DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY
  • 6. © 2018 GridGain Systems, Inc. Distributed SQL JDBC ODBC SQL API Java .NET C++ BI SELECT, UPDATE, INSERT, MERGE, DELETE, CREATE and ALTER DDL, DML Support Cross-platform Compatibility Indexes in RAM or Disk Dynamic Scaling Server Node Server NodeServer Node Apache Ignite Cluster DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY Tools
  • 7. © 2018 GridGain Systems, Inc. GridGain and CAP Theorem • CAP • Consistency (C) • Availability (A) • Partition Tolerance (P) • Impossible: CAP • Most of distributed systems are CP or AP • GridGain • Strongly CP • But still highly available?
  • 8. © 2018 GridGain Systems, Inc. Cache Backups Ignite Node A C D B Ignite Node B A C D Ignite Node C D B A Ignite Node D B A C
  • 9. © 2018 GridGain Systems, Inc. Rack Safety: Problem Ignite Node Switch Ignite Node Ignite Node Switch Ignite Node A C B A C D D B Partition A is lost! Client
  • 10. © 2018 GridGain Systems, Inc. Rack Safety: Solution • Assign attribute to each node: • Implement affinity backup filter:
  • 11. © 2018 GridGain Systems, Inc. Rack Safety: Solved! Ignite Node Switch Ignite Node Ignite Node Switch Ignite Node A D B C C A D B No partitions lost Client
  • 12. © 2018 GridGain Systems, Inc. Persistence Ignite NodeIgnite NodeIgnite Node Ignite Cluster RDBMS NoSQL HDFS
  • 13. © 2018 GridGain Systems, Inc. Durable Memory Off-heap Removes noticeable GC pauses Automatic Defragmentation Stores Superset of Data Predictable memory consumption Fully Transactional (Write-Ahead Log) DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY Server Node Server Node Server Node Ignite Cluster Instantaneous Restarts
  • 14. © 2018 GridGain Systems, Inc. Ignite Native Persistence 1. Update RAM 2. Persist Write-Ahead Log Partition File 1 3. Ack 4. Checkpointing Partition File N Server Node
  • 15. © 2018 GridGain Systems, Inc. GridGain Data Center Replication Active-Passive Replication for Disaster Recovery Split-Brain Resolution Active-Active Bi-Directional Replication DC1 DC2 DC3 DC5 DC4
  • 16. © 2018 GridGain Systems, Inc. Data Snapshots & Recovery External Store Backup Restore Full & Incremental Backups Managed Backup Schedules GridGain Cluster DURABLE MEMORY DURABLE MEMORY DURABLE MEMORY Server Node Server Node Server Node Data & Indexes
  • 17. © 2018 GridGain Systems, Inc. Any Questions? Thank you for joining us. Follow the conversation. http://ignite.apache.org @apacheignite @akmalchaudhri