Tagged articles
89 articles
Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 15, 2026 · Fundamentals

7 Core Data Structures That Power Modern Software

This article introduces seven fundamental data structures—arrays, queues, stacks, linked lists, trees, graphs, and hash tables—explaining their concepts, typical use cases, strengths, and limitations to help developers choose the right tool for efficient program design.

Data Structuresgraphshash table
0 likes · 6 min read
7 Core Data Structures That Power Modern Software
Top Architect
Top Architect
Nov 11, 2025 · Databases

Master MySQL Indexes: Types, Structures, and Performance Trade‑offs

This article explains MySQL index fundamentals, covering what indexes are, their advantages and drawbacks, underlying data structures such as hash tables and B‑/B+‑trees, and the classification of clustered, non‑clustered, primary, secondary, unique, prefix, and full‑text indexes, with practical SQL examples and diagrams.

B-TreeClustered IndexDatabase Index
0 likes · 9 min read
Master MySQL Indexes: Types, Structures, and Performance Trade‑offs
Architect's Guide
Architect's Guide
Nov 8, 2025 · Databases

Mastering MySQL Indexes: From Hash Tables to B+ Trees Explained

This article explains the fundamentals of database indexing, covering what indexes are, their advantages and drawbacks, underlying structures such as hash tables, B‑tree and B+‑tree, different index types (clustered, non‑clustered, primary, secondary) in MySQL, and practical examples with code snippets.

B+TreeClustered IndexDatabase Indexes
0 likes · 9 min read
Mastering MySQL Indexes: From Hash Tables to B+ Trees Explained
Code Wrench
Code Wrench
Sep 15, 2025 · Fundamentals

Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases

This article explores Go's map type in depth, covering its underlying hash table mechanics, key requirements, concurrency considerations, and a comprehensive set of practical techniques—including existence checks, JSON conversion, sorting, slicing, multi-dimensional maps, and real-world examples for analytics and log processing.

GoJSONMAP
0 likes · 10 min read
Master Go Maps: Deep Dive into Internals, Tricks, and Real-World Use Cases
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 15, 2025 · Fundamentals

Unveiling Swift’s Dictionary: Inside the Hash Table Mechanics

This article dives deep into Swift's Dictionary implementation, explaining its underlying hash‑table structure, memory layout, bucket calculation, probing strategies, copy‑on‑write semantics, performance optimizations, and conflict‑resolution techniques, all illustrated with real source code and debugging screenshots.

Copy-on-WriteData StructuresSwift
0 likes · 27 min read
Unveiling Swift’s Dictionary: Inside the Hash Table Mechanics
Sohu Tech Products
Sohu Tech Products
Aug 13, 2025 · Fundamentals

Unveiling Swift’s Dictionary: Inside the Hash Table and Memory Layout

This article dives deep into Swift's Dictionary implementation, explaining its underlying hash‑table structure, memory layout, variant storage, probing strategies, copy‑on‑write semantics, conflict resolution, load‑factor handling, and automatic resizing, all illustrated with real code and debugger screenshots.

Copy-on-WriteData StructuresSwift
0 likes · 26 min read
Unveiling Swift’s Dictionary: Inside the Hash Table and Memory Layout
Architect's Must-Have
Architect's Must-Have
Jul 2, 2025 · Databases

Understanding Database Indexes: Structures, Types, and Best Practices

This article explains the fundamentals of database indexes, covering their purpose, underlying data structures such as B‑Tree, B+‑Tree, and hash tables, the advantages and drawbacks, different index categories in MySQL, and practical SQL examples for primary, secondary, and unique indexes.

B-TreeDatabase Indexeshash table
0 likes · 9 min read
Understanding Database Indexes: Structures, Types, and Best Practices
dbaplus Community
dbaplus Community
Jun 8, 2025 · Databases

How NeighborHash Boosts Real‑Time Recommendation Queries with Low Latency

