Tagged articles
72 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Dec 3, 2025 · Mobile Development

How to Build a Scalable Android Ad‑Monitoring System with Multi‑Device Automation

This article details the design and implementation of an Android ad‑monitoring platform that controls multiple devices concurrently, automates app interactions, uses OCR for ad detection, and provides real‑time status monitoring via a floating window, while covering architecture, core modules, communication strategies, and performance optimizations.

ADBAd MonitoringAndroid
0 likes · 27 min read
How to Build a Scalable Android Ad‑Monitoring System with Multi‑Device Automation
Tech Freedom Circle
Tech Freedom Circle
Nov 8, 2025 · Interview Experience

What’s the Secret Behind Python’s Multi‑Process, Multi‑Thread & Coroutine Tricks That Top Tech Interviews Demand?

This article breaks down Python’s Global Interpreter Lock, explains when to use multiprocessing, multithreading or asyncio, provides concrete performance benchmarks and a hybrid process‑coroutine pattern, and guides you on choosing the right concurrency model for interview questions.

Pythonasyncioconcurrency
0 likes · 57 min read
What’s the Secret Behind Python’s Multi‑Process, Multi‑Thread & Coroutine Tricks That Top Tech Interviews Demand?
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
Jul 19, 2025 · Fundamentals

Why Python Multiprocessing Requires target=func Without Parentheses

This article explains a Python multiprocessing issue raised in a community chat, shows discussion and execution screenshots, presents a solution highlighting that the target argument must be a function name without parentheses, and clarifies the difference between passing a function object versus its return value.

PythonTutorialmultiprocessing
0 likes · 3 min read
Why Python Multiprocessing Requires target=func Without Parentheses
Code Mala Tang
Code Mala Tang
Jun 21, 2025 · Backend Development

When to Choose asyncio, Threads, or Multiprocessing in Python?

This article explains how to decide between asyncio, threading, and multiprocessing for Python programs by examining I/O‑bound versus CPU‑bound workloads, showing real code examples, trade‑offs, and common pitfalls to help you pick the right concurrency tool for your task.

Pythonasynciomultiprocessing
0 likes · 9 min read
When to Choose asyncio, Threads, or Multiprocessing in Python?
Code Mala Tang
Code Mala Tang
Jun 20, 2025 · Fundamentals

Boost Python Performance: Multithreading, Multiprocessing, and Best Practices

This article explains how Python’s GIL affects concurrency, when to use multithreading versus multiprocessing, and provides practical tips on efficient inter‑process communication, iteration, string handling, sorting, file I/O, and leveraging the standard library to dramatically improve script performance.

Data Structuresbest-practicesmultiprocessing
0 likes · 17 min read
Boost Python Performance: Multithreading, Multiprocessing, and Best Practices
Deepin Linux
Deepin Linux
May 6, 2025 · Fundamentals

Understanding Processes and Threads: Concepts, Differences, and When to Use Them

This article explains the fundamental concepts of processes and threads, their relationship, resource allocation, scheduling, communication methods, practical use cases, and interview preparation tips, helping readers choose between multiprocessing and multithreading for various scenarios.

Threadconcurrencymultiprocessing
0 likes · 22 min read
Understanding Processes and Threads: Concepts, Differences, and When to Use Them
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
Code Mala Tang
Code Mala Tang
Apr 1, 2025 · Backend Development

Enforcing Python Function Timeouts: Libraries, Multiprocessing & Subprocess

This article explains why limiting a function's execution time is crucial for stability, and demonstrates multiple Python techniques—including the func-timeout library, custom multiprocessing, subprocess.run, and signal handling—to set and manage timeouts effectively.

Error HandlingPythonfunction timeout
0 likes · 8 min read
Enforcing Python Function Timeouts: Libraries, Multiprocessing & Subprocess
Raymond Ops
Raymond Ops
Mar 5, 2025 · Fundamentals

Master Python ThreadPool and ProcessPool: Boost Concurrency and Performance

This article explains Python's multithreading and multiprocessing concepts, compares thread pools and process pools, provides practical code examples for task execution and file downloading, and offers performance tips and best practices for writing efficient concurrent programs.

PythonThreadPoolmultiprocessing
0 likes · 14 min read
Master Python ThreadPool and ProcessPool: Boost Concurrency and Performance
Code Mala Tang
Code Mala Tang
Feb 20, 2025 · Fundamentals

Mastering Lock Mechanisms: From Mutexes to Distributed Locks in Python

This comprehensive guide explores why locks are essential in concurrent programming, explains the principles behind mutexes, semaphores, read‑write locks, and re‑entrant locks, provides Python code examples, discusses common pitfalls like deadlocks, and offers best‑practice strategies for production environments.

