Introduction to Cassandra: The NoSQL Database for Scalable Applications

Explore Cassandra, the distributed NoSQL database designed for high availability and scalability.

June 29, 2024 · 4 min · 703 words · Bá Tới

What is BASE Principle?

The BASE principle is a set of design principles that help developers create more scalable and available distributed systems. In this article, we will explore the concept of the BASE principle, its origins, and its applications in distributed systems.

June 3, 2024 · 3 min · 541 words · Bá Tới

Interact with data in Redis

In this article, we will explore the key features of Redis, a popular in-memory data store. We will discuss how Redis stores data, the different data structures it supports, and how you can interact with data in Redis using commands and client libraries.

May 12, 2024 · 5 min · 856 words · Bá Tới

Exploring Sharding in PostgreSQL

Sharding is a database partitioning technique that involves splitting a large database into smaller, more manageable parts called shards. In this guide, we’ll introduce the concept of sharding, explore different sharding strategies, and provide step-by-step instructions for implementing vertical, horizontal, and hybrid sharding in PostgreSQL.

March 31, 2024 · 13 min · 2738 words · Bá Tới

Page caching - Combining Page Caching in Rails with Nginx Memory Caching

Rails page caching and nginx make a natural pair: nginx serves the HTML files Rails writes to public/ straight from disk, and its proxy cache (stored on disk, indexed in shared memory) holds every other public response. In this guide, we’ll configure both, with a safe cache key, session-cookie bypass, cache locking and stale serving.

August 7, 2021 · Updated October 29, 2026 · 6 min · 1116 words · Bá Tới