-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
Move libp2p,discv5,backfill to workers #4856
Comments
I've been playing around with discv5 on a thread on this is the biggest hurdle I found so far. Requirements:
Solutions:
|
Yeah thats what I was leaning towards. The worker maintains its own Registry. And the worker exposes a |
Same 😂 The other weird thing I saw is that the |
I think we should skip the threads library for now. Or connect to the raw's Worker events for events, and use threads for an easy wrapper for direct calls from the main thread |
Discv5 done, see #4988 |
Looking into moving the network into a thread. Some annoyances/hurdles (that could be treated as refactoring prereqs):
|
|
discv5 and libp2p moved to worker. Open dedicated issue to backfill when we implement it |
During team retreat we discussed the idea of parallelizing work across multiple threads as makes sense.
If anyone has more notes from that session add here please.
Some open questions:
The text was updated successfully, but these errors were encountered: