@darkghosthunter I'd imagine #PHP's never truly gonna be async by nature because the way it works is incompatible with that. Therefore, #ReactPHP, #Swoole, #amp_php, and #ratchedPHP being merely workarounds is just the natural conclusion of that.

But I might be wrong. Maybe, some smart person figures out a way to overcome PHP's limitations on that front while not breaking the language. That'd be awesome. I keep my fingers crossed for you 👍🏻 🤞🏻

#OpenSwoole

gRPC, HTTP, Websocket — и все это один сервер

Однажды передо мной встала довольно интересная задача: обеспечить взаимодействие стороннего веб-приложения - и набора сервисов, имеющих gRPC интерфейс. Нужно было проводить обработку данных от веб-приложения через конвейеры AI-агентов, собирать конечный результат, и отдавать его приложению. А также, что немаловажно, обеспечить наглядность мониторинга и управления всем хозяйством. Мне потребовалось разработать собственный сервер на PHP, в котором поддержать три типа интерфейсов. Во-первых, RestAPI для веб-приложения. Во-вторых, gRPC-сервис для взаимодействия с AI-агентами. В-третьих, HTTP + Websocket для интерактивного мониторинга и управления. Для этого пришлось создать новый продукт - который, возможно, кажется полезен и вам.

https://habr.com/ru/articles/925172/

#php #swoole #openswoole #opensourсe #grpc #websocket #http #javascript #html #dockercompose

gRPC, HTTP, Websocket — и все это один сервер

Однажды передо мной встала довольно интересная задача: обеспечить взаимодействие стороннего веб-приложения - и набора сервисов, имеющих gRPC интерфейс. Нужно было проводить обработку данных от...

Хабр
Boosting Symfony Performance with Symfony Runtime and OpenSwoole

Symfony is one of the most powerful PHP frameworks, but by default, it relies on PHP-FPM, which spawns a new process for each request. This can introduce latency and resource overhead. Wouldn’t it be…

Symfony Mastery
Boosting Symfony Performance with Symfony Runtime and OpenSwoole

Symfony is one of the most powerful PHP frameworks, but by default, it relies on PHP-FPM, which spawns a new process for each request. This can introduce latency and resource overhead. Wouldn’t it be…

Symfony Mastery

RoadRunner vs OpenSwoole vs FrankenPHP с Laravel Octane

На эту тему было опубликовано множество статей из различного рода источников и у многих заметил тенденцию когда каждый из трёх упомянутых технологий значительно лидирует по сравнению с остальными. Тем более что у многих показаны какие-то дикие результаты в виде 1к запросов в секунду... И мне захотелось всё проверить своими руками...

https://habr.com/ru/articles/885266/

#laravel #roadrunner #swoole #openswoole #frankenphp #сравнение #сравнение_производительности

RoadRunner vs OpenSwoole vs FrankenPHP с Laravel Octane

На эту тему было опубликовано множество статей из различного рода источников и у многих заметил тенденцию когда каждый из трёх упомянутых технологий значительно лидирует по сравнению с остальными. Тем...

Хабр

When you’re ready to set up and run high-performance #PHP applications with #Mezzio and #OpenSwoole.

https://docs.mezzio.dev/mezzio-swoole/v4/intro/

#Mezzio provides excellent tools that adhere to high-quality standards and industry guidelines.

Tap the 🌟 on GitHub to bookmark the repository for later.

https://github.com/mezzio/mezzio-swoole

If you want to use #Swoole, Mezzio also makes it easy.

Mezzio is powered by #PSR15 and your creativity.

Introduction - mezzio-swoole - Laminas Docs

Swoole support for Mezzio

I will ALWAY use #OpenSwoole

I DO NOT use #Swoole

They shipped a backdoor that downloaded and ran code from a third-party server

Remind me why should we trust their work again?

… bUt, It wAs rEmOvEd

yeah, after they wrongly accused and stripped their colleague (4 years=0% trust) of their privileges and most definitely after the fork

Now they are using "friends in high places" re-write the narrative for them.

Opinions, we all got one.

The facts of the matter is;

https://github.com/swoole/swoole-src/issues/4434#issuecomment-942898239

Swoole's admin interface hot-loads code from a third-party server ? · Issue #4434 · swoole/swoole-src

Hey i just saw this comment : heroku/heroku-buildpack-php#297 Word of warning: Swoole's admin interface hot-loads code from a third-party server; see swoole-src/ext-src/php_swoole_library.h Lines 7...

GitHub

"Note: Always use the original Swoole and not Open Swoole! The latter is a scam version parasitizing on the original extension."

#JetBrains should NOT be taking sides and promoting this message with absolutely no proof.

If anything, #OpenSwoole is a fork created to remove the backdoor in #Swoole.

This message, more than undermines and diminishes the hard work of OpenSwoole maintainers..

“Scam Version”
“Parasitizing”

https://blog.jetbrains.com/phpstorm/2024/07/php-annotated-june-2024

#php

PHP Annotated – June 2024 | The PhpStorm Blog

Welcome to the June edition of PHP Annotated! We'll recap the most interesting developments in the PHP community over the past couple of months, featuring handpicked news, articles, tools, and videos.

The JetBrains Blog

Who ever states that #php is slow lives in the past.

PHP has great libraries for async and/or co-routines.

It's even way faster than NodeJS.

#openswoole #amphp ❤️

Slides from my talk "Multiprocess PHP Containers with S6 Overlay " at #confoo are online. https://speakerdeck.com/johanjanssens/multiprocess-php-containers-with-s6-overlay-confoo-2023-fff7f58f-9471-459c-a0f6-edcd6fc05736

Also showing how to run an #openswoole HTTP Server as an additional supervised service. Kudos to @ska for building S6 and S6 Overlay!

#php #S6overlay #docker

Multiprocess PHP Containers with S6 Overlay - ConFoo 2023

In the pre-container era, the most common way of running PHP applications was with Nginx + PHP-FPM, with containers this is harder as you need two processes: Nginx and PHP-FPM. S6 Overlay can help to manage multi-process applications in a container - it takes the burden of security aspects, signal handling, configuration and log management off your shoulders & make your code more readable! URL: https://confoo.ca/en/2023 --- Info about S3 Overlay: https://github.com/just-containers/s6-overlay

Speaker Deck