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) ?
by 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!
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) ?
by 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).
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).
-
JayDi - Posts: 324
- Joined: 23 Nov 2017, 15:41
- Location: Russia
- Has thanked: 0 time
- Been thanked: 48 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests