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

Add persistent in-network state to Broker #291

Open
rsmmr opened this Issue Feb 26, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@rsmmr
Copy link
Member

rsmmr commented Feb 26, 2019

This is just an idea for now that'll need more discussion: We could leverage Broker's implementation of topic-based subscriptions to store "persistent events" inside the network that each new node would automatically receive when joining. This would be in support of uses cases where new nodes need to learn some state about an already ongoing analysis when they join the network (e.g., osquery: what are the current queries that I should be installing?). This can be done manually with events already, but it's tedious to get robust & correct with nodes dynamically joining and leaving.

The idea here is to serialize an event instantiation into an internal, hidden topic. Nodes would learn about the topic automatically through normal topic-propagation logic, and could then deserialize the event and execute it.

This will probably need #290 to become actually useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.