Skip to content

Commit

Permalink
[Sharded-Execution-GRPC] Add GRPC communication for sharded execution. (
Browse files Browse the repository at this point in the history
#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
manudhundi authored Oct 3, 2023
1 parent d4ffc53 commit 87496d2
Show file tree
Hide file tree
Showing 21 changed files with 1,132 additions and 164 deletions.
5 changes: 5 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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);
}
61 changes: 61 additions & 0 deletions crates/aptos-protos/src/pb/aptos.remote_executor.v1.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

185 changes: 185 additions & 0 deletions 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.

Loading

0 comments on commit 87496d2

Please sign in to comment.