Centrifuge v0.16.0 now supports unidirectional transports for real-time messaging updates such as unidirectional GRPC stream, EventSource(SSE), Fetch Readable Stream

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Socket.io

    Realtime application framework (Node.JS server)

    There were lots of other various improvements in latest releases - for example possibility to iterate over channel history from a client-side to manually recover missed messages. Also various cluster improvements. Survey method to get data from all running nodes. And many more actually. Take a look if you are looking for socket.io analogue/replacement for Go language. Library Readme has a lot of information to start with. Happy to answer questions.

  • centrifuge

    Real-time messaging library for Go. The simplest way to add feature-rich and scalable WebSocket support to your application. The core of Centrifugo server.

    With Centrifuge v0.16.0 it's now possible to use a bunch of unidirectional transports for cases where bidirectional communication not really needed. New release includes several examples for unidirectional GRPC stream, EventSource, Fetch Readable Stream (all links in release notes) and even unidirectional WebSocket (ha-ha!). Previously I could not find a good way to fit this into Centrifuge protocol – now I think I found a pretty elegant solution. I believe this could give developers more choice especially for simple use cases without frequent dynamic subscriptions/unsubscriptions (though with new API it's possible to subscribe/unsubscribe specific client cluster-wide). The additional beauty of unidirectional approach is that it does not really require using specific Centrifuge libraries for different environments (since bidirectional communication is pretty hard to use without extra library on top of client-server framing protocol) - just use native browser APIs or GRPC-generated code to connect and receive real-time updates.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

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