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!
Posts made by itoonom
@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!
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;)
});
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! 😃