Tagged articles
16 articles
Page 1 of 1
Deepin Linux
Deepin Linux
May 10, 2026 · Fundamentals

Do You Really Understand pthread Internals? Master Linux Multithreading Basics

This article dives deep into Linux pthread fundamentals, covering process‑vs‑thread concepts, the POSIX API, kernel implementation via the clone syscall, thread lifecycle, synchronization primitives, common pitfalls such as deadlocks, stack overflows and thread leaks, and provides practical debugging and mitigation techniques with real code examples.

Linuxclone syscalldeadlock
0 likes · 55 min read
Do You Really Understand pthread Internals? Master Linux Multithreading Basics
Architect's Guide
Architect's Guide
Mar 23, 2025 · Fundamentals

Understanding Time Slices, Hyper‑Threading, and Context Switching in Multithreaded Systems

This article explains how modern multi‑core CPUs use time slices, hyper‑threading, and various context‑switching mechanisms—including preemptive and cooperative scheduling—to manage threads efficiently, and offers practical tips for reducing switching overhead and optimizing thread counts.

CPU time sliceHyper-threadingcontext switching
0 likes · 10 min read
Understanding Time Slices, Hyper‑Threading, and Context Switching in Multithreaded Systems
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 18, 2024 · Backend Development

Unlock Massive Concurrency with Java Virtual Threads: A Deep Dive

This article explores Java virtual threads introduced in JDK 21, detailing their architecture, implementation, practical usage with Thread and Executors APIs, performance comparisons against platform threads, best‑practice guidelines, and benchmark results demonstrating superior throughput for high‑concurrency server applications.

JDK21JavaVirtual Threads
0 likes · 24 min read
Unlock Massive Concurrency with Java Virtual Threads: A Deep Dive
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 5, 2024 · Backend Development

Unlock Massive Concurrency: How Java Virtual Threads Transform Backend Development

This article explains Java virtual threads, contrasting them with platform threads, and shows how to create, schedule, and use them effectively with Thread.Builder and Executors to achieve high‑throughput, low‑latency server applications while avoiding common pitfalls like pooling and pinning.

Backend DevelopmentJDK21Virtual Threads
0 likes · 14 min read
Unlock Massive Concurrency: How Java Virtual Threads Transform Backend Development
Deepin Linux
Deepin Linux
Dec 11, 2023 · Fundamentals

Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configuration, Synchronization, and Debugging

This article provides a comprehensive interview guide for embedded system positions, covering Linux thread scheduling, single‑core CPU execution, STM32 chip specifications, SPI communication, DMA, synchronization primitives, priority inversion solutions, debugging techniques, and memory layout fundamentals.

DebuggingLinuxSTM32
0 likes · 26 min read
Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configuration, Synchronization, and Debugging
政采云技术
政采云技术
Oct 31, 2023 · Fundamentals

Understanding Java Threads, Thread Models, and Scheduling

This article explains what threads are, how Java maps its threads to operating‑system thread models (1:1, N:1, N:M), the differences between kernel and user threads, thread scheduling, context switching, priority handling, and includes sample Java code to compare serial and multithreaded execution.

JavaOperating SystemThreads
0 likes · 19 min read
Understanding Java Threads, Thread Models, and Scheduling
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 28, 2023 · Fundamentals

Energy Aware Scheduling (EAS) in the Android Kernel: Concepts, Models, and Thread Selection

Energy Aware Scheduling (EAS) in the Android kernel uses the CPU energy model to select the most energy‑efficient CPU for each thread on heterogeneous big.LITTLE processors, considering capacity, OPP, power, and efficiency ratio; it migrates only if the migration saves more than 6% energy and overall CPU utilization stays below 80%, otherwise reverting to traditional load‑balancing.

Android kernelCPU Power ManagementEnergy Model
0 likes · 11 min read
Energy Aware Scheduling (EAS) in the Android Kernel: Concepts, Models, and Thread Selection
Java Architect Essentials
Java Architect Essentials
Apr 14, 2023 · Fundamentals

Understanding Time Slices, Hyper‑Threading, and Thread Context Switching

This article explains how modern multi‑core CPUs use time slices, hyper‑threading, and various types of context switching to achieve concurrency, discusses the performance overhead of frequent switches, and offers practical guidelines for optimizing thread count and reducing switching costs.

Hyper-threadingconcurrency optimizationcontext switching
0 likes · 11 min read
Understanding Time Slices, Hyper‑Threading, and Thread Context Switching
Alipay Experience Technology
Alipay Experience Technology
Aug 22, 2022 · Mobile Development

How Alipay Engineers Built a Fine‑Grained Scheduling System for Mobile Apps

This article details Alipay's evolution from basic thread pools to a sophisticated, multi‑layered scheduling framework that balances UI responsiveness, task prioritization, and resource control across Android devices, while outlining the technical challenges and future directions of fine‑grained scheduling.

AndroidPerformance Optimizationtask scheduling
0 likes · 13 min read
How Alipay Engineers Built a Fine‑Grained Scheduling System for Mobile Apps
Xianyu Technology
Xianyu Technology
May 27, 2021 · Backend Development

Understanding RxJava: Basics, Usage, and Thread Scheduling

RxJava brings reactive, event‑driven programming to Java by using Observables and Observers, offering operators, schedulers for thread control, and asynchronous, non‑blocking execution that avoids callback hell, improves performance, and fits UI events, I/O, RPC, and complex service orchestration, as demonstrated by Alibaba’s Xianyu.

AsynchronousJavaObserver Pattern
0 likes · 20 min read
Understanding RxJava: Basics, Usage, and Thread Scheduling
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 6, 2021 · Mobile Development

How Gaode Map Supercharges App Startup: Deep Dive into Mobile Launch Optimization

This article explores why fast app startup matters, using Gaode Map as a case study to detail techniques such as Universal/App Links, H5 launch page handling, download size reduction, Android .so loading hooks, thread scheduling, task orchestration, and the tooling needed for performance analysis on both iOS and Android.

Android optimizationapp startupiOS optimization
0 likes · 38 min read
How Gaode Map Supercharges App Startup: Deep Dive into Mobile Launch Optimization
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 15, 2020 · Fundamentals

Process and Thread Scheduling: Algorithms, Strategies, and Goals

This article provides a comprehensive overview of process and thread scheduling in operating systems, explaining the role of the scheduler, different scheduling algorithms such as FCFS, SJF, round‑robin, priority, multilevel‑queue and lottery, their classification for batch, interactive and real‑time environments, and the key performance goals like fairness, throughput and response time.

CPUOperating SystemReal-Time
0 likes · 31 min read
Process and Thread Scheduling: Algorithms, Strategies, and Goals
Sohu Tech Products
Sohu Tech Products
Jun 5, 2019 · Mobile Development

Understanding RxJava2: Core Concepts, Thread Scheduling, Backpressure, Transformers, and Hot vs Cold Observables

This article provides a comprehensive overview of RxJava2 for Android, covering its observer types, backpressure strategies, thread‑scheduling transformers, the compose() operator, differences between compose and flatMap, and the distinction between hot and cold observables with practical code examples.

AndroidObservablesRxJava2
0 likes · 6 min read
Understanding RxJava2: Core Concepts, Thread Scheduling, Backpressure, Transformers, and Hot vs Cold Observables