flower icon indicating copy to clipboard operation
flower copied to clipboard

Client dropout example

Open hei411 opened this issue 3 years ago • 2 comments

This is a simple example for users to simulate client dropouts for FL experiments

hei411 avatar Sep 15 '21 09:09 hei411

Hi @hei411 , can you please merge the newest main into your PR. @danieljanes can we merge this PR?

mariaboerner1987 avatar Dec 17 '21 14:12 mariaboerner1987

Hi @mariaboerner1987 I have merged the newest main into my branch. The main purpose of the changes is to simulate client dropouts realistically. Before, when a client crashes, it does not recover. However in real life, a client might just crash temporarily and can recover for future rounds. To simulate this, I use a try-catch block to catch the raised exception, and return an error message back to the server. The server will be able to detect the error message, but it can still include the client in the next round of fit.

Happy to discuss this in more detail anytime

hei411 avatar Dec 22 '21 23:12 hei411