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. itoonom
  3. Posts
  • Profile
  • More
    • Continue chat with itoonom
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by itoonom

Realtime Multiplayer Game on Amazon Beanstalk

Hi eveyone,
Have you tried using Colyseus on Amazon Beanstalk (or Microsoft Azure, Google Cloud...)? They say it can autoscale, and has everything Heroku has...
Since scaling and operating tasks are nightmare for small devs like me, what do you guys think about using Amazon Beanstalk or alike services for realtime multiplayer game?
Is it like, we just code the serverside (using Colyseus) with one server instance in mind (no more caring about clusters, horizontal scaling...), and let Amazon Beanstalk do the rest?
Looking forward to your opinions!
Thank you!

posted in General Discussion • 28 Aug 2019, 11:52
RE: About data when using Presence API

@endel
Thank you very much.
Your help gives me more confidence to keep going on. The scaling topic is all new to me, so every single explanation/example counts!

posted in Questions & Help • 15 Dec 2018, 16:33
Guide for RedisPresence config

Hi,
Is there any code example when we config RedisPresence? I mean the arguments inside RedisPresence(...).
Is it like the code below? I've just stepped in and everything seems difficult...
Thanks guys!

const gameServer = new colyseus.Server({
server: http.createServer(),
presence: new colyseus.RedisPresence(new ClientOpts {
host: localhost;
port: 5678;)
});

posted in Questions & Help • 9 Dec 2018, 14:07
About data when using Presence API

Re: Join rooms sharing auth

Hi, I read the thread but I'm unsure about what I understand.
If we set data on Redis using:
roomInstance.presence.hset(...)
Will the data be lost when the Room is disposed?
I think the data should be there until we manually delete it right?

If the data is lost when the Room is disposed, but I want the cached data to be still available, should I create a stand alone Redis client, and use the raw Redis API to cache data?
Please suggest... Any help is much appreciated! 😃

posted in Questions & Help • 9 Dec 2018, 13:57

© 2023 Endel Dreyer