To meet the ultra‑low latency demands of modern recommendation systems, the authors designed a distributed batch‑query architecture featuring the NeighborHash optimization—a cache‑line‑aware hash table that reduces memory accesses, combined with NVMe‑backed storage and AMAC techniques, achieving high throughput and near‑optimal bandwidth utilization.

NVMebatch querydistributed storage
0 likes · 19 min read
How NeighborHash Boosts Real‑Time Recommendation Queries with Low Latency
JD Tech Talk
JD Tech Talk
May 19, 2025 · Backend Development

Detailed Explanation of Java ConcurrentHashMap Source Code: Constructors, put, get, resize, and Concurrency Mechanisms

This article provides an in‑depth analysis of the Java ConcurrentHashMap implementation, covering its constructor logic, hash‑table sizing, the core put and get operations, element counting with addCount, multi‑threaded resizing via transfer, treeification of bins, removal, computeIfAbsent, and the design choices that forbid null keys and values to simplify concurrency handling.

CASConcurrentHashMaphash table
0 likes · 36 min read
Detailed Explanation of Java ConcurrentHashMap Source Code: Constructors, put, get, resize, and Concurrency Mechanisms
DataFunSummit
DataFunSummit
Mar 2, 2025 · Artificial Intelligence

Lightweight Algorithm Service Architecture Based on Offline Tag Knowledge Base and Real‑time Data Warehouse

This article presents a lightweight algorithm service solution that combines an offline pre‑computed tag knowledge base with a real‑time data warehouse using Flink, Doris, Hive SQL and Python to achieve short development cycles, agile iteration, low cost, and scalable deployment for classification and clustering tasks.

Flinkalgorithm servicedoris
0 likes · 16 min read
Lightweight Algorithm Service Architecture Based on Offline Tag Knowledge Base and Real‑time Data Warehouse
BirdNest Tech Talk
BirdNest Tech Talk
Feb 28, 2025 · Fundamentals

How Go’s New Swiss Table Map Boosts Performance: A Deep Dive

This article traces the evolution of hash tables from early chain‑based designs to modern open‑addressing Swiss Table implementations, explains Go 1.24’s map redesign with groups, control words, and SIMD tricks, and examines the challenges of incremental growth, iteration semantics, and future performance improvements.

Go mapSwiss Tablehash table
0 likes · 17 min read
How Go’s New Swiss Table Map Boosts Performance: A Deep Dive
Python Programming Learning Circle
Python Programming Learning Circle
Feb 25, 2025 · Fundamentals

Understanding Hash Tables in Python: Concepts, Operations, and Applications

This article explains the fundamentals of hash tables, covering their definition, advantages, core concepts like hash functions and collision resolution, practical Python dictionary usage with code examples, and common application scenarios such as fast look‑ups, frequency counting, and deduplication.

collision-resolutionhash functionhash table
0 likes · 5 min read
Understanding Hash Tables in Python: Concepts, Operations, and Applications
Satori Komeiji's Programming Classroom
Satori Komeiji's Programming Classroom
Aug 29, 2024 · Fundamentals

How Python Dictionaries Resize: The Full Expansion Process

The article explains Python's dict resizing mechanism, detailing when the hash table grows (when used entries reach two‑thirds of capacity), how the new size is chosen as the smallest power‑of‑two ≥ ma_used × 3, and the exact steps the interpreter takes to reallocate and rebuild the underlying key and entry arrays.

Memory ManagementPythoncombined-table
0 likes · 12 min read
How Python Dictionaries Resize: The Full Expansion Process
IT Services Circle
IT Services Circle
Aug 17, 2024 · Fundamentals

Algorithmic Interview Problems: Travel Plan, Homework Scheduling, Flower Bed Beauty, and Simple Hash Table Restoration

This article presents four algorithmic interview problems covering travel scheduling with priority constraints, optimal homework task ordering, maximizing distinct garden beauty scores after a single flip operation, and reconstructing insertion sequences for a linear‑probing hash table, each with detailed analysis, solution ideas, and reference Python code.

