I'm interested in setting up some autohosting. This is a check list if anyone wants to give advice. Some of it might be something I could have Googled for but for now with the time I have it's a start.
Short run:
1. I'll start off with a very cheap temporary server to get an idea of load concerns.
2. Hosted in Europe.
3. I'll most likely want to do all of my own compilation.
4. I don't trust the software server side. Compilation and execution would happen in a container.
5. Hosting the bot alone should be really cheap. The main contention that I am aware of should be on when the spring engine runs.
6. Getting loads and loads of maps.
Medium run:
1. When the spring engine runs it becomes expensive. I would likely move this over the be run on another instance with perhaps one provisioned beforehand sometimes if I want to have autohosts for many mods and quick start for VM. Would need some monitoring to prevent abuse like someone joining all autohosts and then hanging leaving them running.
2. Create some webtools to inspect maps and mods in greater detail.
Long run considerations that I probably wont have time for:
1. Hosting something that allows speech for games. I miss playing games with that.
2. Compiling all the various software packages for Linux and possibly Windows.
3. Hosting old spring engines with old mods (FF, blox, KP, etc).
4. Hosting a bunch of network relay autohosts (it should be cheap on resources except bandwidth and much more reliable than hosting the whole engine).
5. Use as a platform for contributing to the software.
Anyone got any hints about performance characteristics for running spring headless? I assume it's going to consume at least one whole core. What about memory usage? I'll take a look on my machine but I assume that headless will use less resources than with graphical interface. Does anyone know the difference that makes?
Setting up autohost/relayhost
Moderator: Moderators
Re: Setting up autohost/relayhost
The autohost software is either SPADS or springie. Both use spring-dedicated to handle matches. That's basically a proxy and uses very little memory and almost no CPU. You could run it on a raspi - except it won't sync because of the different CPU architecture. Try it on your lowest-resources PC you have (under Linux!) and connect to it with some bots and play - then you'll see.
If you use SPADS (https://github.com/Yaribz/SPADS) you'll get excellent support in this forum from the other hosters as well as the author (bibim).
If you use SPADS (https://github.com/Yaribz/SPADS) you'll get excellent support in this forum from the other hosters as well as the author (bibim).
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Setting up autohost/relayhost
Unless you do it on windows, in which case it will max out CPU.dansan wrote: That's basically a proxy and uses very little memory and almost no CPU.
A PI should sync, because dedicated isn't running the simulation. However, no one has built it for RPI, so rip.