Online: 24
07:35 GMT         Day 74 of 90, Season 54    

Forum

Search



Performance Optimization
Team Zyte
Developer
Posts: 2561

Posted at:
09:19 13/10-2020 GMT

Registered: 24/3-2007
Status: Offline

  Hey guys
  
  I hope you are all doing well.
  
  Recently, we have seen more and more performance related bugs. The most common thing is show loading times. That's annoying for all, but at least still playable. The worst part is when it affects the race engine, which seemed to happen more and more free.
  
  Yesterday, I therefore spent a good amount of time trying to find the cause of (some of) the problems.
  
  I managed to find a few things to optimize. Hopefully, this will reduce the overall load and cause fewer engine crashes.
  
  I will be doing more optimization in the coming days.
  
  
  Best regards,
  OCM Developer Nick





Alpine
Posts: 2706

Posted at:
09:20 13/10-2020 GMT

Registered: 15/9-2014
Status: Offline

  Many thanks for following up!
  
Fighting
Posts: 2163

Posted at:
09:27 13/10-2020 GMT

Registered: 5/7-2013
Status: Offline

  Thanks, Nick, for the communication! Really appreciated :).
Lokomotíva Zvolen
Posts: 590

Posted at:
09:30 13/10-2020 GMT

Registered: 23/7-2014
Status: Offline

  Great! I hope WT will be faster too. :)
familytour
Posts: 3673

Posted at:
09:31 13/10-2020 GMT

Registered: 9/7-2014
Status: Offline

  The tour pages didn't load propperly, I noticed a change, thanks!!!
PEKAC B
Posts: 3293

Posted at:
09:54 13/10-2020 GMT

Registered: 31/5-2012
Status: Offline

  The WT part works as slow as it was before, I can´t see any change.
chupacabra
Posts: 102

Posted at:
12:35 13/10-2020 GMT

Registered: 2/9-2016
Status: Offline

  
  the tours page seems to load a lot quicker. had no issues with the NT sign up either.
  
  
  Cheers Nick.
PEKAC B
Posts: 3293

Posted at:
13:01 13/10-2020 GMT

Registered: 31/5-2012
Status: Offline

  Looks like the optimization is working perfectly:-)
  
  503
  Service Unavailable
  The server is temporarily busy, try again later!
Lokomotíva Zvolen
Posts: 590

Posted at:
13:26 13/10-2020 GMT

Registered: 23/7-2014
Status: Offline

  :D
  
  Yeah, I got that message twice already, but hey, when it works, it works well. :))
Zalom
Posts: 175

Posted at:
14:27 13/10-2020 GMT

Registered: 23/3-2016
Status: Offline

  I usually play through the mobile on my way to and from work and the difference today is huge, it charges a lot faster, specially the tour pages. Thanks, Nick!
Tashkent Browncoats
Posts: 1944

Posted at:
16:40 13/10-2020 GMT

Registered: 28/8-2014
Status: Offline

  Faster tour page? Hurray!
paceuts
Posts: 1206

Posted at:
17:35 13/10-2020 GMT

Registered: 16/6-2018
Status: Offline

  Thanks Nick, I'm sure we all appreciate any work you put into speeding things up :)
Rantanplan
Posts: 2852

Posted at:
19:34 13/10-2020 GMT

Registered: 8/12-2010
Status: Offline

  Thanks Nick, i notice a huge change when uploading Tours. At last a particular problem (for 20 teams) benefitted the whole community ! :)
Team Zyte
Developer
Posts: 2561

Posted at:
00:08 14/10-2020 GMT

Registered: 24/3-2007
Status: Offline

  I have now improved further on the performance of the Tour page.
  
  The engine itself can easily process without any server load. The problem is when other features overload the server.
  
  I have a "fail safe" so that the engine will not process races when there is an overload. However, during recent times, the this fail safe failed to establish that there is an overload whereas the server would process the races anyways. This resulted in the races crashes halfway through. That is more likely to happen during a tour stage where there is more to process than a normal stage. That is simply the explanation.
  
  Working on reducing the overall load on the server should solve this issue in general.
  
  I have found and optimized many heavy loading parts on the server, whereas I assume the general load will be reduced by a lot. Tours were especially hard on the server - that should no longer be the case, but I will naturally follow it closely.
  
  Best regards,
  OCM Developer Nick
familytour
Posts: 3673

Posted at:
00:10 14/10-2020 GMT

Registered: 9/7-2014
Status: Offline

  Thanks for your effort!
Velosipedska
Posts: 329

Posted at:
00:13 14/10-2020 GMT

Registered: 16/2-2020
Status: Offline

  Thanks for your efforts. I've been critical in the past regarding response time from you or Don when issues arise (mainly after the sponsor bugs), but credit where credit is due - the recent tour issues have been handled really well and it seems like you've optimized the game a lot in the past few days.
  
  Thanks again for finding time to put in all this effort Nick, appreciate it.
Team Zyte
Developer
Posts: 2561

Posted at:
00:18 14/10-2020 GMT

Registered: 24/3-2007
Status: Offline

  Thanks for the support guys.
  
  I fully understand Velosipedska. My time is, sadly, very variable and depending on too many factors out of my control.
  
  In general, Don is really good at contacting me about critical issues and I try to fix them as soon as possible. That may not always be what people hope for - but I try to make the best of it.
  
  
  If you guys notice any particular pages loading slow - please let me know which and I will look into the issues. I just did the national teams pages which now is a lot faster. I might as well continue this positive streak I am onto here.
  
  These many improved performance matters should really reduce the overall load and thereby hopefully fix the engine bugs (crashing).
  
  Best regards,
  OCM Developer Nick
familytour
Posts: 3673

Posted at:
00:52 14/10-2020 GMT

Registered: 9/7-2014
Status: Offline

  I confirm, the pages are a lot faster than before!
Lokomotíva Zvolen
Posts: 590

Posted at:
08:55 14/10-2020 GMT

Registered: 23/7-2014
Status: Offline

  I have two bugs to report, but not related to performance.
  
  On Valparaiso tour page my rider is not highlighted in bold, and the same happens in Oryx in sprinting category. That is just a cosmetic thing, but still.
  
  On top of that, I see now that in YC category in Valparaiso there is not my rider as a winner - not that it matters that much because on his own page it is recorded, but it is still a bug. And I remember winners in YC in Oryx, and there is a completely different set of names now.
Fighting
Posts: 2163

Posted at:
09:02 14/10-2020 GMT

Registered: 5/7-2013
Status: Offline

  Thank you, Nick, for the communication! Really appreciated!
Team Chili
Posts: 1488

Posted at:
09:08 14/10-2020 GMT

Registered: 4/3-2009
Status: Online

  Nice work Nick!
Navarone Cycling Team
Posts: 1112

Posted at:
09:50 14/10-2020 GMT

Registered: 26/7-2011
Status: Offline

  Nice work, thanks!
PEKAC B
Posts: 3293

Posted at:
14:58 14/10-2020 GMT

Registered: 31/5-2012
Status: Offline

  Historical YC results seem to be perfectly optimized now, just with a little bug. I was looking at Germany Tour and there are random rider names given to the flags (which are correct) and team names (which are correct as well), e.g. edition nr. 30 Lieven Zwartkruis instead of Farruco Alonso or season nr. 14 Sam Ritt instead of Vitaliy Bayer. I would guess it is the same in the other editions as well.
NJ procycling
Posts: 701

Posted at:
16:58 14/10-2020 GMT

Registered: 15/9-2013
Status: Offline

  The NT pages are so much faster, that makes me happy! Thanks Nick :)
Team WonderDee
Posts: 5681

Posted at:
17:18 14/10-2020 GMT

Registered: 13/7-2008
Status: Offline

  New races is not added to the riders bio after the fix.
NightmareChaos
Posts: 7468