coding interviewgreedyhash table
0 likes · 15 min read
Algorithmic Interview Problems: Travel Plan, Homework Scheduling, Flower Bed Beauty, and Simple Hash Table Restoration
Java Tech Enthusiast
Java Tech Enthusiast
May 12, 2024 · Fundamentals

Hash Table Showdown: How Different Languages Resolve Collisions and Resize

A whimsical yet technical dialogue among Go, C++, Python, Java, and C# representatives reveals the storage structures, collision‑resolution strategies, hash‑to‑index mapping techniques, and resizing policies used in their hash table implementations, highlighting trade‑offs and design choices.

Data Structurecapacitycollision-resolution
0 likes · 9 min read
Hash Table Showdown: How Different Languages Resolve Collisions and Resize
IT Services Circle
IT Services Circle
May 11, 2024 · Fundamentals

Hash Table Summit: Storage Structure, Collision Resolution, Mapping, and Resizing

An imaginative conference narrates how various programming language implementations—Go's map, C++'s unordered_map, Java's HashMap, Python's dict, and C#'s HashTable—discuss storage structures, collision‑resolution strategies, hash‑to‑index mapping, and initial capacity and resizing policies, highlighting their differing algorithms and trade‑offs.

capacitycollision-resolutionhash function
0 likes · 9 min read
Hash Table Summit: Storage Structure, Collision Resolution, Mapping, and Resizing
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Apr 12, 2024 · Databases

Why Is Redis So Fast? Uncover the Secrets Behind Its Performance

Redis achieves its remarkable speed through in‑memory storage, an efficient hash table design, single‑threaded execution that eliminates context switches, epoll‑based I/O multiplexing, progressive rehashing, and cached timestamps, all of which together enable near O(1) operations and minimal latency.

In-Memory DatabaseRehashSingle Thread
0 likes · 7 min read
Why Is Redis So Fast? Uncover the Secrets Behind Its Performance
MaGe Linux Operations
MaGe Linux Operations
Apr 11, 2024 · Databases

Why Is Redis So Fast? Uncover the Secrets Behind Its Performance

This article explains why Redis achieves exceptional speed by leveraging in‑memory storage, an efficient hash‑table data structure, a single‑threaded event loop, epoll I/O multiplexing, incremental rehashing, and cached timestamps, providing a comprehensive view of its performance optimizations.

In-Memory DatabaseIncremental RehashSingle Thread
0 likes · 7 min read
Why Is Redis So Fast? Uncover the Secrets Behind Its Performance
Liangxu Linux
Liangxu Linux
Mar 20, 2024 · Fundamentals

Master the 7 Essential Data Structures: When and Why to Use Them

Explore the seven core data structures—arrays, queues, stacks, linked lists, trees, graphs, and hash tables—detailing their real‑world analogies, typical use cases, strengths, and drawbacks, so you can choose the right structure for efficient, reliable software design.

Arraysgraphshash table
0 likes · 8 min read
Master the 7 Essential Data Structures: When and Why to Use Them
Go Development Architecture Practice
Go Development Architecture Practice
Mar 14, 2024 · Backend Development

How to Process One Billion CSV Rows in Go: 9 Optimized Solutions

This article walks through nine progressively faster Go implementations for the One Billion Row Challenge, detailing baseline measurements, map optimizations, custom parsing, integer arithmetic, scanner removal, custom hash tables, and parallel processing that ultimately reduce processing time from 1 minute 45 seconds to under 4 seconds.

1BRCconcurrencyhash table
0 likes · 20 min read
How to Process One Billion CSV Rows in Go: 9 Optimized Solutions
Top Architecture Tech Stack
Top Architecture Tech Stack
Feb 7, 2024 · Fundamentals

Understanding Hash Tables: Concepts, Collision Resolution, and Python Implementations

This article explains the concept of hashing and hash tables, describes their characteristics and common collision‑resolution strategies such as open addressing, linear and quadratic probing, chaining, and rehashing, and provides complete Python implementations including a simple hash class, a dynamic map class, and a custom dictionary.

