Tag

interprocess communication

0 views collected around this technical thread.

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.

ConcurrencyPythonasync I/O
0 likes · 28 min read
Master Python Multiprocessing: Boost Performance with Process Pools and Async I/O
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2024 · Backend Development

Understanding VS Code's IPC Architecture and Channel Mechanism

This article explains VS Code's inter‑process communication (IPC) architecture, detailing how preload scripts expose methods, how the main process creates Server, Connection, and Channel classes, how the renderer creates a Client to connect, and how ProxyChannel converts services to typed channels, with full TypeScript code examples.

Backend DevelopmentElectronIPC
0 likes · 11 min read
Understanding VS Code's IPC Architecture and Channel Mechanism
Deepin Linux
Deepin Linux
Sep 10, 2024 · Fundamentals

Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts

This article provides an extensive overview of embedded software fundamentals, covering heap vs. stack differences, wild pointers, DMA roles, inter‑process communication methods, memory allocation strategies, malloc vs. new, volatile usage, pointer concepts, Linux kernel locks, FreeRTOS mechanisms, stack overflow prevention, compilation stages, quick‑sort algorithm, header inclusion, CAN identifiers, struct memory optimization, STM32 interrupt handling, user‑to‑kernel transitions, and condition‑variable thundering‑herd effects.

C++CompilationDMA
0 likes · 121 min read
Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts
FunTester
FunTester
May 27, 2024 · Backend Development

Understanding Unix Domain Sockets and a Go Implementation

This article explains Unix domain sockets as a high‑performance inter‑process communication mechanism, describes their types and workflow, outlines advantages and typical use cases, and provides a complete Go example of a server and client communicating via a Unix socket.

Backend DevelopmentGoIPC
0 likes · 7 min read
Understanding Unix Domain Sockets and a Go Implementation
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.

ConcurrencyParallel ProcessingPython
0 likes · 25 min read
Comprehensive Guide to Python Multiprocessing and Advanced Concurrency Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Oct 21, 2023 · Backend Development

10 Practical Python Multiprocessing Scenarios for Inter‑Process Communication

This article presents ten practical Python multiprocessing examples demonstrating various inter‑process communication techniques—including pipes, queues, shared memory, managers, events, semaphores, condition variables, and shared counters—to help developers implement concurrent data exchange and synchronization across processes.

ConcurrencyPythonbackend
0 likes · 6 min read
10 Practical Python Multiprocessing Scenarios for Inter‑Process Communication
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.

ConcurrencySynchronizationinterprocess communication
0 likes · 12 min read
Python Multiprocessing Module: Process Creation, Synchronization, and Inter‑Process Communication
58 Tech
58 Tech
Mar 9, 2020 · Mobile Development

In‑Depth Overview of Android Binder IPC Mechanism

This article provides a comprehensive introduction to Android's Binder inter‑process communication mechanism, covering its background, design principles, performance, stability and security advantages over traditional IPC, detailed Linux IPC concepts, the Binder driver architecture, proxy pattern, and hands‑on code examples for manual implementation.

AIDLAndroidBinder
0 likes · 24 min read
In‑Depth Overview of Android Binder IPC Mechanism
360 Quality & Efficiency
360 Quality & Efficiency
May 28, 2019 · Backend Development

Running a Python Script from Java Using Runtime.exec and Jython

This article explains how to invoke a Python script from a Java program, pass arguments, retrieve output, and compares two approaches: using the Jython library for seamless JVM integration and the simpler Runtime.getRuntime().exec method for quick execution.

JavaJythonPython
0 likes · 3 min read
Running a Python Script from Java Using Runtime.exec and Jython
Efficient Ops
Efficient Ops
May 23, 2019 · Fundamentals

Understanding Real-Time Data Flow and SIGPIPE in Linux Pipes

This article explains how Linux pipes transmit data in real time, explores buffering modes, demonstrates practical experiments with Python scripts, and details read/write rules, including SIGPIPE handling, providing developers with essential insights for effective command-line pipeline usage.

BufferingPipesSIGPIPE
0 likes · 11 min read
Understanding Real-Time Data Flow and SIGPIPE in Linux Pipes
System Architect Go
System Architect Go
Feb 20, 2019 · Backend Development

Calling Python Functions from Node.js Using a Command‑Line Interface

This article explains a lightweight technique for invoking Python functions directly from Node.js by converting the Python script into a CLI with the Fire library and executing it via Node's child_process spawn, avoiding the overhead of REST or RPC services.

CLINode.jsPIL
0 likes · 4 min read
Calling Python Functions from Node.js Using a Command‑Line Interface