Tagged articles
87 articles
Page 1 of 1
ByteDance SE Lab
ByteDance SE Lab
Apr 3, 2026 · Fundamentals

Douyin’s Deep Dive: Expanding Android ART Heap, FD Limits & M:N Threading on Legacy Devices

This article details how Douyin engineers tackled Android’s limited heap, file‑descriptor, and thread constraints on older phones by expanding ART malloc and region spaces, enlarging FD/FD_SET limits, and implementing a transparent M:N user‑level threading model, achieving significant stability and performance gains.

ARTAndroidFD Limits
0 likes · 33 min read
Douyin’s Deep Dive: Expanding Android ART Heap, FD Limits & M:N Threading on Legacy Devices
Open Source Tech Hub
Open Source Tech Hub
Dec 11, 2025 · Fundamentals

Why ‘Share Nothing’ Should Be the Default Concurrency Model for Modern Servers

Exploring the historical shift from memory‑constrained SMP systems and POSIX threads to today’s powerful hardware, this article argues that the ‘share‑nothing’ concurrency principle—embodied in Go’s CSP model and PHP’s parallel extension—should replace legacy lock‑based paradigms as the default approach.

GoPHP parallelPOSIX threads
0 likes · 11 min read
Why ‘Share Nothing’ Should Be the Default Concurrency Model for Modern Servers
Python Programming Learning Circle
Python Programming Learning Circle
Sep 15, 2025 · Backend Development

When to Use Threads, Processes, or Asyncio in Python? A Complete Guide

This article explains the differences between concurrency and parallelism, the impact of Python's Global Interpreter Lock, and provides a detailed comparison of threading, multiprocessing, and asyncio with code examples, performance tests, decision flowcharts, mixed‑usage patterns, common pitfalls, and best‑practice recommendations for choosing the right approach.

GILasynciomultiprocessing
0 likes · 11 min read
When to Use Threads, Processes, or Asyncio in Python? A Complete Guide
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 12, 2025 · Fundamentals

When Should You Use Threads, Processes, or Asyncio in Python? A Practical Guide

This article explains the difference between concurrency and parallelism, the impact of Python's GIL, and provides a detailed comparison of threading, multiprocessing, and asyncio with code examples, performance tests, decision flowcharts, best‑practice tips, and a summary table to help you choose the right concurrency model for your tasks.

Pythonthreading
0 likes · 14 min read
When Should You Use Threads, Processes, or Asyncio in Python? A Practical Guide
Cognitive Technology Team
Cognitive Technology Team
May 6, 2025 · Backend Development

Understanding Java's AbstractQueuedSynchronizer (AQS): Core Components, Design, and Practical Applications

AbstractQueuedSynchronizer (AQS) is the core framework for building Java locks and synchronizers, providing state management, FIFO queuing, and blocking/unblocking mechanisms; this article explains its components, design patterns, thread safety operations, and real-world implementations such as ReentrantLock and Semaphore, with code examples.

AQSJavaLocks
0 likes · 11 min read
Understanding Java's AbstractQueuedSynchronizer (AQS): Core Components, Design, and Practical Applications
Raymond Ops
Raymond Ops
Apr 27, 2025 · Fundamentals

9 Powerful Python Techniques to Copy Files Efficiently

Learn nine distinct Python approaches for copying files—including shutil functions, os commands, threading, and subprocess methods—while understanding their performance implications, error handling, platform compatibility, and when to choose each technique for optimal I/O efficiency.

copyfilefile I/Oshutil
0 likes · 12 min read
9 Powerful Python Techniques to Copy Files Efficiently
php Courses
php Courses
Apr 18, 2025 · Fundamentals

Understanding Multithreading in Python with the threading Module

This article explains Python's multithreading concepts, covering thread creation via subclassing Thread or using target functions, synchronization mechanisms like Lock, RLock, and Condition, and discusses the impact of the Global Interpreter Lock, helping readers apply threading effectively for I/O‑bound tasks.

GILPythonSynchronization
0 likes · 9 min read
Understanding Multithreading in Python with the threading Module
Python Programming Learning Circle
Python Programming Learning Circle
Apr 17, 2025 · Fundamentals

