Swoole
parallel
Our great sponsors
Swoole | parallel | |
---|---|---|
34 | 11 | |
18,213 | 1,380 | |
0.3% | - | |
8.6 | 0.0 | |
9 days ago | 3 days ago | |
C++ | C | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
Swoole
-
Performance benchmark of PHP runtimes
Swoole
-
Go with PHP (why it's still a good idea to use PHP in 2023)
It's a management UI where concerns were raised that it downloads from third party server. However this issue was handled very fast and code was removed: https://github.com/swoole/swoole-src/issues/4434
-
PHP Swoole or OpenSwoole?
The contribution log of the original swoole seems to be active: https://github.com/swoole/swoole-src/graphs/contributors
-
5 PHP Frameworks You've (Probably) Never Heard of
FOMO is created by Iranian developer amirfaramarzi. This framework sits on top of the asynchronous event driven framework swoole that creates insane levels of performance out of apps (we're talking Go/Rust level of performance)! Check out the performance on the Web Frameworks Benchmark.
-
Why is Apache clinging to OpenOffice's corpse?
> I tend to install FOSS because imo they are more "future-proof", but some of them are developed by companies (e.g., Fedora Linux) and that makes me wonder if they're truly future-proof.
The story of CentOS should be telling that, no, many pieces of software that are backed by a company will not be future-proof and will probably experience certain changes as a consequence of that, be it being transformed to better fit corporate goals (CentOS Stream), or being retired eventually so the company may focus on something else (Atom), or will just be left to slowly rot over time as happens with most code (OpenOffice).
Then again, it's not like open source projects are that future proof or safe from "drama" either - for example, the Lubuntu project has 2 homepages for no reason: the official one at https://lubuntu.me/ and some other one that serves old versions and is not trusted by my ad blocking solution https://lubuntu.net/
There are also cases, when open source projects experience fragmentation like happened with Gogs https://gogs.io/ and Gitea https://gitea.io/en-us/ and sometimes there are cases where particular individuals simply cannot work together and as a consequence pretty much the same happens, as was the case with Swoole and Open Swoole: https://github.com/swoole/swoole-src/issues/4434
Treat most pieces of software that you use as if they might not be there in a year.
-
A Self-Hosted and Open-Source Alternative to Google’s Firebase Releases Version 0.14
It's known by devs, it's simple, it's getting updates... I like PHP. Sure it has downsides but what doesn't. Oh, and with Swoole, even performance is bumped.
-
Take your Serverless Functions to new speeds with Appwrite 0.13
To allow for synchronous execution and prioritize speed, we decided to depart from the task-based system that most of our workers use and instead create a new component to Appwrite called the executor. The executor would handle all orchestration and execution responsibilities and remove the Docker socket from the functions worker. The executor is an HTTP Server built with Swoole and Utopia using various Appwrite libraries to interact with the database.
-
Using Bref's LambaRuntime to Asynchronously Run Swoole Coroutines as Functions on AWS
Swoole will be shipping something really-really cool that is it's own CLI. You can checkout the development at https://github.com/swoole/swoole-cli and you can start playing with it using the pre-compiled binary distributed under Swoole's releases at https://github.com/swoole/swoole-src/releases/tag/v4.8.7.
- Swoole 4.8.7 has been released
-
How is node compared to other backend tech?
It's been around for more then 8 years. Its a very established project with more the 17k stars https://github.com/swoole/swoole-src
parallel
-
Processing One Billion Rows in PHP!
Yes, we can! So far my approach was single threaded, which is the nature of most PHP software, but PHP does support threads in user land through the parallel extension.
-
Multi-threaded code via PHP-FPM
1- You can play around with the pcntl extension or any wrapper library like parallel. I'd say this also adds unnecessary complexity.
- Ask HN: Anyone still using PHP to build side projects or webapps
-
Convert php bot to py or js
Hello everything is fine? I need to use this bot, it works normally in php, but I can't get it to run because I need to compile php with the parallel library https://github.com/krakjoe/parallel. The bot, when giving the command, it checks in the api if the member belongs to the guild mentioned in the code and assigns it the correct role.
-
Parallel requires ZTS
Hello, I'm trying to install a dependency (https://github.com/krakjoe/parallel). it asks you to install ZTS, so from what I've researched on the internet it has to do with the "Xdebug" extension. I did the installation and configured the php.ini. But when I try to give the command "./configure --enable-parallel", I get this error:
- Weekly "ask anything" thread
- Elixir/Erlang VM Concurrency in PHP
-
Differences among Asynchronous PHP libraries: ReactPHP | amphp | Parallel (pThreads) | Swoole | Fibers | Spatie
Parallel [pThreads successor] (comes as extension too)
-
Parallel for 8
Take a look here: https://github.com/krakjoe/parallel/issues/170
-
Are Swoole maintainers lacking confidence in their product? Perspective from a PHP Core maintainer.
The CPU scheduler component for sure cannot be done in user-land, but I also have trouble understanding why it is needed, as from my understanding the whole point of fibers is to not rely on OS threads, which can be used by using the parallel extension.
What are some alternatives?
RoadRunner - 🤯 High-performance PHP application server, process manager written in Go and powered with plugins
async-php-8-io-http - True asynchronous PHP I/O and HTTP without frameworks, extensions, or annoying code. Uses PHP Fibers introduced in PHP 8.1
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
symfony-docker - A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
Symfony - The Symfony PHP framework
react-fiber - ReactPHP + ext-fiber
ReactPHP Promises Testing - PHPUnit assertions for testing ReactPHP promises
parallel - An advanced parallelization library for PHP, enabling efficient multitasking, optimizing resource use, and application responsiveness through multiple CPU threads.
Amp - A non-blocking concurrency framework for PHP applications. 🐘
coroutine - Cooperative multitasking using generators. The basics of coroutines, async and await!
React - Event-driven, non-blocking I/O with PHP.