Efficient Key-Value Storage Using Hash Tables

A hash table maps keys to values using a computed index, enabling fast lookup, insertion, and deletion. Understanding arrays and linked lists is essential before working with hash tables. Core Mechanism An array serves as the underlying storage, where each slot—called a bucket—holds a key-value pair. A hash function processes the key, and the r ...

Posted on Mon, 21 Sep 2026 16:29:03 +0000 by simon551

Redis Data Types: Hash

Hash in Redis Storage Characteristics Hashes in Redi are used to store multiple unordered key-value pairs. They can store up to 232 - 1 entries (approximately 4 billion). It's important to note that Redis' outer key-value structure is already a hash table (called the "outer hash"). The hash we're discussing here is an inner hash struc ...

Posted on Sun, 30 Aug 2026 16:25:58 +0000 by thepip3r

Redis Fundamentals: Core Concepts and Operations

Redis Introduction NoSQL Concept Before understanding Redis, let's examine the NoSQL concept. Consider the following scenarios: High User Volume: During peak periods like Chinese New Year, systems face massive user traffic. High Concurrency: Applications like 12306 (ticket booking) and Taobao (e-commerce) experience overwhelming concurrent ...

Posted on Mon, 10 Aug 2026 16:22:59 +0000 by idevlin

Using Redis with Spring Boot in IntelliJ IDEA

Core Data Types in Redis 1. Strings Strings are the most basic data type — a key maps directly to a value. They can store text, numbers, or serialized objects. SET key value — Assign a value to a key. GET key — Retrieve the value associated with the key. SETEX key seconds value — Set a key with an expiration time in seconds. SETNX key value — ...

Posted on Sun, 21 Jun 2026 16:34:41 +0000 by jmicozzi