Mercure: A WebSocket alternative for server-sent events

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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. Mercure

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

    The site offers a little more detail:

    https://mercure.rocks/

    Basically its server sent events with some stuff on top:

    https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...

    One big benefit of SSE is that you can put them behind a CDN, making scaling a lot easier. No idea about what Mercure brings there, though.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. nchan

    Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE), powered by Nginx.

    Also I could recommend https://github.com/slact/nchan. It has the same idea: hide and abstract pubsub complexity for a backend service. nchan is built on top of nginx and could be more convenient (existing nginx configuration knowledge) to deploy.

  4. feedapi-spec

    Specification of the FeedAPI protocol, and links to libraries available.

    The specification appears to be very similar to FeedAPI which I have been involved with:

    https://github.com/vippsas/feedapi-spec

    Our focus was kind of the opposite though: Remove the event broker instead of adding one.

    If I understand correctly, Mercure allows you to push events to the broker and clients pull log-based events.

    With FeedAPI we focused instead of removing the broker (RabbitMQ/Kafka/...) and let clients pull log-based events directly from backends. Works wonderfully (at a certain scale).

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

  • 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
  • Mercure: Real-Time Made Easy

    1 project | news.ycombinator.com | 8 May 2022
  • This code block eats a lot of CPU, can it be optimized?

    2 projects | /r/golang | 3 Sep 2021

Did you know that Go is
the 4th most popular programming language
based on number of references?