# Kubernetes storage benchmarking

Published articles for Kubernetes storage benchmarking.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Optimizing Databases on Kubernetes: Kubernetes Backup and Recovery with CNPG and ZFS Snapshots

DevFeed: [Optimizing Databases on Kubernetes: Kubernetes Backup and Recovery with CNPG and ZFS Snapshots](<https://devfeed.tech/articles/optimizing-databases-on-kubernetes-kubernetes-backup-and-recovery-with-cnpg-and-zfs-snapshots-22280.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2025/01/optimizing-databases-on-kubernetes-ep5-kubernetes-backup-and-recovery-with-cnpg-and-zfs-snapshots.html>)

Published: 2024-12-30T00:00:00Z

Content type: article

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Featured-Backing Up](<https://devfeed.tech/topics/featured-backing-up.md>), [CloudNativePG](<https://devfeed.tech/topics/cloudnativepg.md>), [ZFS](<https://devfeed.tech/topics/zfs-file-system-features.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [transaction-log](<https://devfeed.tech/topics/transaction-log.md>)

Tags: [automated](<https://devfeed.tech/tags/automated.md>), [backup](<https://devfeed.tech/tags/backup.md>), [backup-and-recovery](<https://devfeed.tech/tags/backup-and-recovery.md>), [backups](<https://devfeed.tech/tags/backups.md>), [cloud-block-storage-benchmarking](<https://devfeed.tech/tags/cloud-block-storage-benchmarking.md>), [data](<https://devfeed.tech/tags/data.md>), [databases](<https://devfeed.tech/tags/databases.md>), [durability](<https://devfeed.tech/tags/durability.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [fast](<https://devfeed.tech/tags/fast.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-backup](<https://devfeed.tech/tags/kubernetes-backup.md>), [kubernetes-database-performance](<https://devfeed.tech/tags/kubernetes-database-performance.md>), [kubernetes-database-throughput](<https://devfeed.tech/tags/kubernetes-database-throughput.md>), [kubernetes-local-storage-pros-and-cons](<https://devfeed.tech/tags/kubernetes-local-storage-pros-and-cons.md>), [kubernetes-production-grade-storage](<https://devfeed.tech/tags/kubernetes-production-grade-storage.md>), [kubernetes-storage-benchmarking](<https://devfeed.tech/tags/kubernetes-storage-benchmarking.md>), [kubernetes-storage-efficiency](<https://devfeed.tech/tags/kubernetes-storage-efficiency.md>), [kubernetes-storage-trade-offs](<https://devfeed.tech/tags/kubernetes-storage-trade-offs.md>), [kubernetes-zfs-advantages](<https://devfeed.tech/tags/kubernetes-zfs-advantages.md>), [logs](<https://devfeed.tech/tags/logs.md>), [optimizing-postgresql-on-kubernetes](<https://devfeed.tech/tags/optimizing-postgresql-on-kubernetes.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pgbench-kubernetes-testing](<https://devfeed.tech/tags/pgbench-kubernetes-testing.md>), [point](<https://devfeed.tech/tags/point.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [production](<https://devfeed.tech/tags/production.md>), [rancher-local-path-performance](<https://devfeed.tech/tags/rancher-local-path-performance.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>), [storage](<https://devfeed.tech/tags/storage.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [zfs](<https://devfeed.tech/tags/zfs.md>), [zfs-compression-benefits](<https://devfeed.tech/tags/zfs-compression-benefits.md>), [zfs-lz4-compression](<https://devfeed.tech/tags/zfs-lz4-compression.md>), [zfs-vs-cloud-storage](<https://devfeed.tech/tags/zfs-vs-cloud-storage.md>)

### AI overview

The excerpt describes a PostgreSQL backup and recovery approach using CNPG and ZFS: automate backups and ship WAL to S3-compatible object storage, with barman cloud cited for managing replication logs, to support point-in-time recovery. ZFS copy-on-write snapshots are presented as a way to clone databases quickly with low storage overhead, aided by compression. The episode also flags balancing performance and storage needs, and notes possible configuration and durability challenges; it does not provide the actual YAML configuration details in the supplied text.

### Source excerpt

Introduction: In the final episode of the Optimizing Databases on Kubernetes series, Jérôme Petazzoni dives into advanced backup and recovery techniques for PostgreSQL, showcasing how CNPG (Cloud Native PostgreSQL) and ZFS snapshots ensure durability and fast recovery in production environments. This episode focuses on safeguarding data with comprehensive backup strategies, point-in-time recovery, and rapid database cloning, while leveraging ZFS's efficiency for optimized storage performance. Comprehensive Backup Strategies: Exploring backups with CNPG, including write-ahead logs (WAL) and volume snapshots.

## Optimizing Databases on Kubernetes Ep.4: Kubernetes Storage: Benchmarking ZFS, Cloud Disks, and Local Paths

DevFeed: [Optimizing Databases on Kubernetes Ep.4: Kubernetes Storage: Benchmarking ZFS, Cloud Disks, and Local Paths](<https://devfeed.tech/articles/optimizing-databases-on-kubernetes-ep-4-kubernetes-storage-benchmarking-zfs-cloud-disks-and-local-paths-22276.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep4-kubernetes-storage-benchmarking-zfs-cloud-disks-and-local-paths.html>)

Published: 2024-12-23T00:00:00Z

Content type: comparison

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [ZFS](<https://devfeed.tech/topics/zfs-file-system-features.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [cloud block storage benchmarking](<https://devfeed.tech/topics/cloud-block-storage-benchmarking.md>), [Rancher Local Path Provisioner](<https://devfeed.tech/topics/rancher-local-path-persistent-volumes.md>), [CloudNativePG](<https://devfeed.tech/topics/cloudnativepg.md>)

Tags: [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [cloud-block-storage-benchmarking](<https://devfeed.tech/tags/cloud-block-storage-benchmarking.md>), [compression](<https://devfeed.tech/tags/compression.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [databases](<https://devfeed.tech/tags/databases.md>), [deduplication](<https://devfeed.tech/tags/deduplication.md>), [durability](<https://devfeed.tech/tags/durability.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-database-performance](<https://devfeed.tech/tags/kubernetes-database-performance.md>), [kubernetes-database-throughput](<https://devfeed.tech/tags/kubernetes-database-throughput.md>), [kubernetes-local-storage-pros-and-cons](<https://devfeed.tech/tags/kubernetes-local-storage-pros-and-cons.md>), [kubernetes-production-grade-storage](<https://devfeed.tech/tags/kubernetes-production-grade-storage.md>), [kubernetes-storage-benchmarking](<https://devfeed.tech/tags/kubernetes-storage-benchmarking.md>), [kubernetes-storage-efficiency](<https://devfeed.tech/tags/kubernetes-storage-efficiency.md>), [kubernetes-storage-trade-offs](<https://devfeed.tech/tags/kubernetes-storage-trade-offs.md>), [kubernetes-zfs-advantages](<https://devfeed.tech/tags/kubernetes-zfs-advantages.md>), [lz4](<https://devfeed.tech/tags/lz4.md>), [methodology](<https://devfeed.tech/tags/methodology.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [optimizing-postgresql-on-kubernetes](<https://devfeed.tech/tags/optimizing-postgresql-on-kubernetes.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pgbench-kubernetes-testing](<https://devfeed.tech/tags/pgbench-kubernetes-testing.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [production](<https://devfeed.tech/tags/production.md>), [rancher](<https://devfeed.tech/tags/rancher.md>), [rancher-local-path-performance](<https://devfeed.tech/tags/rancher-local-path-performance.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [storage](<https://devfeed.tech/tags/storage.md>), [zfs](<https://devfeed.tech/tags/zfs.md>), [zfs-compression-benefits](<https://devfeed.tech/tags/zfs-compression-benefits.md>), [zfs-lz4-compression](<https://devfeed.tech/tags/zfs-lz4-compression.md>), [zfs-vs-cloud-storage](<https://devfeed.tech/tags/zfs-vs-cloud-storage.md>)

### AI overview

Jérôme Petazzoni benchmarks Kubernetes storage for CloudNativePG clusters using pgbench. In the excerpt, cloud block storage serves as the baseline at about 1,400 transactions per second; it is described as durable but slower. ZFS with LZ4 compression reaches about 3,400 transactions per second while reducing actual disk use by nearly 80%, presented as a balance of speed and storage efficiency. Local storage is described as fast but lacking production-grade safeguards. The episode recommends benchmarking and tuning configurations for the workload; the excerpt provides no specific results for Local Path or detailed durability and scalability comparisons.

### Source excerpt

Introduction: In Episode 4 of the Optimizing Databases on Kubernetes series, Jérôme Petazzoni benchmarks the performance of various Kubernetes storage classes, including cloud block storage, ZFS, and Rancher's Local Path provisioner. This episode dives into the practical aspects of measuring transactions per second, storage efficiency, and durability, offering insights into selecting the right storage solution for database workloads. Through detailed performance comparisons, Jérôme highlights how features like ZFS compression can optimize resource usage and boost database throughput.