Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#memory copy

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

2 articles in the current browsing window, ordered by publication date.

Optimizing Data Transfer in Swoole 4.5: Reducing Memory Copies Between Master and Worker Processes

This article analyzes the performance bottleneck in Swoole 4.5 where the master process copies data twice before delivering it to worker processes, explains the underlying C functions and data flow, and presents two code‑level optimizations that consolidate buffers and eliminate redundant copies, resulting in a four‑fold speedup of the onMessage callback.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.