It is currently 19 Apr 2024, 17:16
   
Text Size

XMage Server on Google Cloud (stateful or stateless) ?

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, 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: 324
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 48 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 94 guests


Who is online

In total there are 94 users online :: 0 registered, 0 hidden and 94 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 94 guests

Login Form