Data Structureschainingcollision-resolution
0 likes · 13 min read
Understanding Hash Tables: Concepts, Collision Resolution, and Python Implementations
Alibaba Cloud Native
Alibaba Cloud Native
Dec 6, 2023 · Cloud Native

How RocketMQ Implements Random Indexing for Cloud‑Native Storage

This article explains RocketMQ's random indexing mechanism, detailing its on‑disk three‑segment hash table structure, the compact format conversion process, multi‑threaded write and query workflows, layered system design, crash‑recovery strategy, and comparisons with RocksDB and InnoDB storage engines.

Distributed SystemsMessage IndexingRocketMQ
0 likes · 16 min read
How RocketMQ Implements Random Indexing for Cloud‑Native Storage
Su San Talks Tech
Su San Talks Tech
Dec 4, 2023 · Fundamentals

Can You Build a HashMap from Scratch? A Step‑by‑Step Java Guide

This article walks you through the fundamentals of hash tables, explains bucket arrays and hash functions, discusses collision resolution strategies, and provides a complete Java implementation of a simple HashMap called ThirdHashMap with code, tests, and performance notes.

Data StructuresHashMapcoding interview
0 likes · 13 min read
Can You Build a HashMap from Scratch? A Step‑by‑Step Java Guide
IT Services Circle
IT Services Circle
Sep 22, 2023 · Fundamentals

Overview of Common Data Structures and Algorithms

This article reviews essential data structures such as arrays, linked lists, stacks, queues, hash tables, and trees, explains their characteristics and trade‑offs, and introduces fundamental algorithm categories including sorting, searching, greedy, divide‑and‑conquer, and dynamic programming, with useful visualization links.

AlgorithmsArraysSorting
0 likes · 8 min read
Overview of Common Data Structures and Algorithms
Su San Talks Tech
Su San Talks Tech
Jan 16, 2023 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by storing data in memory and using a variety of specialized data structures—such as SDS, quicklist, listpack, hash tables, and skip lists—to implement its key‑value store, covering their designs, trade‑offs, and evolution across Redis versions.

Data StructuresListpackQuicklist
0 likes · 49 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures
政采云技术
政采云技术
Oct 18, 2022 · Databases

Understanding Redis Internal Data Structures: SDS, Hash Tables, Ziplist, Quicklist, and Skiplist

This article explains Redis's superior performance by detailing its six underlying data structures—Simple Dynamic Strings, hash tables, ziplist, quicklist, skiplist, and integer sets—covering their implementations, memory optimizations, collision handling, and lookup complexities, with code examples and diagrams.

Data StructuresIn-Memory Databasehash table
0 likes · 12 min read
Understanding Redis Internal Data Structures: SDS, Hash Tables, Ziplist, Quicklist, and Skiplist
Yiche Technology
Yiche Technology
Jul 18, 2022 · Fundamentals

Deep Dive into Go's Map Implementation: Hash Tables, Hash Functions, and Runtime Mechanics

This article provides a comprehensive analysis of Go's map implementation, covering its hash‑table foundation, key type constraints, hash function characteristics, collision resolution strategies, runtime initialization, internal structures like hmap and bmap, and the various operations for creation, access, update, deletion, and resizing.

Data StructuresGoInitialization
0 likes · 21 min read
Deep Dive into Go's Map Implementation: Hash Tables, Hash Functions, and Runtime Mechanics
ITPUB
ITPUB
Jul 6, 2022 · Databases

Unveiling Redis’s Hidden Data Structures: From SDS to Dictionaries

This article explores Redis’s internal data structures—including simple dynamic strings, linked lists, and dictionaries—detailing their encoding constants, implementation differences across versions, performance advantages, and rehashing mechanisms that enable high‑throughput, memory‑efficient operations.

Data StructuresSDSdictionary
0 likes · 17 min read
Unveiling Redis’s Hidden Data Structures: From SDS to Dictionaries
DaTaobao Tech
DaTaobao Tech
Jun 29, 2022 · Frontend Development

Design and Implementation of a Reactive Data System in Tubes

