Testers wanted - new replay server

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Testers wanted - new replay server

Postby Brutus5000 » 11 Jul 2019, 00:21

**Testers wanted**
The new replay server is live on prod for testing. You can select it on the Java client login environment "Main server - test new replay server" (in the combo box).

The server runs in parallel to the existing one, but writes the replay into a different directory. So if a game has a user connected to the old one and a new one both replays will be written. That way we can compare them. If all users use the old one, nothing changes. If all players use the new one it will only be written to the new directory, thus not be downloadable in the vault for now.

To download the replay from the new server there is a new url: http://content.faforever.com/aio-replay ... id=ID_HERE

Please try to organize some tests with more than person connecting to the new replay server.


If you encounter any issues you can also discuss here.
The 9th Doctor wrote:You think it'll last forever, the people and cars and concrete. But it won't. One day it's all gone, even the sky.
Brutus5000
Councillor - DevOps
 
Posts: 366
Joined: 05 Aug 2016, 23:32
Has liked: 29 times
Been liked: 288 times
FAF User Name: brutus5000

Re: Testers wanted - new replay server

Postby PhilipJFry » 11 Jul 2019, 08:42

what is new about this new replay server and what are current issues from the old one that should be fixed with this new server?

anything specific we should look out for when testing?
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: Testers wanted - new replay server

Postby Brutus5000 » 11 Jul 2019, 09:39

The old replay server seems to be responsible for a lot of broken replays. Basically it picks only one of the many game streams and writes that to disk. If this players stream is broken, the replay is broken as well.
From my understanding the new replay server is trying to find the replay stream that matches most players (so if one stream "desyncs" it will not be used).

Furthermore: The old replay server was using blocking IO (do an operation on one thing and wait for it to finish) and causing permanent 100% CPU load on one core. Given the fact that we can not scale to more cores (Python does not offer multithreading) I am pretty sure some problems came from the problem that the server was simply overloaded with work. The new replay server is using asyncronous IO which hopefully will give us a big performance improvements.

Since we cannot desync the game on purpose, the only test is: Does it create working replays?
The 9th Doctor wrote:You think it'll last forever, the people and cars and concrete. But it won't. One day it's all gone, even the sky.
Brutus5000
Councillor - DevOps
 
Posts: 366
Joined: 05 Aug 2016, 23:32
Has liked: 29 times
Been liked: 288 times
FAF User Name: brutus5000

Re: Testers wanted - new replay server

Postby nine2 » 11 Jul 2019, 12:21

you can desync on purpose by writing a rogue sim mod on ine machine only, loaded similar way to advanced strategic icons
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Testers wanted - new replay server

Postby Brutus5000 » 13 Jul 2019, 23:24

We fixed a critical bug today. The mapname of the replay was filled with a slightly wrong value, as such replays could not be played because the client could not find the map.
All replays before right now are presumably broken.

Please keep on testing with new games :)
The 9th Doctor wrote:You think it'll last forever, the people and cars and concrete. But it won't. One day it's all gone, even the sky.
Brutus5000
Councillor - DevOps
 
Posts: 366
Joined: 05 Aug 2016, 23:32
Has liked: 29 times
Been liked: 288 times
FAF User Name: brutus5000


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest