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
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
manudhundi committed Sep 27, 2023
1 parent c147d54 commit c48e1fb
Show file tree
Hide file tree
Showing 20 changed files with 1,053 additions and 163 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,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);
}
68 changes: 68 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.

203 changes: 203 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 c48e1fb

Please sign in to comment.