Understanding Processes, Threads, and the GIL in Python

This article explains the concepts of processes and threads, describes Python's Global Interpreter Lock (GIL) and its impact on concurrency, compares the low‑level _thread module with the higher‑level threading module, and provides example code illustrating thread creation, synchronization with locks, and common pitfalls.

GILLockconcurrency
0 likes · 5 min read
Understanding Processes, Threads, and the GIL in Python
IT Services Circle
IT Services Circle
Jan 7, 2025 · Backend Development

Replacing Thread.sleep Loops with Proper Scheduling in Java

The article explains why using Thread.sleep in a loop causes busy‑waiting and performance problems, and demonstrates several Java scheduling alternatives—including Timer/TimerTask, ScheduledExecutorService, wait/notify, and CompletableFuture—to efficiently check a flag at fixed intervals.

CompletableFutureJavaScheduledExecutorService
0 likes · 9 min read
Replacing Thread.sleep Loops with Proper Scheduling in Java
Architecture Digest
Architecture Digest
Nov 27, 2024 · Fundamentals

Understanding Thread Context Switching, Time Slices, and Scheduling in Modern CPUs

The article explains how multi‑core CPUs use time slices and hyper‑threading to run multiple threads, describes the mechanics and costs of thread context switching, compares preemptive and cooperative scheduling, and offers practical tips for reducing switching overhead and optimizing thread counts.

CPU schedulingHyper-threadingcontext switching
0 likes · 10 min read
Understanding Thread Context Switching, Time Slices, and Scheduling in Modern CPUs
Test Development Learning Exchange
Test Development Learning Exchange
Oct 15, 2024 · Fundamentals

