gizmo wrote:
Tarnus wrote:
Gizmo I am going to simplify it and say, yes your right, BUT, due to the enormous server hit that SD takes in the scheduler, we eliminated fighters consuming energy on the tick, hence the only time energy is consumed is when the SD is attacked. This is also why energy generation has been limited. If your gonna fly a ton of fighters expect them to drain energy under duress.
LOL. Fair enough. I wouldn't have thought that calculating SD would have caused such heartburn, but it sounds like you've already been down that road so I'll bow to your experience.
When the fighters respond to an attack they check what friendly/team planets have energy and combine the total. After the attack is finished there is a query that will divide the energy used among the available planets in the sector. Now imagine that happening every 5 minutes for about 4,000 sectors with around 20,000 planets. It put a HUGE load on the database server.
The scheduler that runs every 5 minutes was taking close to 3 minutes on the Main Game when we had that many planets and sectors with SD. The CPU load was getting close to 200%. When we changed to this new method the load dropped to almost nothing and the scheduler took less than 20 seconds to run. With the other changes we h made that has dropped even lower on huge games.
So you can see it was needed. Without it many people couldn't run the game as their hosting companies would shut them down.