Scalability with Redis?

26 Oct 2020, 03:24

Hi,
In the docs it states that in order to scale colyseus you need Redis and Mongo.
I created a server that uses RedisPresence and ran it in two processes on two different ports.
Doesn't work. Always reports this error.

colyseus.js - onError => (0) seat reservation expired.

If I kill one of the processes, it works again.

  1. Is this a known problem?
  2. Is there a fix or workaround?

Thank you!

26 Oct 2020, 12:08

Hi @darreng, have you also set up the dynamic proxy? https://docs.colyseus.io/scalability/#dynamic-proxy

(Repo: https://github.com/colyseus/proxy/)