Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only receive updates for components a worker is interested in #18

Open
Bluexin opened this issue Jan 28, 2019 · 0 comments
Open

Only receive updates for components a worker is interested in #18

Bluexin opened this issue Jan 28, 2019 · 0 comments

Comments

@Bluexin
Copy link
Collaborator

Bluexin commented Jan 28, 2019

This is for far into the future, I'm just posting it here not to lose track of it.

Currently all workers receive updates for all components of all entities within their interest range.
To reduce bandwidth and memory usage, they should only receive updates for components they are interested in.
Sorting out how exactly to do this will make it easier to apply to existing and new workers.
Docs on Entity Interest
Docs on Component Delivery
Docs on Query-Based Interest (QBI)

For example, the chunk updater shouldn't really care about a mob's AI target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant