programmer group

Method integration of websocket in PHP framework

Previously, we have simply understood some methods and attribute usage of websocket on the server side. Here, I will integrate websocket processing into a class to facilitate the use of websocket 1: Create a websocket base class (abstract class) /** *Websocket server base class */ abstract class Server { /** * @var \swoole_websocket_server */ public $server; /** *@var Boolean whether to enable custom...

github

runs stuff in parallel (like GNU parallel, but much faster and memory-efficient)

rofl0r/jobflow runs stuff in parallel (like GNU parallel, but much faster and memory-efficient) Users starred: 37Users forked: 1Users watching: 37Updated at: 2020-02-07 03:42:56 jobflow by rofl0r this program is inspired by the functionality of GNU parallel, but tries to keep low overhead and follow the UNIX philosophy of doing one thing well. how it works basically, it works by processing stdin, launching one process per...

github

Process supervisor that supports linux containers

tailhook/lithos Process supervisor that supports linux containers Users starred: 88Users forked: 5Users watching: 88Updated at: 2020-02-06 20:06:51 Lithos Documentation Lithos is a process supervisor and containerizer for running services. Lithos is not intended to be system init. But rather tries to be a base tool to build container orchestration. Features: use linux namespaces and cgroups for containerization immediate...