Tagged articles
132 articles
Page 2 of 2
Tencent Music Tech Team
Tencent Music Tech Team
Apr 23, 2021 · Mobile Development

Native Memory Analysis and Optimization in Android K歌 Application

The article details a thorough investigation of native‑memory crashes in the K歌 Android app, describing how memory usage was profiled, comparing three analysis tools, building a custom loli_profiler‑based hook to track malloc/free and bitmap allocations, exposing leaks, and outlining fixes and future optimization plans.

AndroidHookingMemory Leak
0 likes · 28 min read
Native Memory Analysis and Optimization in Android K歌 Application
Code Ape Tech Column
Code Ape Tech Column
Apr 12, 2021 · Backend Development

How Bitmap, Bloom Filters, and Cache Strategies Solve Massive Data Lookups

This article explains how bitmap and Bloom filter data structures reduce memory usage for large integer sets, demonstrates a Java bitmap implementation, and explores high‑concurrency cache design, consistency, penetration, and avalanche problems with practical mitigation techniques.

CacheData StructuresMemory Optimization
0 likes · 8 min read
How Bitmap, Bloom Filters, and Cache Strategies Solve Massive Data Lookups
Python Programming Learning Circle
Python Programming Learning Circle
Mar 29, 2021 · Databases

User Retention, Funnel, and Session Analysis in ClickHouse Using Bitmap and Retention Functions

The article explains how to perform efficient user retention, funnel, and session analysis on large ClickHouse datasets by replacing costly multi‑table joins with bitmap compression, the built‑in retention function, windowFunnel, and high‑order array functions, providing practical SQL examples and performance insights.

ClickHouseData AnalysisSQL
0 likes · 18 min read
User Retention, Funnel, and Session Analysis in ClickHouse Using Bitmap and Retention Functions
Top Architect
Top Architect
Jan 2, 2021 · Fundamentals

Understanding Bitmap, BitSet, and Bloom Filter: Memory‑Efficient Data Structures for Large‑Scale Data

This article explains the bitmap concept, demonstrates how to store and query billions of integers using bitwise operations, introduces BitSet and Bloom Filter implementations, and provides practical Java code snippets for adding, removing, and checking elements while highlighting their memory‑saving advantages.

BitsetData StructureJava
0 likes · 12 min read
Understanding Bitmap, BitSet, and Bloom Filter: Memory‑Efficient Data Structures for Large‑Scale Data
Suning Technology
Suning Technology
Nov 16, 2020 · Databases

How ClickHouse Powers Real-Time User Profiling for Millions of Users

This article explains how Suning built a massive user‑tag platform using ClickHouse and RoaringBitmap to enable second‑level user profiling for over 600 million users, covering tag generation, storage, query architecture, and performance optimizations for marketing campaigns.

ClickHouseSQLTag Platform
0 likes · 13 min read
How ClickHouse Powers Real-Time User Profiling for Millions of Users
Laravel Tech Community
Laravel Tech Community
Nov 10, 2020 · Backend Development

Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches

This article examines common techniques for implementing a user check‑in function in web and mobile applications, comparing a straightforward MySQL table solution with a Redis bitmap approach, detailing the data structures, code examples, workflow, and the advantages and disadvantages of each method.

Backend DevelopmentMySQLRedis
0 likes · 6 min read
Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches
Java Backend Technology
Java Backend Technology
Oct 8, 2020 · Backend Development

Unlocking Redis: 9 Real‑World Patterns from KV Cache to Bloom Filters

This article walks through nine practical Redis use cases—including basic KV caching, distributed locking, delayed queues, rate limiting, service discovery, bitmap storage, HyperLogLog counting, roaring bitmaps, and Bloom filters—explaining the underlying concepts, configuration tips, and code examples for robust backend development.

CachingHyperLogLogbitmap
0 likes · 20 min read
Unlocking Redis: 9 Real‑World Patterns from KV Cache to Bloom Filters
vivo Internet Technology
vivo Internet Technology
Aug 19, 2020 · Mobile Development

Why Android Images Cause OOM: Memory Usage, DPI, and Glide Tips

This article explains how different Android versions handle image memory, clarifies screen size, density, and resolution concepts, shows how folder placement and bitmap formats affect RAM usage, and provides practical Glide configuration to prevent out‑of‑memory crashes.

AndroidGlideImage Loading
0 likes · 11 min read
Why Android Images Cause OOM: Memory Usage, DPI, and Glide Tips
Beike Product & Technology
Beike Product & Technology
Aug 17, 2020 · Big Data

Bitmap-Based User Segmentation in a DMP Platform Using ClickHouse

This article describes how a data management platform (DMP) at Beike leverages ClickHouse bitmap structures and Spark pipelines to generate global numeric user IDs, design tag-specific bitmap rules for enum, continuous, and date attributes, handle boundary cases, and produce high‑performance bitmap SQL for real‑time user group estimation and complex segment logic.

Big DataClickHouseDMP
0 likes · 17 min read
Bitmap-Based User Segmentation in a DMP Platform Using ClickHouse
WeChat Client Technology Team
WeChat Client Technology Team
Dec 28, 2018 · Mobile Development

How ResourceCanary Automates Android Activity Leak and Bitmap Redundancy Detection

ResourceCanary, a Matrix sub‑module, automatically detects Activity memory leaks and redundant Bitmap objects in large‑scale Android apps by monitoring lifecycle callbacks, leveraging WeakReference queues, parsing Hprof dumps, and providing concise reference chains for fast debugging and performance optimization.

