Tagged articles
118 articles
Page 2 of 2
Java Captain
Java Captain
Dec 31, 2018 · Fundamentals

Common Java Data Structures and Their Core Operations

This article systematically explains the most frequently used Java data structures—including LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap—detailing their internal implementations, typical operations, performance characteristics, and providing illustrative code snippets and animations.

ArrayListHashMapLinkedList
0 likes · 8 min read
Common Java Data Structures and Their Core Operations
Beike Product & Technology
Beike Product & Technology
Aug 24, 2018 · Mobile Development

How to Accurately Track Card Exposure in Android RecyclerView

This article explains the shortcomings of hard‑coded exposure tracking in the Beike Zhaofang Android app, benchmarks industry practices, proposes a flexible API‑driven strategy, and provides a complete RecyclerView scroll‑listener implementation with a double‑ended queue to record precise card visibility durations.

APIAndroidExposure Tracking
0 likes · 7 min read
How to Accurately Track Card Exposure in Android RecyclerView
Java Captain
Java Captain
Jul 18, 2018 · Fundamentals

Understanding Java Collections: LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap with Animations and Code Examples

This article systematically explains common Java collection classes—including LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap—highlighting their internal structures, key operations, performance characteristics, and JDK 8 differences, and it provides animated illustrations and full code snippets for each concept.

ArrayListCollectionsData Structures
0 likes · 9 min read
Understanding Java Collections: LinkedList, ArrayList, Stack, Queue, HashMap, and LinkedHashMap with Animations and Code Examples
MaGe Linux Operations
MaGe Linux Operations
Apr 15, 2018 · Fundamentals

Master Python Threading: From Basics to Advanced Synchronization

This article explains Python threading fundamentals, including thread context, kernel vs. user threads, the low‑level _thread module and the high‑level threading module, functional and class‑based thread creation, synchronization with locks, and using Queue for thread‑safe communication, all illustrated with complete code examples.

PythonQueueSynchronization
0 likes · 13 min read
Master Python Threading: From Basics to Advanced Synchronization
Java High-Performance Architecture
Java High-Performance Architecture
Feb 12, 2018 · Databases

5 Practical Redis Use Cases You Shouldn't Miss

Redis, a powerful in‑memory data store, offers versatile capabilities beyond simple key‑value storage, and this article explores five common real‑world scenarios—full‑page caching, leaderboards, session storage, queues, and pub/sub—demonstrating how to leverage its rich data structures for faster, more reliable applications.

PubSubQueueSession
0 likes · 4 min read
5 Practical Redis Use Cases You Shouldn't Miss
Architecture Digest
Architecture Digest
Sep 8, 2017 · Backend Development

Optimizing a High‑Concurrency Lottery System: Caching, Queueing, Optimistic Locking, and Read/Write Splitting

The article analyzes a lottery‑service bottleneck caused by massive concurrent database reads and writes and presents a comprehensive set of backend optimization techniques—including caching, queue‑based peak‑shaving, optimistic locking, asynchronous processing, read‑write splitting, and semaphore‑based rate limiting—to improve throughput and stability under high load.

BackendQueuecaching
0 likes · 9 min read
Optimizing a High‑Concurrency Lottery System: Caching, Queueing, Optimistic Locking, and Read/Write Splitting
Architecture Digest
Architecture Digest
Mar 12, 2017 · Backend Development

Design and Technical Challenges of High‑Concurrency Flash Sale (Seckill) Systems

This article analyzes the business model of flash‑sale (seckill) operations, enumerates the technical challenges such as impact on existing services, high‑concurrency load, bandwidth, order‑URL security, and proposes architectural principles, layered designs, queue choices, database sharding, scaling, overload protection, anti‑cheat measures, and data‑safety techniques to build a robust backend system.

BackendQueueSystem Architecture
0 likes · 31 min read
Design and Technical Challenges of High‑Concurrency Flash Sale (Seckill) Systems
Meituan Technology Team
Meituan Technology Team
Nov 18, 2016 · Backend Development

Understanding the Disruptor: High‑Performance Java Queue and Its Implementation

The Disruptor library provides a lock‑free, CAS‑driven ring‑buffer queue that eliminates lock contention and false sharing, delivering 4–7× higher throughput and nanosecond‑level latency compared to Java’s built‑in queues, and is employed by systems such as Log4j 2, Apache Storm, and Meituan‑Dianping.

DisruptorQueueconcurrency
0 likes · 21 min read
Understanding the Disruptor: High‑Performance Java Queue and Its Implementation
21CTO
21CTO
Mar 23, 2016 · Fundamentals

Master PHP Data Structures: Stack, Queue, and Min-Heap with SPL

This article explains the concept of heaps, especially min‑heaps, and demonstrates how PHP's SPL provides ready‑made implementations for stacks, queues, min‑heaps, and fixed‑size arrays with clear code examples.

Data StructuresHeapPHP
0 likes · 3 min read
Master PHP Data Structures: Stack, Queue, and Min-Heap with SPL
MaGe Linux Operations
MaGe Linux Operations
Aug 31, 2015 · Fundamentals

Master Python Multiprocessing: Processes, Locks, Queues, and More

This article explains how to use Python's multiprocessing module to achieve true parallelism, covering Process creation, inter‑process synchronization primitives such as Lock, Semaphore, Event, communication tools like Queue and Pipe, and advanced patterns with Pool, all illustrated with runnable code examples.

LockPoolQueue
0 likes · 17 min read
Master Python Multiprocessing: Processes, Locks, Queues, and More
Architect
Architect
Jul 30, 2015 · Backend Development

Redis‑Backed Timeline Implementation with MongoDB for a Subscription Feed

This article explains how to implement a scalable timeline for a subscription feed by combining MongoDB storage with a Redis list cache, detailing the data model, query challenges, Redis operations for pushing and trimming statuses, rebuilding strategies, and handling data integrity trade‑offs.

CacheMongoDBQueue
0 likes · 7 min read
Redis‑Backed Timeline Implementation with MongoDB for a Subscription Feed
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 10, 2015 · Cloud Computing

Designing Scalable and Highly Available Systems on Azure: Patterns, Anti‑Patterns, and Practical Guidance

This article examines key considerations for building highly scalable and available systems on Azure, outlining four architectural dimensions—scalability, availability, manageability, and feasibility—while discussing patterns, anti‑patterns, measurable resources, queue‑based load balancing, authentication services, and common pitfalls such as configuration errors and SQL injection.

AvailabilityAzureQueue
0 likes · 8 min read
Designing Scalable and Highly Available Systems on Azure: Patterns, Anti‑Patterns, and Practical Guidance
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Apr 30, 2015 · Operations

Understanding and Tuning Linux TCP Queue and Buffer Parameters

This article explains the Linux TCP connection‑establishment, packet‑receive, and packet‑send paths, categorizes related kernel parameters such as backlog, SYN‑cookie, ring buffers, and socket buffers, and provides practical commands and guidelines for optimizing network performance on servers.

Kernel ParametersLinuxQueue
0 likes · 13 min read
Understanding and Tuning Linux TCP Queue and Buffer Parameters