forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
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. (
aptos-labs#10274) [Sharded-Execution-GRPC] Add GRPC communication for sharded execution In this commit we replace the existing socket based communication (that is message send and message recv) with GRPC. Here we get the basic GRPC reliability. More reliability and better performance to come in subsequent commits
- Loading branch information
1 parent
7f34101
commit 2ee6eb1
Showing
21 changed files
with
1,132 additions
and
164 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.
19 changes: 19 additions & 0 deletions
19
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,19 @@ | ||
// Copyright © Aptos Foundation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
syntax = "proto3"; | ||
|
||
package aptos.remote_executor.v1; | ||
|
||
message NetworkMessage { | ||
bytes message = 1; | ||
string message_type = 2; | ||
} | ||
|
||
message Empty { | ||
|
||
} | ||
|
||
service NetworkMessageService { | ||
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.
185 changes: 185 additions & 0 deletions
185
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.