The article presents Tubes, Alibaba’s high‑performance terminal renderer, and argues that a hash‑table‑based reactive data system—tracking dependencies, triggering updates only for changed inputs, and making Tubes idempotent—eliminates manual loop control, reduces developer burden, and delivers up to 1,350× read speed‑up and hundreds of milliseconds faster first‑screen rendering on low‑end devices.

Front-end Architecturedependency trackinghash table
0 likes · 16 min read
Design and Implementation of a Reactive Data System in Tubes
ITPUB
ITPUB
Jun 3, 2022 · Backend Development

Unlocking Redis Speed: A Deep Dive into Its Core Data Structures

This article explains why Redis is ultra‑fast by exploring its in‑memory design and the nine fundamental data structures—SDS, linked lists, ziplist, hash tables, skiplist, intset, quicklist, and listpack—that power keys, values, and internal objects, complete with code examples and version‑specific changes.

Data StructuresMemory OptimizationSDS
0 likes · 45 min read
Unlocking Redis Speed: A Deep Dive into Its Core Data Structures
Selected Java Interview Questions
Selected Java Interview Questions
May 12, 2022 · Fundamentals

How Hash Tables Store Data and Resolve Collisions

This article explains the basic structure of hash tables, how keys are mapped to array indices, the problem of hash collisions, and two common resolution strategies—open addressing and chaining—illustrated with diagrams and a concise summary.

Data Structureschainingcollision-resolution
0 likes · 3 min read
How Hash Tables Store Data and Resolve Collisions
Python Programming Learning Circle
Python Programming Learning Circle
Apr 7, 2022 · Fundamentals

Understanding Hash Tables and Implementing Them in Python

This article explains the concept of hashing and hash tables, describes their characteristics and collision‑resolution strategies, showcases practical Python implementations with load‑factor handling and resizing, and highlights common applications such as dictionaries and network session tables.

Data StructuresPythoncollision-resolution
0 likes · 13 min read
Understanding Hash Tables and Implementing Them in Python
dbaplus Community
dbaplus Community
Mar 6, 2022 · Backend Development

Why Is Redis So Fast? Unveiling Its Core Data Structures

This article explains how Redis achieves high performance by using specialized in‑memory data structures such as SDS, quicklist, listpack, hash tables, skip‑lists and integer sets, detailing their design, evolution across versions, memory‑efficiency tricks, and the trade‑offs that make Redis a lightning‑fast key‑value store.

Data StructuresListpackQuicklist
0 likes · 43 min read
Why Is Redis So Fast? Unveiling Its Core Data Structures
Python Programming Learning Circle
Python Programming Learning Circle
Feb 14, 2022 · Fundamentals

Python List vs Set: Performance Comparison and Underlying Implementation Details

This article compares the lookup speed of Python lists and sets on large datasets, presents benchmark code and results, and explains why sets are dramatically faster by examining the internal C‑level implementations of list (dynamic array) and set/dict (hash table) including resizing rules and collision‑resolution strategies.

Data StructuresListPython
0 likes · 13 min read
Python List vs Set: Performance Comparison and Underlying Implementation Details
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 14, 2021 · Fundamentals

Master Hash Tables, Heaps, and Graph Algorithms: From Basics to Dijkstra

This article introduces core data structures—hash tables, heaps, and graphs—explains their definitions, visual representations, and key operations, then delves into fundamental graph algorithms such as BFS, Dijkstra, Floyd, minimum spanning trees, and topological sorting, illustrating each with examples and code.

Data StructuresDijkstraHeap
0 likes · 16 min read
Master Hash Tables, Heaps, and Graph Algorithms: From Basics to Dijkstra
Sohu Tech Products
Sohu Tech Products
Mar 31, 2021 · Databases

Why Redis Is Fast: Core Principles, Data Structures, and Architecture

This article explains why Redis achieves exceptionally high performance by combining pure in‑memory operations, a global hash table with O(1) lookups, efficient data structures such as SDS, ziplist, quicklist and skiplist, a single‑threaded event loop with non‑blocking I/O multiplexing, and adaptive encoding strategies.

