-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gRPC based microservice approach for distributed agents (#331)
* Working draft. * Changed relative import path. * Added grpc requirements. * Changed subprocess to multiprocess call. * Upon termination, remote agent executes `Stop` rpc to stop remote worker process. * Enabled client to terminate master process running in localhost. * Black format. * Edited cli. * Changed handling of action response timeout. * Extracted AgentServicer into separate file. * Verifying errors. * Added print statements. * Fixed creation of multiple local zoo masters. * Use grpc future and remove timeout, for act(). * Client informs master to stop worker process. * Make format. * Workers run using subprocess instead of multiprocessing. * Separate master proto and worker proto. * Make format. * Use grpc StatusCode and context for error messages * Clean up. * Removed old authentication mechanism. * Downgraded grpcio version. * Follow our naming convention. * Readable `for` loop variable. * Changed master/worker to manager/worker. * Improved comment on zoo_addrs.
- Loading branch information
1 parent
f2af260
commit d006ace
Showing
21 changed files
with
1,320 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.