All Projects → WyriHaximus → reactphp-parallel

WyriHaximus / reactphp-parallel

Licence: MIT license
ReactPHP bindings around ext-parallel

Programming Languages

PHP
23972 projects - #3 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to reactphp-parallel

wasm-bindgen-rayon
An adapter for enabling Rayon-based concurrency on the Web with WebAssembly.
Stars: ✭ 257 (+1613.33%)
Mutual labels:  parallel, threads
noroutine
Goroutine analogue for Node.js, spreads I/O-bound routine calls to utilize thread pool (worker_threads) using balancer with event loop utilization. 🌱
Stars: ✭ 86 (+473.33%)
Mutual labels:  parallel, threads
mandelbrot-threaded-webassembly
A simple demonstration of WebAssembly threads
Stars: ✭ 41 (+173.33%)
Mutual labels:  threads
parallel
Lwt-enabled distributed computing library
Stars: ✭ 36 (+140%)
Mutual labels:  parallel
muster
Massively Scalable Clustering
Stars: ✭ 22 (+46.67%)
Mutual labels:  parallel
ProtoPromise
Robust and efficient library for management of asynchronous operations in C#/.Net.
Stars: ✭ 20 (+33.33%)
Mutual labels:  parallel
dbaTDPMon
dbaTDPMon - Troubleshoot Database Performance and Monitoring
Stars: ✭ 20 (+33.33%)
Mutual labels:  parallel
gitall.rs
Run Git commands in all subdirectories really fast
Stars: ✭ 25 (+66.67%)
Mutual labels:  parallel
zmq
ZeroMQ based distributed patterns
Stars: ✭ 27 (+80%)
Mutual labels:  parallel
thread-pool
A modern thread pool implementation based on C++20
Stars: ✭ 104 (+593.33%)
Mutual labels:  threads
orchestrator
The orchestrator executes all cypress specs across parallel docker containers based on a configuration file.
Stars: ✭ 61 (+306.67%)
Mutual labels:  parallel
exrs
100% Safe Rust OpenEXR file library
Stars: ✭ 79 (+426.67%)
Mutual labels:  parallel
ncpu
multi-threaded library that node.js run function worker
Stars: ✭ 16 (+6.67%)
Mutual labels:  threads
optuna-examples
Examples for https://github.com/optuna/optuna
Stars: ✭ 238 (+1486.67%)
Mutual labels:  parallel
cephgeorep
An efficient unidirectional remote backup daemon for CephFS.
Stars: ✭ 27 (+80%)
Mutual labels:  parallel
NPB-CPP
NAS Parallel Benchmark Kernels in C/C++. The parallel versions are in FastFlow, TBB, and OpenMP.
Stars: ✭ 18 (+20%)
Mutual labels:  parallel
esp-idf-parallel-tft
8bit parallel TFT & 4-line resistance touch screen Driver for esp-idf using i2s paralell mode
Stars: ✭ 45 (+200%)
Mutual labels:  parallel
php-react-memcached
Asynchronous Memcached PHP Client for ReactPHP ecosystem
Stars: ✭ 27 (+80%)
Mutual labels:  reactphp
reactphp-child-process-promise
No description or website provided.
Stars: ✭ 12 (-20%)
Mutual labels:  reactphp
FoldsCUDA.jl
Data-parallelism on CUDA using Transducers.jl and for loops (FLoops.jl)
Stars: ✭ 48 (+220%)
Mutual labels:  parallel

This package has been moved to: https://github.com/reactphp-parallel/reactphp-parallel

reactphp-parallel

Build Status Latest Stable Version Total Downloads License

ReactPHP bindings around ext-parallel

Install

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ~.

composer require wyrihaximus/react-parallel 

Pools

Low level pools

Low level pools only deal with executing closures on the Runtimes (threads) that make out the pools. And as such there is only one low level pool and that is Infinite, which will, as the name suggest, scale infinitely. While you can use such pools directly these are intended to be used by high level pools which have more control over what and how many things you run on these threads.

Low level pools have an additional feature where you can acquire a group lock that will prevent others from killing the pool. The idea behind low level pools is that hey are never used directly be always by encapsulating high level pool. Once all locks are released you can close/kill a low level pool.

License

Copyright 2019 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].