Allow to broadcast network messages in parallel (#1409)

This PR addresses multiple issues pending:

* [x] Update orchestra to the recent version and test how the node
performs
* [x] Add some useful metrics for outbound network bridge
* [x] Try to send incoming network requests to all subsystems without
blocking on some particular subsystem in that loop
* [x] Fix all incompatibilities between orchestra and polkadot code
(e.g. malus node)
This commit is contained in:
Vsevolod Stakhov
2023-09-11 19:33:51 +01:00
committed by GitHub
parent 2c8021f998
commit 44dbb73945
15 changed files with 223 additions and 56 deletions
Generated
+21 -20
View File
@@ -4841,18 +4841,6 @@ dependencies = [
"quote",
]
[[package]]
name = "expander"
version = "0.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3774182a5df13c3d1690311ad32fbe913feef26baba609fa2dd5f72042bd2ab6"
dependencies = [
"blake2",
"fs-err",
"proc-macro2",
"quote",
]
[[package]]
name = "expander"
version = "2.0.0"
@@ -6896,6 +6884,15 @@ dependencies = [
"thiserror",
]
[[package]]
name = "layout-rs"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1164ef87cb9607c2d887216eca79f0fc92895affe1789bba805dd38d829584e0"
dependencies = [
"log",
]
[[package]]
name = "lazy_static"
version = "1.4.0"
@@ -8692,9 +8689,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "orchestra"
version = "0.0.5"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "227585216d05ba65c7ab0a0450a3cf2cbd81a98862a54c4df8e14d5ac6adb015"
checksum = "46d78e1deb2a8d54fc1f063a544130db4da31dfe4d5d3b493186424910222a76"
dependencies = [
"async-trait",
"dyn-clonable",
@@ -8709,12 +8706,16 @@ dependencies = [
[[package]]
name = "orchestra-proc-macro"
version = "0.0.5"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2871aadd82a2c216ee68a69837a526dfe788ecbe74c4c5038a6acdbff6653066"
checksum = "d035b1f968d91a826f2e34a9d6d02cb2af5aa7ca39ebd27922d850ab4b2dd2c6"
dependencies = [
"expander 0.0.6",
"itertools 0.10.5",
"anyhow",
"expander 2.0.0",
"fs-err",
"indexmap 2.0.0",
"itertools 0.11.0",
"layout-rs",
"petgraph",
"proc-macro-crate",
"proc-macro2",
@@ -13310,9 +13311,9 @@ dependencies = [
[[package]]
name = "prioritized-metered-channel"
version = "0.2.0"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4"
checksum = "e99f0c89bd88f393aab44a4ab949351f7bc7e7e1179d11ecbfe50cbe4c47e342"
dependencies = [
"coarsetime",
"crossbeam-queue",