Managing Persistent Storage in Kubernetes - Part 2

In my previous post, I talked about how I used Longhorn as a persistent storage solution for stateful workloads in Kubernetes. Back then, it worked fine—but this time, I wanted to dig deeper. I’ve run benchmarks to compare Longhorn, Local Persistent Volumes (PV), and OpenEBS. Let’s dive into performance, complexity, and memory usage—especially in small clusters. Longhorn: Reliable but Heavy Longhorn works, but it’s not lightweight. In my 3-node cluster, it uses about 1....

June 6, 2025 · 3 min · 569 words · Me

Designing a Scalable CDN and Caching Strategy for Public Media

In my previous post, I explained how I selected an object storage provider for my application, along with the trade-offs. While that setup is working well, I encountered a common issue: public media files like profile images were still being streamed through my backend (Golang) — because Wasabi no longer supports public buckets. These public files are accessed frequently, especially small assets like avatars. If every request hits my backend (and subsequently Wasabi), it introduces latency and increases operational cost....

May 19, 2025 · 3 min · 427 words · Me

Managing Persistent Storage in Kubernetes

In a Kubernetes cluster, applications and services sometimes require persistent storage, especially when dealing with databases and stateful workloads. Managing this storage efficiently and reliably is crucial for data integrity and application performance. In this post, I’ll delve into the concepts of persistent storage in Kubernetes, explain Persistent Volumes (PV) and Persistent Volume Claims (PVC), discuss stateful versus stateless applications, and share how I implemented Longhorn to address storage challenges in my cluster....

November 24, 2024 · 6 min · 1234 words · Me

Astring- Storage

In my chat application, I need reliable object storage for handling media and file uploads. Beyond that, I also need storage for backups, logs, and other critical data. Choosing the right storage solution turned out to be one of the hardest decisions. Each option I explored had its strengths and weaknesses, and finding the right balance for both development and production was challenging. What is Object Storage? Object storage is a way of storing and managing data as discrete units called objects....

October 16, 2024 · 5 min · 1029 words · Me