fork
A lightweight solution for running code concurrently in PHP (by spatie)
MultiProcessor
Easy usable class for very fast and memory efficient scripts, processing lots of data by utilizing the power of pcntl_fork() (by Shawty81)
fork | MultiProcessor | |
---|---|---|
2 | 1 | |
796 | 1 | |
4.0% | - | |
6.3 | 6.7 | |
3 months ago | 5 months ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fork
Posts with mentions or reviews of fork.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-01.
-
Slow external API calls made in a foreach - How to optimize?
The only way you could improve this is by using something like Spatie Fork to run the API requests in parallel but doing that is honestly going to be a headache.
-
Running PHP code in parallel, the easy way
That Spatie/Fork looks like just what I want: simple and straight-forward. Too bad it's PHP 8, as I don't have PHP 8 anywhere in production.
MultiProcessor
Posts with mentions or reviews of MultiProcessor.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-03.
-
Running PHP code in parallel, the easy way
Reminds me of the package I made years ago to show of my skills when searching for a new job: https://github.com/Shawty81/MultiProcessor
What are some alternatives?
When comparing fork and MultiProcessor you can also consider the following projects:
async - Easily run code asynchronously
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Ratchet - Asynchronous WebSocket server
fork - A lightweight solution for running code concurrently in PHP
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
LaravelS - LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.
crypto-tracker