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
#[derive(PartialEq, Eq, Debug)] | |
#[must_use] | |
pub enum Async<M, V> { | |
Continue(M, V), | |
Stop, | |
Timeout(M, SteadyTime), | |
} |
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
fn ready(self, events: EventSet, context: &mut C) | |
-> Async<Self, Option<Self>>; |
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
> ./wrk -t8 -c 400 http://127.0.0.1:6754 | |
Running 10s test @ http://127.0.0.1:6754 | |
8 threads and 400 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 1.01ms 1.41ms 33.06ms 91.36% | |
Req/Sec 63.02k 18.13k 125.13k 75.50% | |
5027436 requests in 10.04s, 421.92MB read | |
Requests/sec: 500565.14 | |
Transfer/sec: 42.01MB |
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
setup: | |
- !Ubuntu trusty | |
- !Install [python] |
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
setup: | |
- !Alpine v3.2 | |
- !Install [python] |
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
FROM ubuntu:trusty | |
RUN apt-get update && apt-get install -y python |
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
setup: | |
- !Ubuntu trusty | |
- !NpmInstall | |
- babel | |
- babel-cli | |
- babel-preset-es2015 | |
- webpack |
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
> vagga | |
Available commands: | |
doc Build documentation | |
make Compile javascripts with webpack | |
make-test-page Compile test page | |
serve Serve test pages | |
test Run automated tests | |
watch Build and watch javascripts |
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
setup: | |
- !Install [ubuntu] | |
- !Py3Install | |
- aiohttp | |
- pytest |
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
diff -u examples/onedc/topology.yaml examples/twodc/topology.yaml | |
--- examples/onedc/topology.yaml 2013-09-19 15:17:42.546613699 +0300 | |
+++ examples/twodc/topology.yaml 2013-09-19 14:49:10.519955115 +0300 | |
@@ -81,6 +81,20 @@ | |
# If worker p isi not in the list above, choose random balancer for it | |
default: random | |
+ cluster2: | |
+ layout: cluster | |
+ rule: |