It is currently 26 May 2020, 10:15
   
Text Size

XMage Server on Google Cloud (stateful or stateless) ?

by BetaSteward

Moderators: TheElk801, BetaSteward, LevelX, North, noxx, JayDi, jeffwadsworth, CCGHQ Admins

XMage Server on Google Cloud (stateful or stateless) ?

Postby mathieucarbou » 24 Jan 2020, 21:13

Hi guys,

I was planning to create an XMage server on Google Cloud. There are 2 options as far as I see:

1) Running a statefull server using Google Cloud Compute
2) If XMage allows it, create a stateless docker image and run the image using Google Cloud Run.

Questions:

- Someone tried already ?
- Can XMage be run sateless (as a daemon not creating any file or DB, but just in-memory) ?
- About the "saveGameActivated" option: is it this option that would allow to play but not in real-time, but only play our turn when we can connect ?

Thanks!
mathieucarbou
 
Posts: 4
Joined: 20 Jan 2020, 16:02
Has thanked: 4 times
Been thanked: 0 time

Re: XMage Server on Google Cloud (stateful or stateless) ?

Postby JayDi » 01 Feb 2020, 04:19

1. Xmage support cloud servers and docker. Wiki page have multiple links/instructions for setup. Current US and BETA servers works as docker in cloud service.

2. It's generates database files on startup (30MB, you can't disable it) and save some logs on disk (it can be disabled). BUT xmage don't need "state" files (e.g. you can run docker image, stop it, delete all files and run it again without problem).

3. saveGameActivated -- it's about game replays. Old versions supports to play recorded games but in current version it disabled (very buggy).
User avatar
JayDi
 
Posts: 268
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 36 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 12 guests


Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 12 guests

Login Form