|
Post by Poekie on Mar 21, 2021 20:06:37 GMT 1
Currently I am looking at the possibility of moving Peloton to another server. The hosting costs are more than 1000 dollars per year currently. I think it's possible to reduce it to less than 500 dollars. Maybe even much less.
A problem is that my IT knowledge is limited. The same counts for Schizm. We are not 100% sure what is needed. Also moving the game will be a challenge.
Anyone here who is familiar with ASP.net, cloning VPS and stuff like that? If you can help, it can make a big differene for the future of the game.
|
|
|
Post by helmbrecht on Mar 22, 2021 14:37:50 GMT 1
Without really knowing the internal details of peloton, I cannot imagine that it might really need a server space worth 1000 €uros. The key numbers are usually:
- Space: probably there is mainly the database without graphics or other space-consuming things. Check its size, but probably any serious hosting package will have more than enough space.
- CPU speed. I guess peloton has high CPU usage for a few minutes at 13 h, while the rest of the time you barely use the CPU. How much power you need is hard to tell without testing. Obviously the current power is sufficient. For such a unbalanced consumption probably a cloud server is appropriate, where you do not pay for the max load all day. One could think of spreading out the divisions to different hours. This would create several smaller peaks in CPU load instead of one big one - again without knowing the details I would guess that this spreading out could be done without much programming skill by just modifying the daily cronjob scripts.
- Traffic volume: should be below any reasonable limit of any package, just as space..
- RAM: see CPU
There might even be someone here with a big fat server, who could offer the space for some time. If you post the currently used space and the currently contracted numbers for the other three factors (or even better your minimum requirements, but thesecannot simply be read), it would be easier to make an estimation of what a sufficient server should cost.
If you have the code installed on your computer, you can also run a test there to see how long a race simulation takes with your hardware. If that time is acceptable, you can look for offers with comparable power. If the time is 10 times too slow, you also have an idea what kind of power to look for etc.
|
|
|
Post by Poekie on Mar 22, 2021 17:42:21 GMT 1
I don't know the space used; the VPS on which Peloton is running has 50GB space, but I suspect much less is needed. The VPS also has 4 cpu cores. Probably 2 or even 1 will do. 2GB internal memory, 1GB might do. It is running on a Microsoft server, which means extra costs unfortunately (licence fees). MySql is needed, maybe even mssql (but I think not). Traffic volume: I cannot imagine it not being low. Few graphics, not that many users. Installing the code on another computer to test would be nice, if someone knows how to do it. That's why I posted here The cheapest solution is probably to run it on someone's spare home computer (though with an uptime risk). If we can move it to another hoster it would also be nice. If we can clone the VPS at the current hoster, it's probably doable with limited technical knowledge (I have asked them about it, waiting for an answer now). If not, we probably need an expert.
|
|
|
Post by naspa on Mar 22, 2021 18:34:53 GMT 1
Well, sorry to be a partypooper. The game does not require much hardware and large scale connectivity as it is. But you want to use professional services that guarantee safe use and availability. Maybe finally enable secure connections. Bigwish of me as fighter of cheaters is 2-factor-authentication. Will not solve all, but limits abuse to owning sim-cards instead of using multiple proxy servers.
Way forward in developing this game is adding tactical options. Do not try to improve graphics - this is what "Cycling Manager" does. Just add a few instructions in the cyclist order menu. Maybe - and this will be really interesting- add "secundary" instructions. (If plan A fails, helping your GC men, plan B kicks in, you can sprint!). And most important, if we look at cycling nowadays real life: a 22 year old can win a grand tour! We should have talent have a bigger influence. The 7-skill-barrier should be abolished for primary skills and the FA shoudl kick more early and more heavy. (Steep curve to be flattened). One of my biggest wishes is that staminen and resilience are skills/qualities that can be developed. Less fatigue, quicker recovery. Why not train on that?
Happy to help develop the game. Send some money. Less than I wanted to give. But also I am hit hard by these strange times.
|
|
|
Post by helmbrecht on Mar 23, 2021 7:01:01 GMT 1
<abbr title="Mar 22, 2021 17:42:21 GMT 1" class="o-timestamp time" data-timestamp="1616431341000">Mar 22, 2021 17:42:21 GMT 1</abbr> Poekie said: I don't know the space used; the VPS on which Peloton is running has 50GB space, but I suspect much less is needed. MySql is needed, maybe even mssql (but I think not).
Installing the code on another computer to test would be nice, if someone knows how to do it. That's why I posted here The cheapest solution is probably to run it on someone's spare home computer (though with an uptime risk). If we can move it to another hoster it would also be nice. If we can clone the VPS at the current hoster, it's probably doable with limited technical knowledge (I have asked them about it, waiting for an answer now). If not, we probably need an expert. You cannot expect to clone the entire VPS I think. All the operating system parts as well as programming language, database versions etc. must be installed one by one, but most common elements are already installed by the ISP. Here you need to figure out what you need. Then you copy all the html, aspx, php and whatever files. For the database, there is a command to export the entire beast into a .sql file, which can the be imported into the DB at the new server. Setting up the db access for the scripts and creating the necessary cronjobs must probably be done by hand. Not much more should be necessary.
I must add that I have never done such a server move, but I do have some idea in general. From what you say, it might be possible to have the game hosted for less then 10 €uros per month, if you get it running on a linux server.
|
|
|
Post by ElGringo on Mar 23, 2021 10:45:29 GMT 1
I don't know the space used; the VPS on which Peloton is running has 50GB space, but I suspect much less is needed. The VPS also has 4 cpu cores. Probably 2 or even 1 will do. 2GB internal memory, 1GB might do. It is running on a Microsoft server, which means extra costs unfortunately (licence fees). MySql is needed, maybe even mssql (but I think not). Traffic volume: I cannot imagine it not being low. Few graphics, not that many users. The server is with 50GB and is near the limit, the game use about 20Gb I think. We need to use an windowns server because of the VB studio. I will try to get all infos
|
|
|
Post by ElGringo on Mar 23, 2021 22:34:40 GMT 1
For the server, as the game uses background programs to handle races, transfers and updates, a dedicated server is required so that you can schedule these. Apart from that, it's up to us how much traffic it should be able to handle
|
|
|
Post by helmbrecht on Mar 24, 2021 12:48:39 GMT 1
For the server, as the game uses background programs to handle races, transfers and updates, a dedicated server is required so that you can schedule these. Apart from that, it's up to us how much traffic it should be able to handle
I think that cronjobs (to trigger the background programmes) will be available on any kind of hosting setup. Maybe many years ago I read somewhere some limit on the number of cronjobs available for a hosting offer, but all the offers I see now do not even talk about this. If you can install software on virtual servers, you must be able to create cronjobs... it should not need to be a dedicated one.
A more delicate topic seems to be the Windows-based hosting. Looking through some offers I have seen some that charge 10 €uro per month AND per core for the Windows license (compared to linux) while others do not charge anything additionally. I am not sure how to interpret these differences.
|
|
|
Post by berdios on Mar 27, 2021 17:27:47 GMT 1
Can't we just downgrade our hosting with current provider?
|
|