Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
  • SQL
  • Web Development
  • System Design
  • Aptitude
  • GfG Premium
Open In App
Next Article:
What is Persistent Storage?
Next article icon

What is Persistent Storage?

Last Updated : 18 Oct, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

Any data storage system that keeps data after its power is turned off is said to be using persistent storage. It's also known as nonvolatile storage at times. Persistent storage in the context of containerization refers to storage volumes that are accessible after a container has stopped running. These volumes are typically connected to stateful applications like databases. Ephemeral storage volumes, which are linked to stateless apps that live and die with containers, can be contrasted with persistent storage volumes.

What is Persistent Storage?

Persistent Storage is defined as a device that is used for storing the data. Persistent storage saves the data even if the power is turned off therefore they are also known as non-volatile material. Persistent storage systems are in the form of files, blocks and the object storage. Some typical type of persistent storage consists of optical media such as DVDs, and magnetic media such as hard disk drives and tapes. Persistent storage systems are used because it increases the performance of the system and enables a fundamental change in the overall computing architectures, therefore persistent storage is used in various applications such as database, storage, Big Data, cloud computing, IOT applications, virtualization and Artificial Intelligence applications.

Types of Persistent Storage

1. Kubernetes

Kubernetes is used by OpenShift which is a platform as a service offering used for logistic containerized application deployments across a cluster. Earlier the storage volumes needed to be registered manually and had to be pre-provisioned as PersistentVolume (PV). The objects of the storage class provide a feature that creates a storage volume for on-demand applications by enabling the specification of a provisioner.

2. Containers

OpenStack Swift is used for storing the data that is in the form of static data or binary objects such as massive data sets this images media files etc. OpenStack Swift is a distributed storage solution that makes use of bins for organizing this objects. Only the volumes contents can be accessed by the instances where as objects within a container can be accessed by the rest API of the object storage. Therefore any service can use object storage as a repository in public cloud or a private cloud.

Persistent Solid-State Storage

Solid state drives are the examples of permanent storage. Solid state drives differ from other types of Persistent media. The chips that are used for cache devices and RAM are types of solid state storage, these means that the information is deleted once the power is off. Some type of storage such as flashed based RAM and non volatile RAM are persistent in nature because once the primary source of energy is cut of they makes use of the battery power. The disadvantage of non persistent storage resources is loss of data and even offers less security as compared to persistent storage.

Persistent Storage and Containerization

In the past few years, containerization is being considered as a most common way for packaging of software, and converting operating systems into a transportable and isolated modules that can be generated as well as destroyed as much as they are possible. But permanent storage is not allowed by containerization. The data that is being generated by the containerized app disappears once the app completes its function. For retaining the data generated by container container applications new software and storage is being recently developed by some vendors. These advances in the storage containers solves the problems of retaining of more ephemeral storage volumes.

How Does Persistent Storage Work With Containers?

PVs are defined as the resources that have a independent lifecycle that makes use of PV. These are known as physical volume present on host machines that are used to store persistent data. The storage resources are provided in clusters by the PersistentVolumes. These volumes can be provisioned statistically or dynamically and can even be customized for use by defining their properties such as size, performance and the access modes.

PersistentVolumeClaim (PVC) are defined as the requests for resources that acts like a claim checks to the resources. It is a request platform used for creating the PersistentVolume and for attaching the PVs to pods through PVC.

Persistent Storage Architecture

Persistent storage architecture consists of three approaches. Each approach has a unique use cases as well as the imitations. Below are the three storage approaches of Persistent storage architecture:

1. Object Persistent Architecture

The object persistent architecture stores the data as object or a key value database. This approach makes use of object relational mapping (ORM). Object persistent architecture approach is used when data does not have any defined schema for it the object. Object relational mapping (ORM) then handles its overall storage and the retrieval of data.

2. Block Persistent Architecture

Block persistent architecture is used for storing large files blocks. Persistent architecture makes use of block level storage devices. Using block persistent architecture is beneficial when we need to store large amount of data. These approach makes use of multiple blocks that helps to increase the overall storage capacity

3. File store Persistent Architecture

File store persistent architecture makes use of a file system for storing the data. File store persistent architecture approach is mostly useful for the applications that requires frequent retrieval of files and when the user needs an interface for managing them.

Use Cases of Persistent Storage

  • Continuous integration and continuous delivery: In order to increase the programming consistency and for accelerating the code delivery and implementation the two software development techniques named as continuous integration and continuous distribution are used. In order to ensure the faster implementation of any new products updates or it's functionalities this two software development techniques are implemented together.
  • Migrating traditional applications into the cloud: The Lift-and-Shift approach that is switching to a transparent and extensible infrastructure in the cloud provides the pathways for IT modernisation. Businesses adopt this lift and change for the sound market purposes that consist of increased efficiency, lower cost and residence.
  • Data infrastructure management: IT environment is evolving and growing rapidly therefore automation of data infrastructures is requires agility in order to keep the pace. This versatility can be achieve through multi cloud, virtualization environment and DevOps.

Next Article
What is Persistent Storage?

A

anjalibo6rb0
Improve
Article Tags :
  • Cloud Computing
  • Computer Basics
  • Geeks Premier League 2023

Similar Reads

    What Is Storage as a Service (STaaS) ?
    Today, in this data-driven world, the need for efficient and flexible storage solutions has become most important. Storage as a Service (STaaS), a cloud-based model, is the most efficient way for businesses to manage their data. It provides the ability to rent store infrastructure from providers and
    5 min read
    What is AWS EC2 Instance Storage?
    EC2 Instance storage is the temporary block storage service offered by AWS. EC2 instance storage, in itself, is not a storage service but a part of the EC2 service. These storage devices physically lie on the same host that provides the EC2 instance and are useful for storing temporary data associat
    11 min read
    Storage Types in DBMS
    The records in databases are stored in file formats. Physically, the data is stored in electromagnetic format on a device. The electromagnetic devices used in database systems for data storage are classified as follows: Primary MemorySecondary MemoryTertiary Memory Types of Memory1. Primary MemoryTh
    7 min read
    Distributed Storage Systems
    In today's world where everything revolves around data, we need storage solutions that are fast and reliable and able to handle huge amounts of information. The old way of storing data in one place is no longer enough because there's just too much data created by all the apps and services we use dai
    11 min read
    Volatile Storage in DBMS
    Volatile memory in the context of Database Management Systems (DBMS) causes the stored data to be lost depending on whether there is a source of power or none. Just when the engine is put in a standby or shut-down situation, any data stored in volatile memory vanishes. The comparison is drawn with a
    10 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences