Download the PHP package hyperf/gotask without Composer
On this page you can find all versions of the php package hyperf/gotask. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hyperf/gotask
More information about hyperf/gotask
Files in hyperf/gotask
Download hyperf/gotask
More information about hyperf/gotask
Files in hyperf/gotask
Please rate this library. Is it a good library?
Informations about the package gotask
GoTask
English | 中文
GoTask spawns a go process as a Swoole sidecar and establishes a bi-directional IPC to offload heavy-duties to Go. Think of it as a Swoole Taskworker in Go.
Feature
- High performance with low footprint.
- Based on Swoole 4 coroutine socket API.
- Support Unix Socket, TCP and stdin/stdout pipes.
- Support both PHP-to-Go and Go-to-PHP calls.
- Automatic sidecar lifecycle management.
- Correctly handle remote error.
- Support both structural payload and binary payload.
- Sidecar API compatible with net/rpc.
- Baked-in connection pool.
- Optionally integrated with Hyperf framework.
Perfect For
- Blocking operations in Swoole, such as MongoDB queries.
- CPU Intensive operations, such as encoding and decoding.
- Leveraging Go eco-system, such as Kubernetes clients.
Requirement
- PHP 7.2+
- Go 1.13+
- Swoole 4.4LTS+
- Hyperf 1.1+ (optional)
Task Delivery Demo
Resources
English documentation is not yet complete! Please see examples first.
Benchmark
https://github.com/reasno/gotask-benchmark
Credit
- https://github.com/spiral/goridge provides the IPC protocol.
- https://github.com/twose helps the creation of this project.
All versions of gotask with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-swoole Version >=5.0
hyperf/pool Version ^3.0
hyperf/process Version ^3.0
spiral/goridge Version ^2.4
symfony/event-dispatcher Version ^6.3
ext-swoole Version >=5.0
hyperf/pool Version ^3.0
hyperf/process Version ^3.0
spiral/goridge Version ^2.4
symfony/event-dispatcher Version ^6.3
The package hyperf/gotask contains the following files
Loading the files please wait ....