Swoole
RoadRunner
Our great sponsors
Swoole | RoadRunner | |
---|---|---|
34 | 32 | |
18,213 | 7,676 | |
0.3% | 0.9% | |
8.6 | 9.2 | |
7 days ago | 14 days ago | |
C++ | Go | |
Apache License 2.0 | MIT License |
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
RoadRunner
-
Performance benchmark of PHP runtimes
FrankenPHP
-
RoadRunner: High performance PHP app server, load balancer and process manager
why link to the old URL when linking to its redirected one is less confusing?
https://github.com/roadrunner-server/roadrunner#readme (MIT)
-
An Internet of PHP
Don't follow any advice to use Apache as a reverse proxy, or bundle php with a classic web server.
There are real application servers using an event loop by now, most notably Roadrunner (https://roadrunner.dev), FrankenPHP (https://frankenphp.dev), Laravel Octane (https://laravel.com/docs/10.x/octane#introduction), Swoole Bridge for Symfony (https://github.com/insidestyles/swoole-bridge-bundle).
In general, you can do a lot with OpenSwoole or Roadrunner. They are vastly superior (in a container scenario) to any other suggestion in this thread!
- RoadRunner: High-performance PHP application server written in Golang
- Go with PHP
- Call Go from PHP >8.0
-
Call GO from PHP 8.0
https://roadrunner.dev which golang php application server which can replace nginx +php fpm has a module for running golang via php using sockets.
-
I don’t get all the hate for PHP and at this point I am too afraid to ask.
You could also use something like EventMachine (In ruby), Twisted (Python), Node (JS) or ReactPHP (for PHP) that will use the language and turn it into a web application server, and then you'll have only one long running process that handle all your requests with shared memory. You could even use something more fancy like RoadRunner in the case of PHP.
-
Fast and reliable framework
Have you considered optimizing the Laravel app? I love Go, but full rewrite for such low rate sounds overkill. Have you looked at the RoadRunner PHP application sample, for example?
-
Yii Dependency Injection.
Has state resetter for long-running workers serving multiple requests such as RoadRunner or Swoole.
What are some alternatives?
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Symfony - The Symfony PHP framework
laravel-swoole - High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
ReactPHP Promises Testing - PHPUnit assertions for testing ReactPHP promises
nginx-prometheus - Turn Nginx logs into Prometheus metrics
Amp - A non-blocking concurrency framework for PHP applications. 🐘
Workerman - An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
React - Event-driven, non-blocking I/O with PHP.
traefik - The Cloud Native Application Proxy
CodeIgniter - Open Source PHP Framework (originally from EllisLab)
Ponzu - Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.