Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    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 •
    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 •
    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 •
    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 •