AndroidHprofLeakCanary
0 likes · 15 min read
How ResourceCanary Automates Android Activity Leak and Bitmap Redundancy Detection
Java Backend Technology
Java Backend Technology
Oct 13, 2018 · Big Data

Check a New Integer Among 4 Billion Records in Seconds Using Bitmap & Distributed Methods

An interviewee faces the challenge of determining whether a newly given integer exists within a set of 4 billion numbers, and the article explores efficient solutions—from naive disk‑I/O approaches to distributed processing and the memory‑saving bitmap technique—highlighting their performance trade‑offs and implementation details.

Big DataDistributed computingalgorithm
0 likes · 6 min read
Check a New Integer Among 4 Billion Records in Seconds Using Bitmap & Distributed Methods
Meitu Technology
Meitu Technology
Aug 17, 2018 · Big Data

Meitu Distributed Bitmap System (Naix): Architecture, Implementation, and Performance Evaluation

Meitu’s Naix distributed bitmap system accelerates massive user‑data analytics by using a three‑layer architecture, sharded RoaringBitmap storage, and PalDB, delivering over 600× faster queries than Hive, supporting fast generation plugins, fault‑tolerant replication, and millisecond‑level RPC query responses while reducing storage by 67%.

Big DataNaixbitmap
0 likes · 16 min read
Meitu Distributed Bitmap System (Naix): Architecture, Implementation, and Performance Evaluation
DataFunTalk
DataFunTalk
Jul 13, 2018 · Big Data

Applying BitMap Indexing with HBase for Precise Marketing in Big Data

This article details a big‑data precise‑marketing solution that leverages HBase storage and Roaring BitMap indexing to efficiently handle billions of user records, describing project background, technology selection, architecture, partitioning strategy, and coprocessor implementation for fast multidimensional queries.

HBaseRoaring Bitmapbitmap
0 likes · 13 min read
Applying BitMap Indexing with HBase for Precise Marketing in Big Data
Qizhuo Club
Qizhuo Club
Mar 20, 2018 · Mobile Development

Extract Video Frames as Images with OpenGL and SurfaceTexture on Android

This guide explains how to convert video stream data into individual bitmap images on Android by using SurfaceTexture to receive decoded frames, OpenGL to render them as external textures, and glReadPixels to capture the RGBA data for saving as PNG files.

AndroidMediaCodecOpenGL
0 likes · 19 min read
Extract Video Frames as Images with OpenGL and SurfaceTexture on Android
ITPUB
ITPUB
Jun 2, 2017 · Databases

Essential Principles for Building Effective Oracle Indexes (B‑Tree & Bitmap)

This guide outlines practical principles for creating Oracle indexes, compares B‑Tree and bitmap index types, explains their creation syntax, highlights performance characteristics, and lists common situations where indexes may be ignored or unsuitable.

B+TreeDatabase PerformanceOracle
0 likes · 8 min read
Essential Principles for Building Effective Oracle Indexes (B‑Tree & Bitmap)
MaGe Linux Operations
MaGe Linux Operations
May 4, 2017 · Big Data

How to Process 100GB Logs and Massive Datasets with Hash Partitioning and Bloom Filters

This article explains the definition and 4V characteristics of big data and presents practical algorithms—including hash partitioning, min‑heap top‑K selection, bitmap extensions, and Bloom filter techniques—to efficiently handle ultra‑large log files, integer sets, and keyword searches within strict memory limits.

Big DataHash Partitioningalgorithm
0 likes · 12 min read
How to Process 100GB Logs and Massive Datasets with Hash Partitioning and Bloom Filters
Tencent TDS Service
Tencent TDS Service
Mar 23, 2017 · Mobile Development

How to Slash Android App Memory Usage: Real‑World Optimization Techniques

This article explains Android's memory allocation and reclamation mechanisms, enumerates common memory problems such as leaks, OOM, and bitmap handling, and demonstrates a comprehensive optimization case study on the JOOX music app that reduced average memory consumption by over 40 MB.

AndroidGarbage CollectionLeakCanary
0 likes · 24 min read
How to Slash Android App Memory Usage: Real‑World Optimization Techniques
Tencent TDS Service
Tencent TDS Service
Jan 14, 2016 · Mobile Development

How to Accurately Measure and Reduce Android Bitmap Memory Usage

This article explains Android's DisplayMetrics density values, shows how to calculate a Bitmap's runtime memory footprint using getByteCount, explores the impact of screen density, pixel format, and scaling, and provides practical techniques such as inSampleSize, matrix scaling, and pixel format selection to minimize memory consumption.

AndroidDisplayMetricsMemory Optimization
0 likes · 23 min read
How to Accurately Measure and Reduce Android Bitmap Memory Usage

Leveraging Bitmap for High‑Performance Multi‑Dimensional Analytics in Big Data

This article explains how bitmap data structures, combined with compression and in‑memory techniques, enable fast, flexible, and scalable multi‑dimensional analytics for large‑scale data platforms, addressing historical marketing inefficiencies and outlining future directions such as memory‑mapped files and distributed bitmap computation.

Distributed computingMulti-dimensional Analyticsbitmap
0 likes · 19 min read
Leveraging Bitmap for High‑Performance Multi‑Dimensional Analytics in Big Data