Skip to content

Commit

Permalink
doc fixes: channels not supported in Redis Cluster, blog update
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Aug 7, 2020
1 parent 6de3432 commit d4df10b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/content/blog/scaling_websocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ conns.Add(conn)

– otherwise you have a risk to not even able to look at `pprof` when things go bad. And you always need monitoring of open file descriptors.

You can also consider using [netutil.LimitListener](https://godoc.org/golang.org/x/net/netutil#LimitListener) for this task, but don't forget to put pprof on another port with another HTTP server instance in this case.

Keep attention on *Ephemeral ports* problem which is often happens between your load balancer and your WebSocket server. The problem arises due to the fact that each TCP connection uniquely identified in the OS by the 4-part-tuple:

```
Expand Down
3 changes: 3 additions & 0 deletions docs/content/server/engines.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ When sharding enabled Centrifugo will spread channels and history/presence keys

Redis cluster supported since Centrifugo v2.5.0

!!!danger
Redis Cluster integration does not support `channels` API command due to Redis cluster limitations. Other Centrifugo features should work.

Running Centrifugo with Redis cluster is simple and can be achieved using `redis_cluster_addrs` option. This is an array of strings. Each element of array is a comma-separated Redis cluster seed nodes. For example:

```json
Expand Down

0 comments on commit d4df10b

Please sign in to comment.