Tagged articles
20 articles
Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Feb 8, 2023 · Backend Development

Boost Java Performance with Off‑Heap Caching: A Practical OHC Guide

This article explains why moving large local caches to off‑heap memory using the open‑source OHC library can reduce GC pressure, provides a step‑by‑step demo with custom serialization, compares it with a HashMap OOM example, and dives into the library's core allocation mechanisms and configuration options.

Memory ManagementOHCOff-Heap
0 likes · 18 min read
Boost Java Performance with Off‑Heap Caching: A Practical OHC Guide
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 6, 2021 · Big Data

Understanding Spark’s Memory Model: Unified Memory Management, On‑Heap and Off‑Heap Memory, and Configuration

This article explains Spark’s unified memory management model, detailing the division between on‑heap and off‑heap memory, the roles of execution, storage, user, and reserved memory, configuration parameters, dynamic allocation, and how these concepts affect performance and resource utilization.

Execution MemoryMemory ManagementOff-Heap
0 likes · 17 min read
Understanding Spark’s Memory Model: Unified Memory Management, On‑Heap and Off‑Heap Memory, and Configuration
Beike Product & Technology
Beike Product & Technology
Jul 1, 2021 · Big Data

Oak Off‑Heap Key‑Value Map and Its Application in Apache Druid for Real‑Time and Batch Ingestion

The article introduces Oak, an off‑heap concurrent key‑value map, explains its design and performance benefits over ConcurrentSkipListMap, and details extensive offline and real‑time ingestion experiments in Apache Druid that demonstrate reduced memory usage, lower CPU consumption, and faster data loading.

Apache DruidIncremental IndexOak
0 likes · 10 min read
Oak Off‑Heap Key‑Value Map and Its Application in Apache Druid for Real‑Time and Batch Ingestion
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 12, 2020 · Databases

HBase FAQ: Performance Optimization, Bulk Load, Single‑Node Mode, Transactions, and Best Practices

This article compiles a series of HBase questions and answers covering write performance, bulk loading, single‑node configuration, column scalability, transaction isolation, fast deletion methods, off‑heap optimizations, bulkload modes, Hive integration, direct HFile reads, and region planning.

HBaseOff-HeapSingle Node
0 likes · 7 min read
HBase FAQ: Performance Optimization, Bulk Load, Single‑Node Mode, Transactions, and Best Practices
dbaplus Community
dbaplus Community
Nov 18, 2019 · Backend Development

Designing an Off‑Heap Disaster Recovery Cache to Keep Recommendations Fast

When the recommendation service of the Mafengwo app experiences database disconnections, third‑party timeouts, or network jitter, a locally‑deployed off‑heap cache built with OHC and SpringBoot can return pre‑computed results, isolating business logic, reducing latency, and improving user experience during failures.

Off-HeapSpringBootcaching
0 likes · 12 min read
Designing an Off‑Heap Disaster Recovery Cache to Keep Recommendations Fast
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 18, 2019 · Big Data

Understanding JVM Garbage Collection and Flink Memory Management

This article explains the fundamentals of JVM garbage collection, its generational algorithms and associated performance issues, and then details Apache Flink's memory management architecture, including MemorySegment, off‑heap buffers, serialization mechanisms, and type information for efficient big‑data processing.

Big DataFlinkGarbage Collection
0 likes · 7 min read
Understanding JVM Garbage Collection and Flink Memory Management
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 10, 2019 · Databases

Source Code Analysis of DBLE Memory Management Module

This article provides a detailed analysis of DBLE's memory management module, explaining its structure, configuration parameters, allocation and recycling logic, and includes annotated source code snippets for classes such as DirectByteBufferPool and ByteBufferPage, illustrating how off‑heap and on‑heap memory are handled.

ByteBufferDBLEMemory Management
0 likes · 13 min read
Source Code Analysis of DBLE Memory Management Module
Programmer DD
Programmer DD
Sep 27, 2019 · Fundamentals

Why Does a Java Process Use Far More Memory Than Its Heap?

This article explains why a Java process consumes far more virtual memory than the configured heap size by detailing JVM subsystems, off‑heap allocations, native libraries, thread stacks, and other factors that contribute to overall memory usage.

HeapJVMMemory Management
0 likes · 7 min read
Why Does a Java Process Use Far More Memory Than Its Heap?
Big Data Technology & Architecture
Big Data Technology & Architecture
Jun 1, 2019 · Big Data

Understanding Spark Executor Memory Management: On‑Heap, Off‑Heap, and Unified Memory

This article explains Spark's executor memory architecture, covering on‑heap and off‑heap memory planning, static and unified memory managers, storage and execution memory allocation, RDD persistence, eviction policies, and shuffle memory usage, providing practical guidance for performance tuning.

Big DataExecutorMemory Management
0 likes · 23 min read
Understanding Spark Executor Memory Management: On‑Heap, Off‑Heap, and Unified Memory
Mafengwo Technology
Mafengwo Technology
May 17, 2019 · Backend Development

How We Built a Resilient Local Cache for a High‑Performance Recommendation System

When the recommendation service experiences database disconnections, third‑party timeouts, or network jitter, we designed an off‑heap local disaster‑recovery cache using OHC and SpringBoot that isolates cache logic, writes asynchronously, backs up to disk, and restores availability, keeping latency under 10 ms and improving user experience.

Off-HeapSpringBootjava
0 likes · 13 min read
How We Built a Resilient Local Cache for a High‑Performance Recommendation System
dbaplus Community
dbaplus Community
May 30, 2018 · Big Data

Understanding Spark Executor Memory Management: On‑Heap, Off‑Heap, and Unified Strategies

This article explains Spark's executor memory architecture, covering on‑heap and off‑heap allocation, static versus unified memory managers, storage and execution memory handling, RDD persistence levels, eviction policies, and shuffle memory usage, providing practical formulas and configuration tips for optimal performance.

Big DataExecutorMemory Management
0 likes · 23 min read
Understanding Spark Executor Memory Management: On‑Heap, Off‑Heap, and Unified Strategies
Qunar Tech Salon
Qunar Tech Salon
Apr 9, 2018 · Big Data

Analysis of Apache Spark 2.2.1 Memory Management Model

This article examines Spark's unified memory manager in version 2.2.1, detailing on‑heap and off‑heap memory regions, the four on‑heap memory pools, dynamic execution‑storage memory sharing, task memory accounting, and provides concrete calculation examples to explain UI discrepancies and runtime memory limits.

Big DataExecutorMemory Management
0 likes · 13 min read
Analysis of Apache Spark 2.2.1 Memory Management Model
Architect
Architect
May 25, 2016 · Big Data

How Flink Manages Memory to Overcome JVM Limitations

The article explains how Flink tackles JVM memory challenges by using proactive memory management, a custom serialization framework, cache‑friendly binary operations, and off‑heap memory techniques to reduce GC pressure, avoid OOM, and improve performance in big‑data workloads.

Big DataFlinkJVM
0 likes · 17 min read
How Flink Manages Memory to Overcome JVM Limitations