mc2-project / federated-xgboost

Federated gradient boosted decision tree learning
68 stars 20 forks source link

data transmission!!!!!! #22

Closed Carex-Chunhui closed 2 years ago

Carex-Chunhui commented 3 years ago

The update data transfer interface here is encapsulated in the libxgboost.so file, but I want to compress it to reduce the bandwidth. Can you provide the source code of libxgboost.so? Or provide a compression interface for data transmission externally.

Carex-Chunhui commented 3 years ago

I noticed mbedtls net Recv and mbedtls net send in the libxgboost.so file, but how to do?

chester-leung commented 3 years ago

Hi @Carex-Chunhui , the code in the src directory gets built into libxgboost.so. Much of the networking is done in Rabit, which is a submodule of Federated XGBoost. You can take a look at this PR to see how we integrated Mbed TLS into Rabit.

Carex-Chunhui commented 3 years ago

thank you very much~