Python Fundamentals: Decorators, List Comprehensions, Generators, Exception Handling, Modules, Threading, Copying, Garbage Collection, *args/**kwargs, Closures, Methods, Process vs Thread, Database Differences, Data Structures, and API Testing

This article provides a comprehensive overview of essential Python concepts—including decorators, list comprehensions, generators, exception handling, modules, threading, shallow and deep copying, garbage collection, variable arguments, closures, method types, process‑thread differences, relational vs NoSQL databases, array vs linked‑list structures, and the distinction between HTTP and Web Service API testing—illustrated with clear explanations and runnable code examples.

Data StructuresGeneratorsPython
0 likes · 10 min read
Python Fundamentals: Decorators, List Comprehensions, Generators, Exception Handling, Modules, Threading, Copying, Garbage Collection, *args/**kwargs, Closures, Methods, Process vs Thread, Database Differences, Data Structures, and API Testing
Sanyou's Java Diary
Sanyou's Java Diary
Oct 14, 2024 · Fundamentals

Unlocking Java’s AQS: How AbstractQueuedSynchronizer Powers Locks and Synchronizers

This article explains Java's AbstractQueuedSynchronizer (AQS) framework, detailing its FIFO queue, state handling, entry‑wait queue, exclusive and shared lock acquisition, condition‑variable queues, and how core concurrency utilities like ReentrantLock, ReadWriteLock, CountDownLatch, Semaphore, and ThreadPoolExecutor are built on it.

AQSLocksSynchronization
0 likes · 31 min read
Unlocking Java’s AQS: How AbstractQueuedSynchronizer Powers Locks and Synchronizers
Python Programming Learning Circle
Python Programming Learning Circle
Sep 3, 2024 · Fundamentals

Simplifying Python Parallelism with map and ThreadPool

This article explains why traditional Python multithreading tutorials are often overly complex, introduces the concise map‑based approach using multiprocessing and multiprocessing.dummy ThreadPool, demonstrates performance gains with real‑world examples, and provides ready‑to‑run code snippets for efficient parallel execution.

MAPParallelismmultiprocessing
0 likes · 10 min read
Simplifying Python Parallelism with map and ThreadPool
MaGe Linux Operations
MaGe Linux Operations
Jul 25, 2024 · Fundamentals

Unlock Python Multithreading: A Complete Guide to Threads, Locks, and Queues

This article provides a comprehensive overview of Python multithreading, covering basic concepts, the _thread and threading modules, thread creation methods, synchronization primitives like Lock and RLock, thread-local storage, thread pools, and the differences between multithreading and multiprocessing for both CPU‑bound and I/O‑bound workloads.

LockPythonQueue
0 likes · 24 min read
Unlock Python Multithreading: A Complete Guide to Threads, Locks, and Queues
Tencent Music Tech Team
Tencent Music Tech Team
Dec 19, 2023 · Mobile Development

Understanding and Optimizing Android Jank (Lag) in Mobile Applications

The article explains Android jank, defines Google and PerfDog metrics, identifies direct and indirect causes, recommends profiling tools such as Systrace, Perfetto and APM, and details a Wesing case study where breaking tasks, lazy loading, view‑hierarchy reduction and thread off‑loading cut PerfDog jank by roughly half, concluding with a checklist for systematic detection and mitigation.

AndroidJankMemory
0 likes · 13 min read
Understanding and Optimizing Android Jank (Lag) in Mobile Applications
Test Development Learning Exchange
Test Development Learning Exchange
Nov 23, 2023 · Backend Development

Python Multithreading Techniques for Concurrent API Calls, File Downloads, Test Execution, and Database Inserts

This article explains Python's multithreading model, covering thread creation, synchronization, data sharing, and provides practical code examples for sending concurrent API requests, downloading files, running test cases, reading files, and inserting records into a SQLite database.

APIFile DownloadPython
0 likes · 6 min read
Python Multithreading Techniques for Concurrent API Calls, File Downloads, Test Execution, and Database Inserts
Architecture Digest
Architecture Digest
Sep 6, 2023 · Fundamentals

Common Programming Mistakes and the Lessons They Teach

This article reviews a series of typical programming blunders—such as incorrect local file includes, misuse of obscure characters, over‑reliance on long if‑else chains, meaningless variable names, hard‑coded outputs, thread‑sleep misuse, and missing return statements—highlighting the practical lessons each mistake provides for developers.

code qualityif-elseprogramming mistakes
0 likes · 4 min read
Common Programming Mistakes and the Lessons They Teach
Python Programming Learning Circle
Python Programming Learning Circle
Aug 21, 2023 · Backend Development

Python Multithreading for Web Scraping: Concepts, Code Samples, and Performance Comparison

This tutorial explains process and thread fundamentals, compares single‑threaded and multithreaded Python crawlers, provides complete code examples for both approaches, and demonstrates how converting a single‑threaded scraper to multithreading can significantly reduce execution time when handling large data volumes.

Web Scrapingconcurrencythreading
0 likes · 9 min read
Python Multithreading for Web Scraping: Concepts, Code Samples, and Performance Comparison
Liangxu Linux
Liangxu Linux
Aug 8, 2023 · Fundamentals

Mastering Pthreads: Complete Guide to Thread Creation, Sync, and Management on Linux

This article explains why traditional Unix fork/exec models are costly, introduces POSIX threads (Pthreads) as a lightweight alternative, and provides detailed guidance on thread data structures, creation, termination, synchronization primitives, and attribute configuration with practical code examples for Linux developers.

Synchronizationconcurrencymultithreading
0 likes · 20 min read
Mastering Pthreads: Complete Guide to Thread Creation, Sync, and Management on Linux
MaGe Linux Operations
MaGe Linux Operations
Jul 28, 2023 · Fundamentals

Mastering POSIX Threads in Linux: A Complete Guide to Pthreads

This article explains the limitations of the traditional Unix fork model, introduces POSIX threads as lightweight processes, details their data structures, core functions, creation, termination, synchronization primitives, attributes, and provides extensive C code examples for practical multithreaded programming on Linux.

C programmingPOSIXpthreads
0 likes · 22 min read
Mastering POSIX Threads in Linux: A Complete Guide to Pthreads
Baidu App Technology
Baidu App Technology
Jul 5, 2023 · Mobile Development

Baidu App Android Startup Performance Optimization: Theory, Tools, and Practical Implementations

Baidu dramatically accelerated its Android app’s launch by dissecting the cold‑start sequence, applying full‑path analysis, leveraging tracing tools, introducing a priority‑aware task‑scheduling framework, replacing SharedPreferences with the binary UniKV store, eliminating lock contention, and tightening thread, I/O, and library loading, which together cut ANR rates and boosted user retention.

ANRAndroidKV storage
0 likes · 24 min read
Baidu App Android Startup Performance Optimization: Theory, Tools, and Practical Implementations
Test Development Learning Exchange
Test Development Learning Exchange
May 20, 2023 · Information Security

Build a Simple Python Port Scanner: Step‑by‑Step Guide

This article explains how to create a Python‑based network port scanner that probes a target host, uses sockets and multithreading to detect open TCP ports, and provides clear usage instructions, sample code, and optional enhancements for faster or more comprehensive scanning.

Argument ParsingPort ScannerPython
0 likes · 9 min read
Build a Simple Python Port Scanner: Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jan 14, 2023 · Databases

Understanding Redis: Is It Truly Single-Threaded?

This article clarifies the common misconception that Redis is purely single‑threaded by detailing its single‑threaded network I/O model, the evolution of multithreading support across versions, the client‑server request flow, and the underlying Reactor patterns that enable efficient concurrency.

Reactor Modelconcurrencydatabase
0 likes · 14 min read
Understanding Redis: Is It Truly Single-Threaded?
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 11, 2022 · Fundamentals

Why Python Multiprocessing Needs target=func Without Parentheses

This article explains a common Python multiprocessing pitfall, showing how using target=function_name without parentheses correctly launches a new process, and illustrates the difference between passing a function object versus calling the function, accompanied by screenshots of the discussion, runtime output, and a concise solution.

Tutorialconcurrencymultiprocessing
0 likes · 3 min read
Why Python Multiprocessing Needs target=func Without Parentheses
IT Services Circle
IT Services Circle
May 31, 2022 · Fundamentals

Understanding Coroutines, Event Loops, and Asynchronous I/O

This article explains why simple serial file reads are slow, compares multithreaded and event‑loop based approaches, introduces the Reactor pattern and callbacks, and finally shows how coroutines provide a synchronous‑style solution for efficient, non‑blocking I/O processing.

CoroutinesReactor Patternasynchronous I/O
0 likes · 12 min read
Understanding Coroutines, Event Loops, and Asynchronous I/O
Java Backend Technology
Java Backend Technology
Mar 5, 2022 · Fundamentals

Uncovering Thread.Sleep: How Sleep Affects CPU Scheduling and App Performance

Thread.Sleep pauses a thread for a specified duration, signaling the OS to exclude it from CPU competition, and Thread.Sleep(0) forces an immediate rescheduling, which can improve UI responsiveness by yielding control to other threads; the article explains these behaviors using time‑slice and preemptive scheduling analogies.

CPU schedulingOS fundamentalsconcurrency
0 likes · 10 min read
Uncovering Thread.Sleep: How Sleep Affects CPU Scheduling and App Performance
21CTO
21CTO
Jan 1, 2022 · Fundamentals

Master Python Concurrency: Threads, Processes, GIL, and Multiprocessing Explained

This article provides a comprehensive guide to Python concurrency, covering the fundamental differences between threads and processes, the impact of the Global Interpreter Lock, and detailed usage of the multiprocessing module with its various components and synchronization primitives.

GILconcurrencymultiprocessing
0 likes · 38 min read
Master Python Concurrency: Threads, Processes, GIL, and Multiprocessing Explained
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2021 · Fundamentals

Understanding Python Threads, Processes, GIL, and Multiprocessing

This article explains the fundamental differences between threads and processes, the role of Python's Global Interpreter Lock (GIL), and how to use the multiprocessing package—including Process, Pool, Queue, Pipe, and synchronization primitives—as well as an overview of concurrent.futures for high‑level concurrent programming in Python.

GILPythonconcurrency
0 likes · 38 min read
Understanding Python Threads, Processes, GIL, and Multiprocessing
MaGe Linux Operations
MaGe Linux Operations
Oct 9, 2021 · Fundamentals

Master Python Thread Synchronization: Locks, RLocks, Conditions, Events & Semaphores Explained

This article delves into Python's threading module, explaining thread safety, the role of various lock types—including Lock, RLock, Condition, Event, and Semaphore—along with their methods, usage patterns, common pitfalls like deadlocks, and practical code examples to illustrate proper synchronization techniques.

LocksSynchronizationconcurrency
0 likes · 25 min read
Master Python Thread Synchronization: Locks, RLocks, Conditions, Events & Semaphores Explained
Kuaishou Tech
Kuaishou Tech
Sep 10, 2021 · Mobile Development

Analyzing and Resolving a Main Thread ↔ JavaScriptCore Heap Collector Thread Deadlock on iOS 13

This article investigates a deadlock between the Main Thread and the JavaScriptCore Heap Collector Thread on iOS 13, explains the underlying mutex and RunLoop interactions, reproduces the issue with CFTimer‑based timers, and proposes an AutoReleasePool‑wrapped solution along with best‑practice recommendations for JavaScriptCore usage.

Memory ManagementRunLoopdeadlock
0 likes · 17 min read
Analyzing and Resolving a Main Thread ↔ JavaScriptCore Heap Collector Thread Deadlock on iOS 13
Python Crawling & Data Mining
Python Crawling & Data Mining
May 14, 2021 · Fundamentals

Master Python Threading: From Basics to Advanced Techniques

This article provides a comprehensive guide to Python threading, covering core concepts such as thread creation, synchronization primitives like locks, RLocks, conditions, semaphores, events, local storage, and timers, complete with practical code examples and explanations of their usage and pitfalls.

LockPythonSynchronization
0 likes · 12 min read
Master Python Threading: From Basics to Advanced Techniques
FunTester
FunTester
Apr 6, 2021 · Operations

How Thread Count, Request Volume, and Latency Shape Performance Test Accuracy

This article presents a systematic analysis of how thread numbers, request counts, response times, and response‑time variance affect performance‑testing error rates, using a Java demo that simulates single‑API calls and reports detailed JSON metrics for each configuration.

BenchmarkingJavaLoad Testing
0 likes · 16 min read
How Thread Count, Request Volume, and Latency Shape Performance Test Accuracy
Selected Java Interview Questions
Selected Java Interview Questions
Mar 8, 2021 · Databases

Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture and Implementation

This article explains how Redis evolves from a single‑threaded event‑driven cache to using Lazy Free for asynchronous key deletion and multi‑threaded I/O for improved performance, detailing the underlying mechanisms, code implementations, limitations, and comparisons with Tair's threading model.

Database PerformanceLazy FreeMultithreaded I/O
0 likes · 16 min read
Understanding Redis Lazy Free and Multi‑Threaded I/O: Architecture and Implementation
High Availability Architecture
High Availability Architecture
Jan 25, 2021 · Fundamentals

Understanding .NET async/await Through a Single Diagram

This article uses a single illustrative diagram to explain how .NET's async/await works, detailing thread release during I/O, overlapped I/O via IOCP on Windows, continuation scheduling, and differences on Linux with epoll, highlighting scalability and thread reuse benefits.

IOCPasync/awaitasynchronous programming
0 likes · 6 min read
Understanding .NET async/await Through a Single Diagram
JavaEdge
JavaEdge
Dec 22, 2020 · Backend Development

Demystifying Netty's Main, Boss, and Worker Threads in Java NIO

This article explains how Netty creates and uses the main thread, boss thread, and worker threads through NioEventLoopGroup and selectors, detailing the initialization of ServerSocketChannel, event registration, and the transition from OP_ACCEPT registration to active listening.

BackendJavaNetty
0 likes · 3 min read
Demystifying Netty's Main, Boss, and Worker Threads in Java NIO
Java Captain
Java Captain
Dec 13, 2020 · Game Development

Step‑by‑Step Java Swing Game Development Tutorial: Building the “RunDay” Runner Game with MVC Architecture

This tutorial walks through the complete development of a Java Swing runner game called RunDay, covering requirement documentation, MVC design, login, start screen, loading screen with threading, main gameplay including background scrolling, player animation, multiple obstacle types, collision detection, pause/continue logic, and the final end‑screen UI, all illustrated with full source code snippets.

Game DevelopmentJavaMVC
0 likes · 41 min read
Step‑by‑Step Java Swing Game Development Tutorial: Building the “RunDay” Runner Game with MVC Architecture
JD Retail Technology
JD Retail Technology
Dec 1, 2020 · Fundamentals

In‑Depth Source Code Analysis of Kotlin Coroutines: Launch, Suspension, and Resumption

This article provides a comprehensive source‑code walkthrough of Kotlin coroutines, explaining how launch creates a coroutine, how the compiler transforms suspend functions into state‑machine classes, and detailing the mechanisms of suspension and resumption through Continuation, Dispatchers, and the coroutine scheduler.

AsyncCoroutinesDispatcher
0 likes · 46 min read
In‑Depth Source Code Analysis of Kotlin Coroutines: Launch, Suspension, and Resumption
Beike Product & Technology
Beike Product & Technology
Nov 13, 2020 · Mobile Development

Designing a Network Framework from Scratch and Analyzing OkHttp & Retrofit Implementations

This article explains how to design a network framework from the ground up, explores the three‑layer understanding of frameworks, details the core components, thread scheduling, request/response processing chains, and then deep‑dives into OkHttp and Retrofit implementations, their limitations, and extensibility techniques.

Design PatternsInterceptorNetwork Framework
0 likes · 15 min read
Designing a Network Framework from Scratch and Analyzing OkHttp & Retrofit Implementations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 12, 2020 · Fundamentals

Ordered Thread Execution in Java: join, CountDownLatch, Single Thread Pool, and CompletableFuture

This article explains how to enforce a specific execution order among three Java threads—first thread 1, then thread 2, and finally thread 3—using four techniques: the join method, CountDownLatch, a single‑thread executor, and CompletableFuture, each illustrated with complete code examples.

CompletableFutureCountDownLatchJOIN
0 likes · 6 min read
Ordered Thread Execution in Java: join, CountDownLatch, Single Thread Pool, and CompletableFuture
macrozheng
macrozheng
Jun 10, 2020 · Fundamentals

What Does Thread.Sleep(0) Actually Do? Unveiling Thread Scheduling Basics

This article explains the purpose of Thread.Sleep, clarifies common misconceptions about its timing behavior, compares Unix time‑slice and Windows preemptive scheduling using a cake‑eating analogy, and shows why Thread.Sleep(0) can trigger an immediate CPU‑competition reschedule to improve responsiveness.

CPU schedulingOperating Systempreemptive multitasking
0 likes · 10 min read
What Does Thread.Sleep(0) Actually Do? Unveiling Thread Scheduling Basics
Java Backend Technology
Java Backend Technology
Jun 4, 2020 · Fundamentals

What Really Happens When You Call Thread.Sleep(0)? OS Scheduling Explained

Thread.Sleep pauses a thread for a specified time, influencing CPU competition; understanding its behavior—including the surprising effects of Sleep(0) and how operating systems schedule threads via time‑slicing or preemptive strategies—reveals why Sleep can affect responsiveness and why it’s used in tight loops.

CPU schedulingOperating Systemthread-sleep
0 likes · 10 min read
What Really Happens When You Call Thread.Sleep(0)? OS Scheduling Explained
Python Crawling & Data Mining
Python Crawling & Data Mining
May 28, 2020 · Backend Development

Multithreaded Python Crawl of Xiaomi App Store Games

This tutorial demonstrates how to use Python's requests, threading, and queue modules to build a multithreaded crawler that extracts game names, download links, and execution time from the Xiaomi App Store, complete with code examples and performance tips.

PythonWeb ScrapingXiaomi App Store
0 likes · 7 min read
Multithreaded Python Crawl of Xiaomi App Store Games
Sohu Tech Products
Sohu Tech Products
Sep 18, 2019 · Frontend Development

Designing a Mini‑Program Engine: From Single‑Thread to Dual‑Thread Architecture and Vue Modifications

The article recounts the author’s journey of building a mini‑program engine, detailing the challenges of using Vue in a sandboxed environment, the trade‑offs between single‑thread and dual‑thread models, and the architectural decisions made to balance security, performance, and native capabilities.

frontendmini-programsandbox
0 likes · 16 min read
Designing a Mini‑Program Engine: From Single‑Thread to Dual‑Thread Architecture and Vue Modifications
360 Tech Engineering
360 Tech Engineering
Sep 11, 2019 · Frontend Development

Designing a Secure Mini‑Program Engine: From Single‑Thread to Dual‑Thread Architecture with Vue

This article chronicles the architectural evolution of a web‑based mini‑program engine, detailing the challenges of sandboxing Vue, restricting unsafe tags, handling performance and native capability limits, and ultimately adopting a dual‑thread model to achieve security and control while preserving developer experience.

MiniProgramVueperformance
0 likes · 16 min read
Designing a Secure Mini‑Program Engine: From Single‑Thread to Dual‑Thread Architecture with Vue
NetEase Game Operations Platform
NetEase Game Operations Platform
Sep 8, 2019 · Fundamentals

Understanding Python Threading and the Role of setDaemon()

This article explores Python's threading model, explains why threads may not exit automatically, demonstrates how the setDaemon() method turns threads into daemon threads to allow graceful shutdown, and delves into the interpreter's shutdown process and underlying C implementation details.

Pythondaemonprogramming
0 likes · 9 min read
Understanding Python Threading and the Role of setDaemon()
FunTester
FunTester
Jul 24, 2019 · Backend Development

Groovy‑Based Automated API Testing Framework for Password Modification

This article presents a Groovy‑driven, modular API testing framework that automates login, token handling, and password‑change requests using multithreaded execution, and includes full source code for the test driver, UserCenter, and OkayBase classes.

API testingAutomationBackend
0 likes · 5 min read
Groovy‑Based Automated API Testing Framework for Password Modification
Architecture Digest
Architecture Digest
Jul 23, 2019 · Fundamentals

Java Fundamentals: OOP Concepts, JVM/JDK/JRE, and Common Interview Topics

This article provides a comprehensive overview of core Java concepts for interview preparation, covering object‑oriented programming fundamentals, differences between OOP and procedural programming, detailed explanations of JVM, JDK, JRE, comparisons with C++, string handling, constructors, inheritance, polymorphism, threading, garbage collection, and related code examples.

Garbage CollectionJDKJRE
0 likes · 36 min read
Java Fundamentals: OOP Concepts, JVM/JDK/JRE, and Common Interview Topics
21CTO
21CTO
Apr 28, 2019 · Fundamentals

How Does a Single Java Line Execute? From CPU to JVM Explained

This article walks through the complete journey of a single Java statement—from high‑level source code, through compilation to bytecode, JVM interpretation and JIT compilation, down to CPU instruction fetching, decoding, execution, caching, memory hierarchy, threading, interrupts, and the underlying Linux process model.

CPUJVMJava
0 likes · 34 min read
How Does a Single Java Line Execute? From CPU to JVM Explained
Architecture Digest
Architecture Digest
Apr 28, 2019 · Fundamentals

Understanding How a Single Java Statement Is Executed: From CPU Architecture to JVM Memory Model

This article explains the complete execution path of a single Java line—from the Von Neumann CPU components, instruction fetch‑decode‑execute pipeline, Java bytecode generation, JVM class loading and interpretation, memory layout and caching, to Linux process memory management, thread scheduling, synchronization mechanisms and timer implementation—providing a deep technical foundation for Java performance tuning.

CPUJVMJava
0 likes · 33 min read
Understanding How a Single Java Statement Is Executed: From CPU Architecture to JVM Memory Model
Wukong Talks Architecture
Wukong Talks Architecture
Apr 27, 2019 · Fundamentals

C# Multithreading Journey (2) – Creating and Starting Threads

This article explains how to create and start threads in C#, covering ThreadStart delegates, lambda expressions, passing parameters, naming threads, foreground/background distinctions, thread priority, and exception handling, with clear code examples and best‑practice recommendations.

CException HandlingLambda
0 likes · 13 min read
C# Multithreading Journey (2) – Creating and Starting Threads
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 26, 2018 · Backend Development

Top 15 Java Thread Interview Questions Every Developer Must Master

This article compiles the most frequently asked Java multithreading and concurrency interview questions—covering thread ordering, locks, wait/sleep differences, blocking queues, producer‑consumer patterns, deadlocks, atomic operations, volatile, race conditions, thread dumps, and more—providing concise explanations and code hints to help candidates ace banking and high‑frequency trading developer interviews.

interviewmultithreadingthreading
0 likes · 12 min read
Top 15 Java Thread Interview Questions Every Developer Must Master
MaGe Linux Operations
MaGe Linux Operations
Aug 5, 2018 · Operations

How to Build a Threaded Python Site‑Monitoring Script with Email Alerts

This article explains how to create a Python script that monitors multiple websites, detects downtime, sends email alerts, and uses threading for concurrent checks, illustrating the implementation of site_up and site_down functions and how to manage dynamic monitoring lists in an operations context.

email alertssite monitoringthreading
0 likes · 6 min read
How to Build a Threaded Python Site‑Monitoring Script with Email Alerts
MaGe Linux Operations
MaGe Linux Operations
May 19, 2018 · Fundamentals

How a Four‑Year Hunt Fixed a Hidden Python GIL Race Condition

The article recounts a four‑year investigation that uncovered and repaired a subtle race‑condition bug in Python's Global Interpreter Lock, detailing the bug's origin, the implemented fixes, performance testing, and the decision to make the GIL creation unconditional in Python 3.7.

CPythonGILPython
0 likes · 10 min read
How a Four‑Year Hunt Fixed a Hidden Python GIL Race Condition
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
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 12, 2018 · Fundamentals

Understanding Java Processes vs Threads and Key Concurrency Methods

This article explains the fundamental differences between processes and threads, compares Thread and Runnable in Java, outlines thread lifecycle states, and details common concurrency methods such as sleep, join, yield, interrupt, wait, and synchronized, helping developers write robust multithreaded code.

JavaSynchronizationmultithreading
0 likes · 12 min read
Understanding Java Processes vs Threads and Key Concurrency Methods
Java Captain
Java Captain
Jul 24, 2017 · Fundamentals

Lesser‑Known Java Thread Techniques and Usage

This article explores five advanced Java thread topics—including naming, priority, ThreadLocal storage, daemon vs. user threads, and processor affinity—providing code examples, practical tips, and guidance for both beginners and seasoned developers.

DaemonThreadProcessorAffinityThreadLocal
0 likes · 12 min read
Lesser‑Known Java Thread Techniques and Usage
Hujiang Technology
Hujiang Technology
Jul 13, 2017 · Mobile Development

Resolving Threading and FindClass Issues in Android NDK

The article explains how upgrading the Android NDK introduces threading pitfalls such as ANR and FindClass failures, and provides step‑by‑step solutions using main‑thread class lookup, global references, and thread attachment to safely execute JNI calls in background threads.

AndroidFindClassJNI
0 likes · 4 min read
Resolving Threading and FindClass Issues in Android NDK
Qunar Tech Salon
Qunar Tech Salon
Mar 22, 2017 · Mobile Development

Analyzing the Source Code of the Picasso Image Loading Library in Android

This article examines the internal implementation of the Android Picasso image‑loading library, detailing its singleton initialization, request creation, builder pattern usage, caching mechanisms, delayed loading, and the workflow of actions, handlers, and thread execution to illustrate how images are fetched and displayed.

AndroidBuilder PatternImage Loading
0 likes · 8 min read
Analyzing the Source Code of the Picasso Image Loading Library in Android
Tencent TDS Service
Tencent TDS Service
Sep 1, 2016 · Mobile Development

Master MVP with RxJava: Build Decoupled Android Apps Quickly

This article explains how to combine MVP architecture with RxJava in Android development, covering framework selection, step‑by‑step MVP construction, thread management using RxJava, and practical Q&A on testing, modularization, and memory‑leak prevention, providing a comprehensive guide for building decoupled, responsive mobile apps.

AndroidMVPRxJava
0 likes · 15 min read
Master MVP with RxJava: Build Decoupled Android Apps Quickly