FastCGI: 30 Years Old and Still the Better Protocol for Reverse Proxies

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. libwas

    The Web Application Socket (WAS) protocol and reference implementation

    I agree with the article, FastCGI is better than HTTP for these things.

    Though I'd like to make another protocol known: Web Application Socket (WAS). I designed it 16 years ago at my dayjob because I thought FastCGI still wasn't good enough.

    Instead of packing bulk data inside frames on the main socket, WAS has a control socket plus two pipes (raw request+response body). Both the WAS application and the web server can use splice() to operate on a pipe, for example. No framing needed. Also, requests are cancellable and the three file descriptors can always be recovered.

    Over the years, we used WAS for many of our internal applications, and for our web hosting environment, I even wrote a PHP SAPI for WAS. Quite a large number of web sites operate with WAS internally.

    It's all open source:

    - library: https://github.com/CM4all/libwas

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. libcommon

    Library of reusable C++ code

  4. beng-proxy

    Web server

  5. davos

    WebDAV server (by CM4all)

  6. php-src

    A PHP fork with WAS support (https://github.com/CM4all/libwas) (by CM4all)

  7. Mercure

    🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications

    That can be used with https://mercure.rocks :)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Real-time messaging with Mercure SSE in PHP

    2 projects | dev.to | 28 Mar 2026
  • Mercure: A WebSocket alternative for server-sent events

    4 projects | news.ycombinator.com | 1 Jan 2025
  • PHP homies, I hear ya.

    1 project | /r/ProgrammerHumor | 13 May 2023
  • OpenAI server-sent events supported chatbot

    2 projects | /r/PHP | 18 Feb 2023
  • laravel activity feed

    2 projects | /r/PHPhelp | 30 Jan 2023