Data StructuresIO MultiplexingIn-Memory Database
0 likes · 20 min read
Why Redis Is Fast: Core Principles, Data Structures, and Architecture
dbaplus Community
dbaplus Community
Mar 28, 2021 · Databases

Why Redis Is So Fast: Inside Its Core Architecture

This article explains why Redis achieves exceptional speed by examining its memory‑only architecture, single‑threaded event loop, and the specialized data structures—global hash tables, SDS strings, ziplist, quicklist, skiplist, and intset—that provide O(1) or O(log N) operations, along with non‑blocking I/O multiplexing.

Data StructuresI/O MultiplexingIn-Memory Database
0 likes · 20 min read
Why Redis Is So Fast: Inside Its Core Architecture
Wukong Talks Architecture
Wukong Talks Architecture
Mar 22, 2021 · Databases

The Secrets Behind Redis’s Speed: Architecture, Data Structures, and Single‑Threaded Model

This article explains why Redis is exceptionally fast by detailing its in‑memory design, global hash table with O(1) lookups, incremental rehashing, specialized data structures such as SDS, ziplist, quicklist, skiplist and intset, as well as its single‑threaded event loop and epoll‑based I/O multiplexing.

I/O MultiplexingIn-Memory DatabaseSingle‑threaded
0 likes · 19 min read
The Secrets Behind Redis’s Speed: Architecture, Data Structures, and Single‑Threaded Model
Baidu Geek Talk
Baidu Geek Talk
Feb 22, 2021 · Fundamentals

Can Embracing Hash Collisions Boost Performance? Inside B16 Hash Table

This article revisits traditional hash table design, then introduces a novel approach that deliberately leverages a controlled probability of hash collisions combined with SIMD parallelism, presenting the B16 and B16Compact hash tables, their structures, algorithms, and experimental results showing superior speed and space efficiency compared to unordered_map and F14.

B16Data StructuresSIMD
0 likes · 17 min read
Can Embracing Hash Collisions Boost Performance? Inside B16 Hash Table
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 20, 2021 · Fundamentals

Unlock Python’s Speed: Master dict and set for Fast Data Lookup

This article explains Python’s built-in dict and set structures, comparing them with lists, demonstrating their fast key-value lookups, handling missing keys, and common operations like insertion, deletion, and set algebra, while providing clear code examples and practical tips for effective use.

Data StructuresImmutable ObjectsPython
0 likes · 9 min read
Unlock Python’s Speed: Master dict and set for Fast Data Lookup
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 12, 2020 · Fundamentals

Unlock Core Data Structures, Algorithms, and Sorting Basics

This article provides a comprehensive introduction to fundamental data structures, core algorithm concepts, and classic sorting techniques, explaining their definitions, basic operations, time and space complexities, stability considerations, and practical use cases for developers seeking to strengthen their programming foundations.

AlgorithmsData StructuresSorting
0 likes · 20 min read
Unlock Core Data Structures, Algorithms, and Sorting Basics
Top Architect
Top Architect
Jul 16, 2020 · Fundamentals

Why HashMap Uses a Load Factor of 0.75: Load Factor, Collision Resolution, and the Poisson Distribution

This article explains why Java's HashMap adopts a default load factor of 0.75, describing the concept of load factor, various collision‑resolution strategies such as open addressing and chaining, and how Poisson‑distribution analysis justifies the 0.75 threshold as a balanced trade‑off between space utilization and lookup cost.

HashMapPoisson distributioncollision-resolution
0 likes · 11 min read
Why HashMap Uses a Load Factor of 0.75: Load Factor, Collision Resolution, and the Poisson Distribution
Selected Java Interview Questions
Selected Java Interview Questions
May 26, 2020 · Fundamentals

Eight Common Data Structures Every Programmer Should Know

This article introduces eight fundamental data structures—arrays, linked lists, stacks, queues, hash tables, trees, heaps, and graphs—explaining their definitions, core operations, typical applications, and visual illustrations to help programmers master essential concepts for software development and technical interviews.