Posted at:
17:45 14/10-2020 GMT

Registered: 27/3-2011
Status: Offline

  Optimization is done, 1st victory this season.
  I knew it was related to the game and not the player
  
Team Zyte
Developer
Posts: 2561

Posted at:
18:47 14/10-2020 GMT

Registered: 24/3-2007
Status: Offline

  Hey guys
  
  I found the errors on the visuals and fixed them.
  
  The bug identified by Team WonderDee is not something I have been able to replicate myself. Can you give me an example?
  
  Best regards,
  OCM Developer Nick
Team WonderDee
Posts: 5681

Posted at:
18:55 14/10-2020 GMT

Registered: 13/7-2008
Status: Offline

  For example my rider Alexander Hetland did a race for the NT today, Bruxelles - Liège (WT). Not shown in this page: http://www.cyclingsimulator.com/?page=Rider%20Profile&id=986143#1
  
  An other example is my rider Rey Rozadilla who did race Tour of Luzon today. Not shown in this page: http://www.cyclingsimulator.com/?page=Rider%20Profile&id=1172255#1
NightmareChaos
Posts: 7468

Posted at:
19:12 14/10-2020 GMT

Registered: 27/3-2011
Status: Offline

  That's a known one, right, it takes sometimes a few hours to let them load in those
Lokomotíva Zvolen
Posts: 590

Posted at:
20:05 14/10-2020 GMT

Registered: 23/7-2014
Status: Offline

  Visuals fixed indeed! Correct names and bolds are back. Thanks!
Time Indaiatuba
Posts: 1090

Posted at:
22:30 14/10-2020 GMT

Registered: 19/6-2017
Status: Offline

  Just adding to what Wonderdee has said: it looks like none of the riders from today's Brussels-Leige have that result in their results page. The top 3 has it listed but it disappears when you click 'see all results'. The riders outside the top 3 have nothing when you expand the results.
  
  Interestingly, the stat on the riders page 'Races for national team' has been updated and is correct. So it seems it's just the result not showing up on the expanded page.
Team Zyte
Developer
Posts: 2561

Posted at:
23:07 14/10-2020 GMT

Registered: 24/3-2007
Status: Offline

  Thank you for elaborating.
  
  The problem was that the recent "doulbe run" of the stage in one of the tours caused the result list to be "longer than possible". The feature that calculates each rider's position and updates their results accordingly therefore got stuck in an infinite loop. Very unhealthy for the server even. I fixed that now. Thanks for noticing.
  
  This was another place which I also optimized to further reduce the server load. I really feel like this week's intense focus on server load is starting to pay off.
  
  Best regards,
  OCM Developer Nick
  
  
  --- UPDATE ---
  Also, just to clarify, as NightmareChaos said, they do update with a bit of delay. But with the new performance boost, I think they should quickly catch up and the delay will be minimal going forward.

Last edit by Team Zyte at 23:11 14/10-2020.

Holwerda Cycling
Posts: 2755

Posted at:
23:16 14/10-2020 GMT

Registered: 29/6-2011
Status: Offline

  Great news, thanks!
Loithletics
Posts: 71

Posted at:
11:29 16/10-2020 GMT

Registered: 14/7-2017
Status: Offline

  Wow! Removing riders from the national team squad is almost instantaneous now. Before, I used one tab for each rider and then went to have a beer until they were removed. This was the main thing that made me tired of the national team management. Thank you very much!
ABK
Posts: 3309

Posted at:
11:42 16/10-2020 GMT

Registered: 7/6-2010
Status: Offline

  This is great stuff! It doesn't take a minute or more to load a live tour page!
Yuri SuperTeam
Posts: 5528

Posted at:
11:44 16/10-2020 GMT

Registered: 31/7-2009
Status: Offline

  Helmbrecht, if it made you go drink a beer it was a great feature from OCM :)
  
  Ein anderes Bier ist nie ein Problem! :)
  
  Enjoy responsibly,
  Yuri

Reply