qascade / dcr

A PoC framework to orchestrate interoperable Differentially Private Data Clean Room Services using Intel SGX hardware as root of trust.
GNU Affero General Public License v3.0
19 stars 16 forks source link

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

Open qascade opened 1 year ago

qascade commented 1 year ago

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 commented 1 year ago

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

qascade commented 1 year ago

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