ArrayData StructuresQueue
0 likes · 12 min read
Eight Common Data Structures Every Programmer Should Know
vivo Internet Technology
vivo Internet Technology
Apr 22, 2020 · Fundamentals

Hash Table Collisions and Resolution Strategies

The article explains how limited hash spaces cause collisions, then compares open hashing (separate chaining) and closed hashing techniques—linear probing, double hashing, and random hashing—detailing their insertion, search, and deletion algorithms along with the performance trade‑offs and load‑factor analysis for each method.

algorithmcollision-resolutiondouble hashing
0 likes · 16 min read
Hash Table Collisions and Resolution Strategies
ITPUB
ITPUB
Mar 25, 2020 · Fundamentals

Essential Data Structures Every Programmer Should Master

This article introduces eight fundamental data structures—arrays, linked lists, stacks, queues, hash tables, trees, heaps, and graphs—explaining their definitions, core operations, typical applications, and key characteristics to help developers build a solid foundation.

ArrayData StructuresQueue
0 likes · 13 min read
Essential Data Structures Every Programmer Should Master
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 8, 2020 · Fundamentals

Why Java’s HashMap Combines Arrays, Linked Lists, and Red‑Black Trees

This article explains the fundamentals of hash tables, compares their performance with arrays, linked lists, and binary trees, describes how Java's HashMap handles collisions using chaining and treeification, and details the evolution from JDK 7 to JDK 8, including the design of ConcurrentHashMap for thread safety.

ConcurrentHashMapData StructuresHashMap
0 likes · 23 min read
Why Java’s HashMap Combines Arrays, Linked Lists, and Red‑Black Trees
Qunar Tech Salon
Qunar Tech Salon
Feb 13, 2020 · Databases

Understanding InnoDB REDO Log Recovery Process

This article explains how InnoDB uses REDO logs to recover a crashed MySQL database, detailing the steps of locating checkpoints, scanning log segments, parsing mini‑transactions, storing records in hash tables, and applying them to restore data consistency.

Database RecoveryInnoDBMini-transaction
0 likes · 23 min read
Understanding InnoDB REDO Log Recovery Process
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 6, 2019 · Databases

Understanding Hash Functions, Hash Tables, and Their Implementation in Redis

This article explains the concept of hash functions and hash tables, illustrates how they map data to array indices, discusses collision resolution methods, and details Redis's internal dictionary implementation, including zipmap optimization, operation complexities, and practical usage differences between hashes and sets.

Data StructuresHashMemory Optimization
0 likes · 8 min read
Understanding Hash Functions, Hash Tables, and Their Implementation in Redis
Meituan Technology Team
Meituan Technology Team
Jul 26, 2018 · Databases

Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior

The article details how Redis’s incremental rehashing can double memory usage and trigger massive key eviction and scan inconsistencies in large‑scale clusters, explains the underlying dictionary structures, demonstrates the cursor bug when tables shrink, and presents a memory‑guard and scan‑cursor patch that resolves both problems.

Memory ManagementRehashSCAN
0 likes · 26 min read
Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior
360 Tech Engineering
360 Tech Engineering
May 22, 2018 · Databases

Understanding Redis Rehash Mechanism and Implementation

This article explains how Redis uses a dual‑hashtable structure and a progressive rehash process to handle hash collisions, detailing the rehash conditions, migration steps, and performance implications for in‑memory key‑value storage.

In-Memory DatabaseRehashhash table
0 likes · 6 min read
Understanding Redis Rehash Mechanism and Implementation
Beike Product & Technology
Beike Product & Technology
Feb 7, 2018 · Backend Development

High‑Performance Challenge: Optimizing a C‑Based User Information Service for Tens of Millions of Records

This article recounts a 2017 internal high‑performance competition where a C server handling a 40 million‑row user‑info dataset was progressively optimized through data compression, custom hash tables, memory layout redesign, and a thread‑pool model, ultimately achieving a four‑fold throughput increase.

