A-Z Popular Blog Encyclopedia Search »
Technology
 Advertisements
Related Guides

7 Examples of Atomicity

 , updated on
Atomicity is the guarantee that a series of operations either succeed or fail together. This is used to avoid partial updates that make no sense from a technical or business perspective. The following are common examples of atomicity.

Databases

Databases often have features that allow a series of operations to be committed at once as a single transaction.

Business Transactions

A business transaction might involve confirming a shipping address, charging the customer and creating an order. If one of these steps fails, all should fail.

File Systems

A file operation such as cut-and-paste whereby the source file isn't deleted unless it is successfully pasted.

Hardware

Hardware instructions such as test-and-set that involve multiple operations that may be implemented to succeed or fail together.

Long Lived Transactions

Transactions that require business logic to implement atomicity because they take too long to use transaction features of databases such as a two-phase commit. For example, a database update that needs to wait for a batch process to run before it can be finalized.

Business Processes

Business processes that involve multiple steps that need to fail or succeed together. For example, a customer account update that can't be finalized until a customer service agent speaks with the customer on the phone.

Procedures

Procedures and policies such as the requirement that passengers and their bags always fly on the same aircraft together.
Overview: Atomicity
Type
Definition
The guarantee that a series of operations either succeed or fail together.
Related Concepts

IT Skills

This is the complete list of articles we have written about it skills.
Algorithms
Analytics
Architecture
Artificial Intelligence
Automation
Big Data
Coding
CRM
Data
Data Mining
Databases
Design
Devops
ERP
Gamification
Information Security
IT Examples
Legacy Software
Office Productivity
Problem Management
Process Automation
Robotics
SCM
Search Applications
Service Delivery
Service Management
SFA
Software Design
Testing
If you enjoyed this page, please consider bookmarking Simplicable.
 

Transaction

A definition of transaction.

Transactional Data

A definition of transactional data with examples.

Transaction Processing

A definition of transaction processing.

Databases

A list of database terms.

Referential Integrity

An overview of referential integrity with an example.

Primary Key vs Candidate Key

The difference between primary key and candidate key including an example.

Operational Database

A definition of operational database with examples.

Database Skills

A list of common database skills.

Row vs Column

The difference between row and column explained with examples.
The most popular articles on Simplicable in the past day.

New Articles

Recent posts or updates on Simplicable.
Site Map