Synchronizationconcurrencydeadlock
0 likes · 22 min read
Mastering Lock Mechanisms: From Mutexes to Distributed Locks in Python
Code Mala Tang
Code Mala Tang
Feb 15, 2025 · Fundamentals

Unlock Full CPU Power in Python: A Hands‑On Guide to Multiprocessing

This article explains why Python’s Global Interpreter Lock limits CPU core usage, introduces the multiprocessing module for parallel execution of CPU‑intensive tasks, and provides step‑by‑step code examples, key concepts, synchronization tools, a real‑world image‑processing case, and best practices to dramatically speed up your programs.

CPU BoundParallelismPython
0 likes · 9 min read
Unlock Full CPU Power in Python: A Hands‑On Guide to Multiprocessing
Raymond Ops
Raymond Ops
Jan 27, 2025 · Operations

Master Python Multiprocessing: Boost Performance with Process Pools and Async I/O

This comprehensive guide explains Python's multiprocessing module, compares processes with threads, shows how to create and manage processes using Process and Pool classes, covers inter‑process communication, synchronization primitives, async I/O integration, error handling, debugging techniques, and real‑world examples such as web crawlers, data analysis, and game servers.

Interprocess CommunicationProcess Poolasync I/O
0 likes · 28 min read
Master Python Multiprocessing: Boost Performance with Process Pools and Async I/O
Python Programming Learning Circle
Python Programming Learning Circle
Nov 21, 2024 · Fundamentals

Python Performance Optimization Techniques: Built‑in Functions, List Comprehensions, Generators, Caching, NumPy, Multiprocessing and More

This article introduces a range of Python performance‑optimization methods—including built‑in functions, list comprehensions, generator expressions, avoiding globals, functools.lru_cache, NumPy, pandas, multiprocessing, Cython, PyPy, and line_profiler—illustrated with clear code examples and a practical image‑processing case study.

built-in functionslist-comprehensionmultiprocessing
0 likes · 8 min read
Python Performance Optimization Techniques: Built‑in Functions, List Comprehensions, Generators, Caching, NumPy, Multiprocessing and More
21CTO
21CTO
Oct 19, 2024 · Fundamentals

Why Does Python Still Use the GIL? Understanding Its Role and Alternatives

Python's Global Interpreter Lock (GIL) serializes thread execution to protect memory, but in today's multicore era it creates performance bottlenecks; this article explains what the GIL is, why it exists, its impact on multithreading, and how multiprocessing can bypass its limitations.

GILPythonmultiprocessing
0 likes · 6 min read
Why Does Python Still Use the GIL? Understanding Its Role and Alternatives
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
Jun 12, 2024 · Fundamentals

Boost Python Performance: Master Thread Pools vs Process Pools

This guide explains Python's multithreading and multiprocessing concepts, compares thread pools and process pools, provides practical code examples for task execution and file downloading, and offers best‑practice advice for efficient concurrent programming.

ProcessPoolExecutorPythonThreadPoolExecutor
0 likes · 14 min read
Boost Python Performance: Master Thread Pools vs Process Pools
Python Programming Learning Circle
Python Programming Learning Circle
May 6, 2024 · Fundamentals

Comprehensive Guide to Python Multiprocessing and Advanced Concurrency Techniques

This article provides an in‑depth overview of Python's multiprocessing module, covering process creation, inter‑process communication, synchronization primitives, error handling, debugging tools, and real‑world project examples to help developers efficiently leverage multi‑core CPUs for CPU‑bound tasks.

Async IOInterprocess Communicationconcurrency
0 likes · 25 min read
Comprehensive Guide to Python Multiprocessing and Advanced Concurrency Techniques
MaGe Linux Operations
MaGe Linux Operations
May 2, 2024 · Fundamentals

Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code

This comprehensive guide explains Python’s multiprocessing module, covering process creation, inter‑process communication, pools, synchronization primitives, error handling, and real‑world examples such as web crawlers, data analysis, and game servers, helping developers harness multiple CPU cores to boost performance and avoid GIL limitations.

Code ExamplesParallelismPython
0 likes · 32 min read
Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code
Test Development Learning Exchange
Test Development Learning Exchange
Jan 14, 2024 · Fundamentals

Python Concurrency Techniques: Threads, Processes, Async, and Pools

This article introduces Python concurrency programming, explaining how to use multithreading, multiprocessing, thread and process pools, async/await, coroutines, and producer‑consumer models with code examples, helping developers improve performance and responsiveness for time‑consuming tasks and concurrent network requests.

