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

feat(service): multiple collaborations enabled per ego-server. #39

Open
qascade opened this issue May 19, 2023 · 2 comments
Open

feat(service): multiple collaborations enabled per ego-server. #39

qascade opened this issue May 19, 2023 · 2 comments

Comments

@qascade
Copy link
Owner

qascade commented May 19, 2023

Description

The current Server implementation inside the feat.ego_server_run branch only supports a single collaboration. I want multiple collaborations to be queued or even running on multiple threads at the same time. As all the sources are to be read only there should be no race conditions on any of the sources while reading.

How to resolve this issue?

Design a strategy to identify unique collaborations and their entities. One option is to append a CollaborationID in front of every AddressRef like {collab_id}/{collaborator}/{address_type}/{address_name}. A collaboration will have the same id if none of the addresses are modified. We can use some hashing strategy to distinguish changes inside the collaboration package and update ids accordingly.

@qascade
Copy link
Owner Author

qascade commented May 19, 2023

Server Code: https://github.com/tiklup11/dcr_ego_server

@qascade
Copy link
Owner Author

qascade commented May 19, 2023

This issue is an followup task to #40. You can pick up #40 as ramp up for this. If the issue is not already assigned

@qascade qascade changed the title feat: multiple collaborations enabled per ego-server. feat(service): multiple collaborations enabled per ego-server. May 21, 2023
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