Skip to content

Conversation

@Rover656
Copy link
Member

@Rover656 Rover656 commented Dec 13, 2024

Description

Fixes:

The idle TPS hit was due to our network syncing, while these changes mitigate the impact to a reasonable point, our networking solution still needs some love. I'll begin work on something that will fix these problems.

TODO

Breaking Changes

No breaking changes, pre-existing cap banks and solar panels will keep their stored energy.

Checklist

  • My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you).
  • I have made corresponding changes to the documentation.
  • My changes are ready for review from a contributor.

To be finalised, changes still requested on the graphlib modifications.
Still need to re-add input/output monitoring.

Also still suffering from significant performance deficit due to network data sync.
It's time for us to look at networking again, but more seriously.
We were syncing the positions of graph members over the network which was expensive to compute whether it has changed or not.
Because the graph was already local, I've shaved off some of the unnecessary graph logic on the client and use this locally instead.

This may not be the permanent solution, but is good enough to remove the immediate problem.
@Rover656 Rover656 added Type-Bug There is a problem. Area-Backend Backend work not usually visible to players. MC-1.21.1 labels Dec 13, 2024
@Rover656 Rover656 mentioned this pull request May 10, 2025
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Backend Backend work not usually visible to players. MC-1.21.1 Type-Bug There is a problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Capacitor Banks causing lag when connected in large groups Energy is duplicated when separating energy conduit graphs

2 participants