Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. holymoly
  3. Posts
  • Profile
  • More
    • Continue chat with holymoly
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by holymoly

RE: Why redis and mongo for scalability? redis enough(sovled)

I could reach out Endel and post his anwser here:

"
We've recently included a RedisDriver as well, so MongoDB is not mandatory if you use RedisDriver.
https://www.npmjs.com/package/@colyseus/redis-driver

I just noticed this is not documented yet, gonna document it for the next version!

Cheers"

posted in Questions & Help • 22 Nov 2021, 16:45
Why redis and mongo for scalability? redis enough(sovled)

I have two questions to get a better understanding about scaling colyseus

  1. The documentation is stating that you need both, redis and mongo. I would like to understand why. Why do you need redis and mongo to get scaling? Wouldn't redis be enough?

  2. When the proxy is used, is each client routed to the process where the room was created/reserved or do they simply connect to any process/server and then communicate via redis?

Thx for any hints :)

posted in Questions & Help • 22 Nov 2021, 15:27

© 2023 Endel Dreyer