Skip to content

Commit

Permalink
Adding new field to send a list of load requests in case of multiple …
Browse files Browse the repository at this point in the history
…functions (#63)

* Adding field FunctionLoadRequests

* Improved naming of new field to FunctionLoadRequestCollection
  • Loading branch information
surgupta-msft authored Jan 19, 2022
1 parent 15e77d0 commit 0d3f104
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/proto/FunctionRpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ message StreamingMessage {
// Worker indexing message types
FunctionsMetadataRequest functions_metadata_request = 29;
FunctionMetadataResponse function_metadata_response = 30;

// Host sends required metadata to worker to load functions
FunctionLoadRequestCollection function_load_request_collection = 31;
}
}

Expand Down Expand Up @@ -220,7 +223,12 @@ message CloseSharedMemoryResourcesResponse {
map<string, bool> close_map_results = 1;
}

// Host tells the worker to load a Function
// Host tells the worker to load a list of Functions
message FunctionLoadRequestCollection {
repeated FunctionLoadRequest function_load_requests = 1;
}

// Load request of a single Function
message FunctionLoadRequest {
// unique function identifier (avoid name collisions, facilitate reload case)
string function_id = 1;
Expand Down

0 comments on commit 0d3f104

Please sign in to comment.