Memory Optimizationc++data compression
0 likes · 13 min read
High‑Performance Challenge: Optimizing a C‑Based User Information Service for Tens of Millions of Records
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 6, 2017 · Frontend Development

Mastering DOM Traversal and Sorting: Recursive & Non‑Recursive JavaScript Algorithms

This article explores how to implement recursive and non‑recursive DOM tree searches, hash‑based lookups, and several classic sorting algorithms—including quick sort and merge sort—in JavaScript, discussing their time and space complexities, stability considerations, and practical performance tips for front‑end development.

DOMRecursionSorting
0 likes · 20 min read
Mastering DOM Traversal and Sorting: Recursive & Non‑Recursive JavaScript Algorithms
MaGe Linux Operations
MaGe Linux Operations
Jun 8, 2017 · Fundamentals

How Python’s dict Uses Hash Tables and Open Addressing Explained

This article explains how Python implements dictionaries with hash tables, details the hash function for strings, demonstrates collision handling via open addressing and quadratic probing, and walks through the underlying C structures, initialization, insertion, resizing, and deletion processes.

Pythonc-implementationdict
0 likes · 8 min read
How Python’s dict Uses Hash Tables and Open Addressing Explained
ITPUB
ITPUB
Apr 27, 2017 · Fundamentals

Master Core Data Structures: Linked Lists, Trees, Heaps, and More

An extensive overview of fundamental data structures—including linked lists, stacks, queues, various tree types, binary search trees, tries, binary indexed trees, segment trees, heaps, hash tables, and graphs—covers definitions, characteristics, time complexities, and visual illustrations to aid understanding and practical implementation.

graphhash tablelinked list
0 likes · 9 min read
Master Core Data Structures: Linked Lists, Trees, Heaps, and More
ITPUB
ITPUB
Apr 23, 2017 · Fundamentals

Master Core Data Structures: Linked Lists, Trees, Heaps, and More

This comprehensive guide explains fundamental data structures—including linked lists, stacks, queues, various tree types, binary indexed trees, segment trees, heaps, hash tables, and graphs—detailing their definitions, variants, typical operations, and time‑complexity characteristics for efficient algorithm design.

AlgorithmsData Structurescomputer science
0 likes · 9 min read
Master Core Data Structures: Linked Lists, Trees, Heaps, and More
Liulishuo Tech Team
Liulishuo Tech Team
Mar 10, 2017 · Fundamentals

Understanding HashMap Implementations: A Comparative Analysis of Hash Tables and HAMT

This article explores two fundamental implementations of the HashMap data structure, comparing traditional Hash Tables with Hash Array Mapped Tries (HAMT), while analyzing their collision resolution strategies, hash functions, time and space complexities, and practical applications in modern programming languages like Ruby and functional paradigms.

Data StructuresHAMTHashMap
0 likes · 12 min read
Understanding HashMap Implementations: A Comparative Analysis of Hash Tables and HAMT
ITPUB
ITPUB
Sep 5, 2016 · Databases

Understanding Oracle Enqueue Locks, Resource Structures, and Hash Tables

This article explains how Oracle protects shared resources with enqueue queues, details the naming of TM queue locks per table, describes the resource structure (KSQRS) that tracks owners, waiters and converters, and shows how hash tables and related parameters manage these structures efficiently.

Database InternalsEnqueueLocks
0 likes · 11 min read
Understanding Oracle Enqueue Locks, Resource Structures, and Hash Tables
21CTO
21CTO
Nov 15, 2015 · Backend Development

Unveiling PHP’s Core: Architecture, Engine, and Memory Mechanics

This article demystifies PHP’s internal architecture, covering its design philosophy, four‑layer system, SAPI interfaces, execution flow with opcodes, the Zend hash table, variable handling via zval, reference counting, and resource management, providing a comprehensive guide for backend developers.

BackendResource Managementhash table
0 likes · 16 min read
Unveiling PHP’s Core: Architecture, Engine, and Memory Mechanics