async VS ext-openswoole

Compare async vs ext-openswoole and see what are their differences.

async

Async utilities and fibers for ReactPHP. (by reactphp)

ext-openswoole

Programmatic server for PHP with async IO, coroutines and fibers (by openswoole)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
async ext-openswoole
2 34
175 791
2.3% 0.6%
3.0 8.2
15 days ago 5 months ago
PHP C++
MIT License Apache License 2.0
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.

async

Posts with mentions or reviews of async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-27.
  • Is it possible that PHP will ever get async/await functions?
    9 projects | /r/PHP | 27 Oct 2022
    Promises are a solution to asynchronicity in general. Promises are more of a specification, so anything claiming to implement Promises solves the same class of problem in the same way. Since php doesn't have language level wrappers for Await behavior it is going to look weird. Either you use something Object Oriented like Promises to handle the timing/async of your calls, or you use something functional like the pcntl functions to handle Process Control of multiple interdependent processes and the pipes/sockets between them. There are also separate Asnycronous libraries available that have a slightly different interface, but they probably just use promises in the backend. See https://github.com/reactphp/async and https://github.com/reactphp/promise for instance if you don't like curl.
  • What have fibers been used for so far?
    4 projects | /r/PHP | 28 Aug 2022
    ReactPHP uses Fibers through react/async starting from version 4 of the library.

ext-openswoole

Posts with mentions or reviews of ext-openswoole. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-04.

What are some alternatives?

When comparing async and ext-openswoole you can also consider the following projects:

parallel - An advanced parallelization library for PHP, enabling efficient multitasking, optimizing resource use, and application responsiveness through multiple CPU threads.

Deployer - The PHP deployment tool with support for popular frameworks out of the box

async - Easily run code asynchronously

Swoole - 🚀 Coroutine-based concurrency library for PHP

React - Event-driven, non-blocking I/O with PHP.

Slim - Slim Framework 4 Skeleton Application

asynchronous-php - List of resources for asynchronous programming in PHP

Laradock - Full PHP development environment for Docker.

promises - Promises/A+ library for PHP with synchronous support

framework-x - Framework X – the simple and fast micro framework for building reactive web applications that run anywhere.

HHVM - A virtual machine for executing programs written in Hack.