asyncioconcurrencymultiprocessing
0 likes · 5 min read
Python Concurrency Techniques: Threads, Processes, Async, and Pools
Test Development Learning Exchange
Test Development Learning Exchange
Dec 6, 2023 · Backend Development

Using Python multiprocessing and Celery for Parallel and Distributed Task Processing

This article introduces Python's multiprocessing module and the Celery task queue, explains their core concepts, and provides practical code examples for multi‑process parallel computation, inter‑process communication, asynchronous execution, scheduled jobs, result callbacks, retries, and distributed task orchestration.

Distributed TasksPythonTask Queue
0 likes · 7 min read
Using Python multiprocessing and Celery for Parallel and Distributed Task Processing
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2023 · Backend Development

Practical Examples of Python multiprocessing and Celery for Parallel and Distributed Task Processing

This article introduces Python's multiprocessing module and the Celery distributed task queue, explains their core features, and provides ten practical code examples demonstrating multi‑process parallel computation, inter‑process communication, asynchronous tasks, scheduling, retries, and distributed processing for real‑world applications.

Distributed TasksPythoncelery
0 likes · 7 min read
Practical Examples of Python multiprocessing and Celery for Parallel and Distributed Task Processing
Python Programming Learning Circle
Python Programming Learning Circle
Apr 23, 2023 · Big Data

Parallel Processing of Large CSV Files in Python with multiprocessing, joblib, and tqdm

This tutorial demonstrates how to accelerate processing of a 2.8‑million‑row CSV dataset by using Python's multiprocessing, joblib, and tqdm libraries, covering serial, parallel, and batch processing techniques, performance measurements, and best‑practice code examples for efficient large‑scale data handling.

Big DataPythondata engineering
0 likes · 9 min read
Parallel Processing of Large CSV Files in Python with multiprocessing, joblib, and tqdm
Python Programming Learning Circle
Python Programming Learning Circle
Mar 3, 2023 · Backend Development

Accelerating Image Pre‑processing in Python with a Three‑Line Multiprocessing Trick

This article demonstrates how to boost the speed of image‑preprocessing tasks in Python by replacing a conventional single‑process loop with a three‑line concurrent.futures ProcessPoolExecutor implementation, achieving up to six‑fold performance gains on multi‑core CPUs.

concurrent.futuresdata-preprocessingimage-processing
0 likes · 7 min read
Accelerating Image Pre‑processing in Python with a Three‑Line Multiprocessing Trick
Python Programming Learning Circle
Python Programming Learning Circle
Aug 13, 2022 · Big Data

Parallel Processing of Large CSV Files in Python Using multiprocessing, joblib, and tqdm

This tutorial demonstrates how to accelerate processing of a multi‑million‑row CSV dataset by splitting the work into sub‑tasks and applying Python's multiprocessing, joblib, and tqdm libraries for serial, parallel, and batch processing, showing significant speed‑ups and best‑practice code snippets.

Big DataPythondata cleaning
0 likes · 10 min read
Parallel Processing of Large CSV Files in Python Using multiprocessing, joblib, and tqdm
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
Big Data Technology Architecture
Big Data Technology Architecture
Jul 2, 2022 · Fundamentals

Indirect Shareholding Ratio Calculation Using Graph Techniques

This article explains how to compute indirect shareholding ratios between companies by generating synthetic relationship data, cleaning and normalizing it with multiprocessing, constructing a weighted directed graph using NetworkX, and applying a matrix‑based algorithm to derive the final ownership matrix.

Pythondata-processinggraph-analysis
0 likes · 7 min read
Indirect Shareholding Ratio Calculation Using Graph Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2022 · Backend Development

Python Web Scraping Tutorial: Collecting Listed Company Data and Storing It in MySQL

This article walks through a step‑by‑step Python web‑scraping tutorial that fetches financial data of over 3000 listed companies from a public website, parses the tables with pandas, enhances the script with error handling, URL flexibility, MySQL storage, and multiprocessing to speed up the crawl.

data-extractionmultiprocessingpandas
0 likes · 8 min read
Python Web Scraping Tutorial: Collecting Listed Company Data and Storing It in MySQL
Architecture Digest
Architecture Digest
Jan 24, 2022 · Fundamentals

Understanding Python Threads, Processes, GIL, and the multiprocessing & concurrent.futures Modules

This article explains the fundamental differences between threads and processes, the role of Python's Global Interpreter Lock, and provides a comprehensive guide to using the multiprocessing and concurrent.futures modules—including their main classes, synchronization primitives, and practical code examples—for effective concurrent programming in Python.

