github centrifugal/centrifugo v2.2.3

latest releases: v5.4.7, v5.4.6, v5.4.5...
5 years ago

No backwards incompatible changes here.

Improvements:

  • New chapter in docs: Benchmarking server. This chapter contains information about test stand inside Kubernetes with million WebSocket connections to a server based on Centrifuge library (the core of Centrifugo). It gives some numbers and insights about hardware requirements and scalability of Centrifugo
  • New channel and channel namespace options: presence_disable_for_client and history_disable_for_client. presence_disable_for_client allows to make presence available only for server side API. history_disable_for_client allows to make history available only for server side API. Previously when enabled presence and history were available for both client and server APIs. Now you can disable for client side. History recovery mechanism if enabled will continue to work for clients anyway even if history_disable_for_client is on
  • Wait for close handshake completion before terminating WebSocket connection from server side. This allows to gracefully shutdown WebSocket sessions

Fixes:

  • Fix crash due to race condition, race reproduced when history recover option was on. See commit with fix details
  • Fix lack of client_anonymous option. See #304

This release is based on Go 1.13.x

Docker images

  • docker pull centrifugo/centrifugo:v2.2.3
  • docker pull centrifugo/centrifugo:v2
  • docker pull centrifugo/centrifugo:v2.2
  • docker pull centrifugo/centrifugo:latest

Don't miss a new centrifugo release

NewReleases is sending notifications on new releases.