-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sharded-Execution-GRPC] Add GRPC communication for sharded execution
In this commit we replace the existing socket based communication with GRPC. Here we get the basic GRPC reliability. More reliability and better performance to come in subsequent commits
- Loading branch information
1 parent
c147d54
commit c48e1fb
Showing
20 changed files
with
1,053 additions
and
163 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
crates/aptos-protos/proto/aptos/remote_executor/v1/network_msg.proto
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright © Aptos Foundation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
syntax = "proto3"; | ||
|
||
package aptos.remote_executor.v1; | ||
|
||
message NetworkMessage { | ||
string sender_addr = 1; | ||
bytes message = 2; | ||
string message_type = 3; | ||
} | ||
|
||
message Empty { | ||
|
||
} | ||
|
||
service RemoteExecution { | ||
rpc SimpleMsgExchange(NetworkMessage) returns (Empty); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
203 changes: 203 additions & 0 deletions
203
crates/aptos-protos/src/pb/aptos.remote_executor.v1.serde.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.