GILParallelismPython
0 likes · 40 min read
Understanding Python Threads, Processes, GIL, and the multiprocessing & concurrent.futures Modules
Python Programming Learning Circle
Python Programming Learning Circle
Jan 4, 2022 · Fundamentals

Python Processes, Multiprocessing, Decorators, and List Fundamentals

This article introduces Python process concepts, including process creation with the multiprocessing module, process states, comparison with threads, and practical examples of creating, managing, and communicating with processes, followed by a comprehensive overview of Python list types, their structure, operations, and common usage patterns.

PythonThread Comparisondecorators
0 likes · 26 min read
Python Processes, Multiprocessing, Decorators, and List Fundamentals
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
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 30, 2021 · Fundamentals

Master Python Multiprocessing: From Basics to Real-World File Copying

This article explains the differences between processes and threads, the advantages of using multiple processes in Python, and provides step‑by‑step code examples—including basic process creation, subclassing Process, inter‑process communication with queues, process pools, and a practical file‑copying case study—to help readers master multiprocessing for efficient concurrent programming.

Code ExamplesThreadconcurrency
0 likes · 11 min read
Master Python Multiprocessing: From Basics to Real-World File Copying
Python Crawling & Data Mining
Python Crawling & Data Mining
May 23, 2021 · Backend Development

Build Distributed Python Processes with Multiprocessing Managers

This article explains why processes are preferred over threads for stability and multi‑machine distribution, introduces Python's multiprocessing.managers for networked task queues, and provides step‑by‑step code examples to create a distributed crawler that fetches image URLs and downloads them across several machines.

Pythonmultiprocessingnetwork queue
0 likes · 6 min read
Build Distributed Python Processes with Multiprocessing Managers
Python Programming Learning Circle
Python Programming Learning Circle
Apr 2, 2021 · Fundamentals

Effective Python Parallelism with Thread Pools and the map() Function

This article critiques traditional Python threading tutorials and demonstrates how to replace verbose thread‑pool code with concise map‑based parallelism using multiprocessing and multiprocessing.dummy, providing practical examples, performance measurements, and guidelines for choosing pool sizes for I/O‑ and CPU‑bound tasks.

MAPParallelismconcurrency
0 likes · 11 min read
Effective Python Parallelism with Thread Pools and the map() Function
MaGe Linux Operations
MaGe Linux Operations
Sep 28, 2020 · Backend Development

Build a Scalable Python Web Scraper for 3000+ Companies

This article walks through creating a Python web scraper that extracts financial data for over three thousand listed companies, starting from a simple pandas script and progressively adding error handling, MySQL storage, and multiprocessing to build a robust, production‑ready tool.

Data ExtractionPythonWeb Scraping
0 likes · 7 min read
Build a Scalable Python Web Scraper for 3000+ Companies
MaGe Linux Operations
MaGe Linux Operations
Aug 17, 2020 · Fundamentals

Boost Python Performance: Simple Parallelism with map and ThreadPool

This article explains why traditional Python threading tutorials are often over‑engineered, introduces the concise map‑based parallelism using multiprocessing and multiprocessing.dummy, and demonstrates how a few lines of code can dramatically speed up I/O‑bound and CPU‑bound tasks.

MAPParallelismThreadPool
0 likes · 11 min read
Boost Python Performance: Simple Parallelism with map and ThreadPool
Python Programming Learning Circle
Python Programming Learning Circle
Jun 4, 2020 · Fundamentals

Python Multiprocessing Module: Process Creation, Synchronization, and Inter‑Process Communication

This article provides a comprehensive guide to Python's multiprocessing module, covering how to create and manage processes, use join for synchronization, configure daemon processes, and employ synchronization primitives such as Lock, Semaphore, Event, and Queue for safe inter‑process communication, with complete code examples.

Interprocess CommunicationPythonSynchronization
0 likes · 12 min read
Python Multiprocessing Module: Process Creation, Synchronization, and Inter‑Process Communication
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 21, 2019 · Fundamentals

Master Python Multiprocessing: From Fork to Process Pools

This article explains the concepts of processes and threads in Python, compares multi‑process, multi‑thread, and combined approaches, shows how to use fork, the multiprocessing module, process pools, subprocesses, and inter‑process communication with queues, and provides complete code examples with results.

IPCPythonThread
0 likes · 15 min read
Master Python Multiprocessing: From Fork to Process Pools
MaGe Linux Operations
MaGe Linux Operations
Jun 27, 2019 · Backend Development

Master Python Multiprocessing: Fork, Process, Pool, and IPC Explained

