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. volkfalcon
V

volkfalcon

@volkfalcon

Chat Follow Unfollow
0
Reputation
2
Posts
1.1k
Profile views
0
Followers
0
Following
Joined 17 Apr 2020, 16:43 Last Online 27 May 2020, 18:39

  • Profile
  • More
    • Continue chat with volkfalcon
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
volkfalcon Follow

Posts made by volkfalcon

RE: Seat reservation expired when many servers using the same redis

Hi again @endel,

I was using only plain redbird, and seems like each server can't handle the same process at all. I tried to change the code a bit, following some of your proxy logic but ended up getting the same result. In the end, the proxy should know which host and port to handle the proccess.

Before using redbird, I have also tried @colyseus/proxy but I thought it's not working since it always responded as timeout. After your suggestion, I tried your custom proxy again, and I just found out that the host caught by your proxy is hosted by ubuntu environment, while I tried the url from windows. Things work like a charm right after I change the host on your proxy code to 127.0.0.1 (of course for testing purpose only).

Thanks for the information about memory leaks, but seems like I got no other choice than your custom proxy for now. Yes, colyseus really needs a better option. It helps a lot in multiplayer game development. Hope to hear the good news soon.

Thank you for your kind response, @endel

posted in Questions & Help • 18 Apr 2020, 21:59
RE: Seat reservation expired when many servers using the same redis

Hi @endel

I got the same issue regarding "seat reservation expired"
In my case, I use pm2 to create server instances and redbird proxy for load balancing.
I failed to connect to 1 of the server instances, but it's doing okay with the other instance. (for testing, i create 2 server instances) My purpose is to make those servers connected on the same process.
My question is, can redis be used for multiple servers of the same game? Is there any solution I can do to fix this issue?

Hope to hear your feedback about this.
Thanks.

posted in Questions & Help • 17 Apr 2020, 17:00

© 2023 Endel Dreyer