-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test #1858
base: main
Are you sure you want to change the base?
test #1858
Commits on Nov 13, 2024
-
revamped TokenBucket for rate-limiter:
- parametrized by TimeProvider instead of taking `now: Instant` as argument for `rate_limit` - simplified rate_limit method - re-aligned tests of TokenBucket - TokenBucket can be set to rate_per_second = 0 - no data will be read
Configuration menu - View commit details
-
Copy full SHA for 9e967ae - Browse repository at this point
Copy the full SHA 9e967aeView commit details -
- seperate RateLimiter implementations for [`tokio::io::AsyncRead`] and [`futures::AsyncRead`] - using [`std::sync::Mutex`] for TokenBucket in RateLimiter - it should allow for `global` rate-limit, not just per connection
Configuration menu - View commit details
-
Copy full SHA for f896b4c - Browse repository at this point
Copy the full SHA f896b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab74c45 - Browse repository at this point
Copy the full SHA ab74c45View commit details -
custom implementation of Transport with rate-limiting (only read) for…
… substrate's [`sc_client::network::NetworkWorker`]
Configuration menu - View commit details
-
Copy full SHA for 0b17e45 - Browse repository at this point
Copy the full SHA 0b17e45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03142e2 - Browse repository at this point
Copy the full SHA 03142e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eb7b72 - Browse repository at this point
Copy the full SHA 2eb7b72View commit details -
- s/substrate_bit_rate/substrate_network_bit_rate
- s/alephbft_bit_rate/alephbft_network_bit_rate
Configuration menu - View commit details
-
Copy full SHA for fc806fc - Browse repository at this point
Copy the full SHA fc806fcView commit details -
renamed local variable in
build/transport.rs
- it no longer referen……ces `TokenBucket`
Configuration menu - View commit details
-
Copy full SHA for 0a41d22 - Browse repository at this point
Copy the full SHA 0a41d22View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb6dd52 - Browse repository at this point
Copy the full SHA eb6dd52View commit details -
removed unecessary
pub
inpub mod transport;
in [`finality-aleph/……src/network/build/mod.rs`]
Configuration menu - View commit details
-
Copy full SHA for b5937b8 - Browse repository at this point
Copy the full SHA b5937b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0b0ce5 - Browse repository at this point
Copy the full SHA d0b0ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9fdce1 - Browse repository at this point
Copy the full SHA d9fdce1View commit details -
removed unecessary
.into()
conversion of [SleepingRateLimiter
] in…… [`finality-aleph/src/network/build/transport.rs`]
Configuration menu - View commit details
-
Copy full SHA for 6ce1663 - Browse repository at this point
Copy the full SHA 6ce1663View commit details -
-
build_transport
moved to [`finality-aleph/src/network/build/trans……port.rs`] - removed references to [`libp2p`] from [`finality-aleph/src/network/build/mod.rs`]
Configuration menu - View commit details
-
Copy full SHA for 019f9a9 - Browse repository at this point
Copy the full SHA 019f9a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0525c17 - Browse repository at this point
Copy the full SHA 0525c17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dd96c2 - Browse repository at this point
Copy the full SHA 2dd96c2View commit details -
simplified TokenBucket algorithm: using only
requested
field instea……d of `requeste` and `available`. It should be also easier now to transform it into wait-free version.
Configuration menu - View commit details
-
Copy full SHA for bbe8e8a - Browse repository at this point
Copy the full SHA bbe8e8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e69894b - Browse repository at this point
Copy the full SHA e69894bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe9404 - Browse repository at this point
Copy the full SHA 3fe9404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e680da - Browse repository at this point
Copy the full SHA 7e680daView commit details -
default rate-limit for the
sync
network is now 1 MiB per connection…… - so far only tested locally using 7 instances of aleph-node.
Configuration menu - View commit details
-
Copy full SHA for 563de02 - Browse repository at this point
Copy the full SHA 563de02View commit details -
Configuration menu - View commit details
-
Copy full SHA for b049419 - Browse repository at this point
Copy the full SHA b049419View commit details -
Configuration menu - View commit details
-
Copy full SHA for f88d6ac - Browse repository at this point
Copy the full SHA f88d6acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fa4dc0 - Browse repository at this point
Copy the full SHA 4fa4dc0View commit details -
added type alias for `Box<dyn sc_network::config::NotificationService…
…>` in `network/substrate.rs`
Configuration menu - View commit details
-
Copy full SHA for 33eb851 - Browse repository at this point
Copy the full SHA 33eb851View commit details -
s/substrate_network_bit_rate_per_connection/bit_rate_per_connection i…
…n `finality-aleph/src/network/build/mod.rs`
Configuration menu - View commit details
-
Copy full SHA for f791005 - Browse repository at this point
Copy the full SHA f791005View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9cf1de - Browse repository at this point
Copy the full SHA e9cf1deView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f1eff - Browse repository at this point
Copy the full SHA a2f1effView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fdecaa - Browse repository at this point
Copy the full SHA 6fdecaaView commit details -
using
enum Deadline {Never, Instant}
instead of `Option<Option<Inst……ant>>` in TokenBucket
Configuration menu - View commit details
-
Copy full SHA for a379641 - Browse repository at this point
Copy the full SHA a379641View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbeeca2 - Browse repository at this point
Copy the full SHA dbeeca2View commit details -
- simpler version of the TokenBucket (rate-limiter)
- added ShareTokenBucket, AsyncTokenBucket and ShredBandwidthManager - used for sharing bandwidth between multiple connections
Configuration menu - View commit details
-
Copy full SHA for f0dc89c - Browse repository at this point
Copy the full SHA f0dc89cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 374a45f - Browse repository at this point
Copy the full SHA 374a45fView commit details -
- integration of the new SharedTokenBucket with both Substrate-based …
…and Socket-based networks (sync + alephbft) - new default values for rate-limiters (sync + alephbft). 768Kib for alephbft and 5Mib for sync. These values were tested using t3a.xlarge aws instances - nodes were not able to handle more.
Configuration menu - View commit details
-
Copy full SHA for ba07522 - Browse repository at this point
Copy the full SHA ba07522View commit details -
added ALEPHBFT_NETWORK_BIT_RATE SUBSTRATE_NETWORK_BIT_RATE params to …
…docker/docker_entrypoint.sh to allow configuration of rate-limiting for both sync and alephbft networks
Configuration menu - View commit details
-
Copy full SHA for ba90a89 - Browse repository at this point
Copy the full SHA ba90a89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c7404f - Browse repository at this point
Copy the full SHA 6c7404fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f5b787 - Browse repository at this point
Copy the full SHA 1f5b787View commit details -
Configuration menu - View commit details
-
Copy full SHA for b11b80c - Browse repository at this point
Copy the full SHA b11b80cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc27ed5 - Browse repository at this point
Copy the full SHA fc27ed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa131da - Browse repository at this point
Copy the full SHA fa131daView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8db058 - Browse repository at this point
Copy the full SHA c8db058View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2e0bb3 - Browse repository at this point
Copy the full SHA e2e0bb3View commit details -
removed no longer necessary types in rate-limiter crate - helpers rel…
…ated with impls of AsyncRead, etc.
Configuration menu - View commit details
-
Copy full SHA for 0f26764 - Browse repository at this point
Copy the full SHA 0f26764View commit details -
Added verbose
share()
method toSharedRateLimiter
(and to other t……ypes in its hierarchy). It is more readable this way - previous version was using `Clone`.
Configuration menu - View commit details
-
Copy full SHA for 8fd9ba9 - Browse repository at this point
Copy the full SHA 8fd9ba9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d12abfd - Browse repository at this point
Copy the full SHA d12abfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecce82b - Browse repository at this point
Copy the full SHA ecce82bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b5076 - Browse repository at this point
Copy the full SHA e9b5076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e1f074 - Browse repository at this point
Copy the full SHA 2e1f074View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbbc564 - Browse repository at this point
Copy the full SHA fbbc564View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19a2759 - Browse repository at this point
Copy the full SHA 19a2759View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d12e7f - Browse repository at this point
Copy the full SHA 3d12e7fView commit details -
Revert "simplified docker-compose file for the network
flooding
test"This reverts commit 74fc9b0.
Configuration menu - View commit details
-
Copy full SHA for f14095d - Browse repository at this point
Copy the full SHA f14095dView commit details -
explit env vars TIMEOUT_MINUTES="5m" FINALIZATION_WAIT=1 <script> for…
… before and after finalization tests
Configuration menu - View commit details
-
Copy full SHA for a1727d6 - Browse repository at this point
Copy the full SHA a1727d6View commit details -
e2e-tests: finalization test was await
expected finalized block
+ 1…… instead of just `expected finalized block`
Configuration menu - View commit details
-
Copy full SHA for db3d50d - Browse repository at this point
Copy the full SHA db3d50dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8d4130 - Browse repository at this point
Copy the full SHA c8d4130View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf35e5d - Browse repository at this point
Copy the full SHA cf35e5dView commit details -
halved rate-limit for the sync-network in flooding e2e-test - docker/…
…docker-compose_network_flooding_test.yml
Configuration menu - View commit details
-
Copy full SHA for 6e833d1 - Browse repository at this point
Copy the full SHA 6e833d1View commit details -
halved rate-limit for alephbft network for the flooding e2e test - no…
…w its 393216 b/s
Configuration menu - View commit details
-
Copy full SHA for 182d692 - Browse repository at this point
Copy the full SHA 182d692View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbe540c - Browse repository at this point
Copy the full SHA fbe540cView commit details