This article explains how to create and manage multiple processes in Python using the os.fork method, the multiprocessing module's Process and Pool classes, and demonstrates inter‑process communication with Queue and Pipe, providing clear code examples for both Unix/Linux and cross‑platform environments.

IPCPythonfork
0 likes · 10 min read
Master Python Multiprocessing: Fork, Process, Pool, and IPC Explained
MaGe Linux Operations
MaGe Linux Operations
Apr 1, 2019 · Backend Development

Boost Python Performance: Parallelize Tasks with ThreadPool and map

This article critiques traditional Python multithreading tutorials and demonstrates how the built‑in map function together with multiprocessing.dummy's ThreadPool can dramatically speed up I/O‑bound and CPU‑bound tasks, offering concise code examples, performance benchmarks, and a real‑world thumbnail generation case study.

MAPParallelismThreadPool
0 likes · 11 min read
Boost Python Performance: Parallelize Tasks with ThreadPool and map
MaGe Linux Operations
MaGe Linux Operations
Aug 24, 2018 · Fundamentals

20 Proven Python Tricks to Supercharge Your Code Performance

This article presents 20 practical Python performance tips—from choosing O(1) data structures and reducing redundant data to leveraging generators, C extensions, multiprocessing, and profiling tools—complete with benchmark code snippets that demonstrate measurable speed gains across common coding patterns.

C extensionsProfilingPython
0 likes · 16 min read
20 Proven Python Tricks to Supercharge Your Code Performance
MaGe Linux Operations
MaGe Linux Operations
Dec 6, 2017 · Fundamentals

Master Python Multiprocessing and Coroutines: From Queues to Async Efficiency

This article explains Python's inter-process communication methods, including process creation, queues, pipes, locks, and pools, and introduces coroutines as lightweight alternatives, detailing their creation with gevent, practical web crawling, and socket server implementations, highlighting performance benefits and appropriate use cases.

Pythonconcurrencycoroutine
0 likes · 6 min read
Master Python Multiprocessing and Coroutines: From Queues to Async Efficiency
MaGe Linux Operations
MaGe Linux Operations
Sep 6, 2017 · Backend Development

How I Built a High‑Performance Novel Site Crawler with MongoDB

Inspired by a tutorial, I created a MongoDB‑backed crawler for the Yisou novel website, extracting category links, managing URL states across multiple processes, handling millions of pages, and finally deduplicating the results to obtain a clean collection of books.

MongoDBPythonWeb Scraping
0 likes · 3 min read
How I Built a High‑Performance Novel Site Crawler with MongoDB
21CTO
21CTO
Aug 5, 2017 · Backend Development

How I Reduced Log Keyword Counting from Hours to Minutes Using PHP, Grep, Regex & Trie

This article walks through solving a massive log‑keyword counting task—600,000 short messages and 50,000 keywords—by evolving from a simple grep‑based approach to regex optimizations, word‑splitting, a trie data structure, and finally a multi‑process Redis queue, achieving a performance boost from hours to under ten minutes.

GrepLog ProcessingTrie
0 likes · 15 min read
How I Reduced Log Keyword Counting from Hours to Minutes Using PHP, Grep, Regex & Trie
Liulishuo Tech Team
Liulishuo Tech Team
Jun 3, 2016 · Backend Development

Understanding Ruby Multithreading and Multiprocessing

This article explains the differences between Ruby threads and processes, when to use each for performance gains, illustrates practical scenarios, and provides code examples for simple multithreading, multiprocessing, and using the Parallel gem.

GILParallelRuby
0 likes · 11 min read
Understanding Ruby Multithreading and Multiprocessing
ITPUB
ITPUB
Apr 6, 2016 · Fundamentals

Why Python Multithreading Struggles and When to Switch to Multiprocessing

This article explains the purpose of Python’s Global Interpreter Lock, how it limits multithreaded performance on multi‑core CPUs, distinguishes CPU‑bound versus I/O‑bound scenarios, and shows why multiprocessing is usually the preferred solution for parallel execution.

GILconcurrencymultiprocessing
0 likes · 6 min read
Why Python Multithreading Struggles and When to Switch to Multiprocessing
21CTO
21CTO
Apr 4, 2016 · Backend Development

How to Efficiently Fetch Hundreds of URL Titles in PHP Using Multi‑Process Design

This article explores two PHP multi‑process architectures for rapidly retrieving page titles from hundreds of URLs, comparing a simple socket‑based server with a threaded URL‑batch processor, and discusses performance trade‑offs, memory usage, and scalability considerations.

BackendPHPmultiprocessing
0 likes · 5 min read
How to Efficiently Fetch Hundreds of URL Titles in PHP Using Multi‑Process Design
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