Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Being able to use a non-ephemeral ClientApp in the SuperNode #3670

Open
relogu opened this issue Jun 21, 2024 · 0 comments
Open

Being able to use a non-ephemeral ClientApp in the SuperNode #3670

relogu opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
feature request This issue or comment suggests an additional feature.

Comments

@relogu
Copy link

relogu commented Jun 21, 2024

Describe the type of feature and its functionality.

For some FL settings, one may want to use some computing resources to execute a unique FL pipeline. As long as the ClientApp is ephemeral in the SuperNode, every message received/sent by the client requires loading the ClientApp almost from scratch with the overhead of loading libraries and, potentially, heavy client subprocesses that are usually very slow to load in Python. Possessing a static/non-ephemeral ClientApp would allow to avoid such overheads.

Describe step by step what files and adjustments are you planning to include.

I believe that inserting a flag the _start_client_internal function that allows to create and keep the ClientApp out of the scope of the main while loop instead of temporarily creating it in try-except clause could be sufficient.

Is there something else you want to add?

I can add more details if the description is not detailed ennough.enough

@relogu relogu added the feature request This issue or comment suggests an additional feature. label Jun 21, 2024
@jafermarq jafermarq self-assigned this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This issue or comment suggests an additional feature.
Projects
None yet
Development

No branches or pull requests

2 participants