Pysyft: Record number of send/recv

Created on 24 Sep 2020  路  8Comments  路  Source: OpenMined/PySyft

Feature Description

Add a method (at the Worker level) to record how many messages you send/receive.
The simplest solution that comes to mind is:

  • keep 2 dictionaries (one for sent messages and one for received messages)/or only one, where the key is the Type of Message and the value is a counter (how many messages of this type we received/sent)
  • keep a total_sent_payload/total_received_payload variable (at the worker level)
  • when doing print(worker) display the above information (maybe when we have the verbose flag on)

Is your feature request related to a problem?

This will help us to have a better understanding of the communication overhead.

0.2.x Good first issue Type hacktoberfest

All 8 comments

@gmuraru i want ot work on this issue.Can you assign me?
Also which code file are you referring to include feature?

Hey @AnshuTrivedi.
As a first Proof of Concept and check if it works I think it is best to look at the VirtualWorker class <-- there should be a send/recv methods.

@AnshuTrivedi hey! How is the work going on this issue? If you need any help you can ping me in the OpenMined slack channel :100:

@gmuraru i am facing difficulty in setting environment where stuck with two versions of pip.
Thank you , i will ask problem in slack community.

Hello, @AnshuTrivedi @gmuraru , if this issue is available, can I pick it up?

@ViveK-PothinA I'm actively working on it. I would let you know if unable to proceed.

Hey @AnshuTrivedi. How it is going with the issue? :D

Hello! Just letting you know that we are no longer planning on supporting anything on the 0.2.x product line and that all work should be ported over to 0.3.x, which is considered a complete rebuild of PySyft. Because of that, I'll be closing this issue. If you feel this is a mistake, or if the issue actually applies to 0.3.x as well, please feel free to ping me on Slack and I'll reopen the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MetaT1an picture MetaT1an  路  3Comments

s-marta picture s-marta  路  4Comments

akirahirohito picture akirahirohito  路  3Comments

mgale694 picture mgale694  路  3Comments

wentaiwu92 picture wentaiwu92  路  4Comments