You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One common framework that has gained popularity in the PHP world is php-fpm. It's a lot more efficient way to serve PHP workloads than the traditional embedding of the PHP modules in the web server. The communication happens through a TCP protocol which isn't HTTP, but a binary form, made to be more efficient. The RFC spec can be found here https://fastcgi-archives.github.io/FastCGI_Specification.html.
The architecture of how this is typically setup is like this:
I took a peek of what this looks under the covers and after some initial binary data, at least the request part looks pretty easy to parse, e.g. it's very similar to how we handle SQL in a generic way:
One other wrinkle here is that folks typically set this up with Unix sockets rather than network sockets. We need to check what (if anything) we need to do to ensure we support Unix sockets in Beyla.
The text was updated successfully, but these errors were encountered:
One common framework that has gained popularity in the PHP world is
php-fpm
. It's a lot more efficient way to serve PHP workloads than the traditional embedding of the PHP modules in the web server. The communication happens through a TCP protocol which isn't HTTP, but a binary form, made to be more efficient. The RFC spec can be found here https://fastcgi-archives.github.io/FastCGI_Specification.html.The architecture of how this is typically setup is like this:
I took a peek of what this looks under the covers and after some initial binary data, at least the request part looks pretty easy to parse, e.g. it's very similar to how we handle SQL in a generic way:
One other wrinkle here is that folks typically set this up with Unix sockets rather than network sockets. We need to check what (if anything) we need to do to ensure we support Unix sockets in Beyla.
The text was updated successfully, but these errors were encountered: