Cumulocity IoT Edge: Fault Tolerance and Data Resilience vs High Availability (HA)
Tags: iot, cumulocity, faulttolerance, highavailability
Published: 2023-07-03 07:53:17

---
title: Cumulocity IoT Edge: Fault Tolerance and Data Resilience vs High Availability (HA)
published: true
date: 2023-06-28 16:11:40 UTC
tags: iot, cumulocity, faulttolerance, highavailability
canonical_url: https://tech.forums.softwareag.com/t/cumulocity-iot-edge-fault-tolerance-and-data-resilience-vs-high-availability-ha/280454
---

## Introduction

In the realm of computing and information technology, ensuring the continuous and uninterrupted operation of critical systems is of utmost importance. Two concepts that play a pivotal role in achieving this objective are fault tolerance and data resilience, as well as high availability (HA). While both aim to minimize downtime and maintain system reliability, they differ in their approaches and priorities. In this article, we will explore the distinctions between fault tolerance and data resilience versus high availability, and how striking the right balance between them is crucial for building robust and dependable systems.

## Terms and definitions

**Fault tolerance** refers to a system’s ability to continue functioning, even in the presence of hardware or software failures. It involves designing systems with redundancy and built-in mechanisms to detect and recover from faults. The primary goal of fault tolerance is to ensure that failures or faults do not result in data loss.

**Data resilience** focuses on preserving data integrity and availability, particularly in the face of unexpected events or disasters. It involves implementing strategies and technologies to protect data from loss, corruption, or unauthorized access. Data resilience encompasses measures like data backups, replication, encryption, and disaster recovery planning. The primary objective is to ensure that critical data can be restored and accessed promptly, even in the event of a catastrophic failure

![tony-stark-dr](https://global.discourse-cdn.com/techcommunity/original/3X/a/b/ab3d40b27c60f79cb8630bb703cc78f16d4cb54c.gif)

**High availability (HA)** takes a slightly different approach. It emphasizes maximizing system uptime and minimizing downtime, with a strong focus on continuous service availability. HA systems are designed to provide seamless and uninterrupted access to services, even when individual components or subsystems fail. They typically employ redundancy, load balancing, and automatic failover mechanisms to ensure service continuity. The goal is to minimize service disruptions, maintain consistent performance, and meet the demands of users or customers who require constant access to the system.

![dr-stange-ha-g-small](https://global.discourse-cdn.com/techcommunity/original/3X/c/6/c6142142d67267ca1ed2d7b81eb7afa7a6cc33a0.gif)

## So how does [Cumulocity IoT Edge](https://cumulocity.com/guides/edge/introduction/) address those concepts?

Cumulocity IoT Edge is a single node distribution of Cumulocity IoT that includes majority Cumulocity IoT Platform features enabling organisations to process and analyse data closer to its source.  
While it does not strive to deliver high availability it ensures fault tolerance and data resilience.  
It is at most importance configuring [database backups](https://cumulocity.com/guides/edge/backup-and-restore/) (1) or even creating your own MongoDB database (2) (available with [Cumulocity IoT Edge offering on Kubernetes starting with version 10.17](https://github.com/SoftwareAG/edge-k8s-operator-docs/wiki))

[![Cumulocity IoT Edge PM db data resilience](https://global.discourse-cdn.com/techcommunity/optimized/3X/2/a/2a4136b414401ade5ada624e1ca8c0587be521ab_2_690x473.png)](https://global.discourse-cdn.com/techcommunity/original/3X/2/a/2a4136b414401ade5ada624e1ca8c0587be521ab.png "Cumulocity IoT Edge PM db data resilience")

Even though it is not the objecting of Cumulocity IoT Edge to achieve HA, there are options on scaling part of the solution independently from Edge server itself. For example, if your devices rely on some specific connectivity, it would be possible to scale just the connector part and keeping single node server.

If you are interested in investigation of the above mentioned in your use case, please pm or just drop me an email at [nick.ponomar@softwareag.com](mailto:nick.ponomar@softwareag.com)


[Read full topic](https://tech.forums.softwareag.com/t/cumulocity-iot-edge-fault-tolerance-and-data-resilience-vs-high-availability-ha/280454)