aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • Cloud-Native
  • Data

Top 11 Things You Didn’t Know About Cloud Native Statefulness

  • aster.cloud
  • September 15, 2022
  • 4 minute read
Scrabble showing database word
“Database” by christophe.benoit74 is licensed under CC BY 2.0.

 

1. You need more than ACID

An RDBMS’s atomicity, consistency, isolation, and durability are not what they seem to be.  Specifically, consistency and isolation have undergone a facelift in recent years.  Consistency (in the colloquial usage, see #4) is now tailored to the datasets and workloads of your specific use case, especially in the case of data intensive systems.


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

2. Consistency is not consistent

In the CAP theorem, Consistency means linearizability (the whole system acts as if there is one, and only one, copy of the data).  In ACID, consistency means the system’s data must always be in a ‘good state’.  That is to say the system has the ability to enforce correctness about its data through code.  This is, counterintuitively, a property of the application and not really the database (although the database can offer some enforcement guarantees such as foreign key or uniqueness constraints).  Applications have the power to put correct, or incorrect, data into the database.  The application relies on the database’s ability to provide atomicity and isolation to do this.  This is completely different from linearizability or even serializability, which is the gold standard for isolation.

3. The speed of your isolation model depends on your data model

Isolation is the property of a database that keeps concurrent transactions from running over each other.  Serializability is when the isolation is so strong that each transaction acts as if it is the only transaction running on the database.  There are many types of isolation, all of which fall into the weak and strong isolation categories.  For the most part there isn’t any free lunch.  The stronger the isolation (which is the property most people are actually thinking about when they think of ACID) the slower your transactions will be.  If your data model allows for a weaker isolation setting then you can take advantage of the latency reductions that come with weak isolation.

Read More  Decoding Disaster Recovery (DR) Scenarios In AWS

4. You need some level of availability

For cloud native systems, users are at the point where they do not accept planned maintenance windows.  Regardless of how many (or few) ‘9s’ you have, planned maintenance windows are a thing of the past.  This means you will need to deploy applications using something like phoenix deployment strategy with rolling updates on multiple nodes in order to avoid downtime.

5. Partition tolerance is not negotiable

A common misconception about the CAP theorem is that you can use a combination that doesn’t include the ‘P’ (e.g. CA).  This isn’t the case.  Essentially, for any non-trivial application, you’ll need some form of partition tolerance.

6. Some distributed data algorithms are coarse grained

You may have heard that the Paxos and Raft algorithms are the solution for highly available and consistent data.  This is true in a sense but this data is coarse grained and tailored to the problem of configuration data and leader election.  You’ll need another solution for the correctness of your other, more complex, workload data.

7. You can’t ignore the split brain problem

Many believe that somehow their data will just correct itself even when two or more nodes think they are the leader.  If you aren’t specifically choosing some kind of conflict resolution such as last write wins, you are essentially begging for corrupted data and unpredictable results.

8. You can’t ignore data structures when reviewing functional requirements

When determining functional requirements for a system, it’s imperative to review data requirements in tandem and ask specific questions about the handling of any non-trivial persistent data. Tradeoffs made between data correctness and latency will influence, and sometimes limit, the technologies that can be used to achieve system requirements.

Read More  How To Detect If Someone's Stealing Your WiFi

9. Data structures are difficult to track and match to a model

Some data models, such as ones that handle scheduling, aren’t categorized easily under their required isolation model.  This can be problematic when dealing with an ever changing code base.

10. Consensus won’t get you serializability

Just because you have a way to elect leaders (e.g. using Paxos) doesn’t mean that your data is correct.  You still need to solve the problem of cloud native availability (which requires replication) and some kind of isolation for the correctness.  Leaderless and multi-leader replication models do not lend themselves to strong isolation models.  Beware.

10. Multiput doesn’t mean serializability

Many databases have a multi-put option that will gladly insert or update your data in an non serializable way.  Just because your data is updated atomically doesn’t mean it is serializable.  Check your database vendor.

Conclusion

New players in the cloud native statefulness arena have unique challenges, especially if they have unique non-functional requirements. For example, the telco space has low latency requirements which would affect what isolation models (see #3) and data structures (see #9) are used to obtain their objectives.  Unfortunately, these decisions are often overlooked in the design phase and even harder to track during code updates.  In addition to being conscious of these challenges during the design phase, one solution is to implement a check for best practices in your CD pipeline (see https://github.com/cncf/cnf-testsuite/), as a warning for things that have gone awry.  Another is to check for stateful best practices through certifications.  For more information on cloud native certifications in the telco space, see https://www.cncf.io/certification/cnf/. For deeper discussion of these ideas and their application to cloud native network functions, see: https://vmblog.com/archive/2022/05/16/stateful-cnfs.aspx and/or register to attend Cloud Native Telco Day North America, a co-located event at KubeCon+CloudNativeCon in Detroit, MI on Monday, October 24, 2022.

Read More  Quantum Metric Explores Retail Big Data Use Cases On BigQuery

 

 

By W. Watson and Denver Wiliams
Source CNCF


For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

aster.cloud

Related Topics
  • ACID
  • Cloud Native Computing Foundation
  • CNCF
You May Also Like
Data center
View Post
  • Data
  • Public Cloud

Data Sovereignty in Spain. It’s Not Just About the Law, It’s About Efficiency

  • June 3, 2026
View Post
  • Data
  • Platforms
  • Technology

Scaling cloud and AI: Microsoft Azure’s commitment to Europe’s digital future

  • May 11, 2026
View Post
  • Data

Streamline read scalability with Cloud SQL autoscaling read pools

  • March 23, 2026
View Post
  • Data
  • Platforms
  • Public Cloud

PayPal’s historically large data migration is the foundation for its gen AI innovation

  • March 4, 2026
View Post
  • Data
  • Technology

3 obstacles to agentic AI adoption and how to overcome them

  • December 22, 2025
Getting things done makes her feel amazing
View Post
  • Computing
  • Data
  • Featured
  • Learning
  • Tech
  • Technology

Nurturing Minds in the Digital Revolution

  • April 25, 2025
View Post
  • Data
  • Engineering

Hiding in Plain Site: Attackers Sneaking Malware into Images on Websites

  • January 16, 2025
IBM and Ferrari Premium Partner
View Post
  • Data
  • Engineering

IBM Selected as Official Fan Engagement and Data Analytics Partner for Scuderia Ferrari HP

  • November 7, 2024

Stay Connected!
LATEST
  • 1
    Expectations vs. Reality: The AI We Thought We’d Have in 10 Years
    • June 19, 2026
  • digital-nomad-freelancer-worker-2151205464 2
    One paperwork problem – Get your Digital Nomad Visa employment documents fast from UK, EU or Singapore
    • June 16, 2026
  • 3
    Samsung Art Store Brings Art Basel to Homes Worldwide With New Curated Collection
    • June 15, 2026
  • 4
    You Do Not Need to Invest in the IPO of SpaceX, Anthropic, and OpenAI
    • June 10, 2026
  • 5
    The consequences of relying on AI for accurate news
    • June 10, 2026
  • 6
    Connecting AI agents with unstructured data using Google Cloud Storage MCP Servers
    • June 10, 2026
  • 7
    WWDC26: Apple unveils next generation of Apple Intelligence, Siri AI, powerful parental controls, and an expansive set of software improvements
    • June 8, 2026
  • 8
    IBM and Google Cloud Announce Strategic Partnership to Scale AI with Human Expertise and AI‑Powered Delivery
    • June 4, 2026
  • Data center 9
    Data Sovereignty in Spain. It’s Not Just About the Law, It’s About Efficiency
    • June 3, 2026
  • 10
    Ink vs Pixels. What you miss versus what you are actually missing.
    • June 1, 2026
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    Banks race to patch new cyber vulnerabilities, and other cybersecurity news
    • May 25, 2026
  • pope-leo-xiv-cq5dam-1500.844 2
    Pope Leo XIV to Publish First Encyclical on Artificial Intelligence and Human Dignity on 25 May
    • May 22, 2026
  • 3
    Portfolio to Clients, and is Strengthened by Ongoing Project Glasswing Work
    • May 20, 2026
  • reMarkable Paper Pure 4
    Everything The reMarkable Paper Pure Actually Does
    • May 14, 2026
  • 5
    Scaling cloud and AI: Microsoft Azure’s commitment to Europe’s digital future
    • May 11, 2026
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.