secretflow / scql

SCQL (Secure Collaborative Query Language) is a system that allows multiple distrusting parties to run joint analysis without revealing their private data.
https://www.secretflow.org.cn/docs/scql/en/
Apache License 2.0
125 stars 45 forks source link

P2P部署后如何加入新的参与方 #369

Open lfwxyC opened 1 week ago

lfwxyC commented 1 week ago

Issue Type

Others

Have you searched for existing issues?

Yes

Link to Relevant Documentation

No response

Question Details

P2P部署后,参与方信息保存在party_info.json文件中,如果想要新的参与方加入,需要修改party_info.json文件,再重启broker吗?有没有不重启broker的方式,实现参与方的动态更新?
jingshi-ant commented 1 week ago

如果使用文件配置参与方信息,需要修改party_info.json文件,再重启broker。 动态更新的话,可以参考配置项里的discovery.type配置项(consul,但需要额外的开发及维护):https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.0b1/reference/p2p-deploy-config#configuration-options-of-scqlbroker

lfwxyC commented 1 week ago

好的,我研究一下consul,非常感谢

lfwxyC commented 1 day ago

如果将discovery.type配置为kuscia,是否必须在kuscia里运行scql?

tongke6 commented 1 day ago

Yes。是在 kuscia 里运行,要把 discovery.type 改成 kuscia