Centrifugo v2.8.0 Release Notes

Release Date: 2020-11-16 // 5 months ago
  • ๐Ÿ‘‰ Minor backwards incompatible changes here when using client_user_connection_limit option โ€“ see below.

    ๐ŸŽ Centrifugo v2.8.0 has many internal changes that could affect overall performance and latency. In general, we expect better latency between a client and a server, but servers under heavy load can notice a small regression in CPU usage.

    ๐Ÿ‘Œ Improvements:

    • ๐Ÿ‘€ Centrifugo can now maintain a single connection from a user when personal server-side channel used. See #396 and docs
    • ๐Ÿ‘€ New option client_concurrency. This option allows processing client commands concurrently. Depending on your use case this option has potential to radically reduce latency between a client and Centrifugo. See detailed description in docs
    • ๐Ÿ‘‰ When using client_user_connection_limit and user reaches max amount of connections Centrifugo will now disconnect client with connection limit reason instead of returning limit exceeded error. Centrifugo will give a client advice to not reconnect.

    โœ… Centrifugo v2.8.0 based on latest Go 1.15.5

    ๐Ÿณ Docker images

    • ๐Ÿณ docker pull centrifugo/centrifugo:v2.8.0
    • ๐Ÿณ docker pull centrifugo/centrifugo:v2
    • ๐Ÿณ docker pull centrifugo/centrifugo:v2.8
    • ๐Ÿณ docker pull centrifugo/centrifugo:latest

Previous changes from v2.7.2

  • No backwards incompatible changes here.

    ๐Ÿ›  Fixes:

    • Fix client reconnects due to InsufficientState errors. There were two scenarios when this could happen. The first one is using Redis engine with seq/gen legacy fields (i.e. not using v3_use_offset option). The second when publishing a lot of messages in parallel with Memory engine. Both scenarios should be fixed now.
    • ๐Ÿ›  Fix non-working SockJS transport close with custom disconnect code: this is a regression introduced by v2.6.2

    ๐Ÿณ Docker images

    • ๐Ÿณ docker pull centrifugo/centrifugo:v2.7.2
    • ๐Ÿณ docker pull centrifugo/centrifugo:v2
    • ๐Ÿณ docker pull centrifugo/centrifugo:v2.7
    • ๐Ÿณ docker pull centrifugo/centrifugo:latest