linkerd / tacho Goto Github PK
View Code? Open in Web Editor NEWA Futures-aware metrics library for recording statistics about your running system.
License: Apache License 2.0
A Futures-aware metrics library for recording statistics about your running system.
License: Apache License 2.0
Can you provide an example of how to use this to measure latency for hyper (0.0.11 async - based on tokio-rs) ?
github.com/posix4e/rust-metrics <- I am currently working on getting this integrated into tokio itself. Anyway we can join forces @durch should be able to help develope as well.
In an attempt to fix linkerd/linkerd-tcp#35 I'm benchmarking master
vs ver/synchro-system
(using time cargo run --release --example multithread | tee output.txt
and want to share some numbers.
ver/synchro-system
output (this is the last report from the metrics reporter)
metrics_count 5
loop_iters_count{role="worker"} 1000000000
loop_iters_curr{role="worker"} 999999999
total_time_ms{role="worker"} 654672
heartbeats{role="heartbeat"} 653
loop_time_us{stat="count", role="worker"} 1086186
loop_time_us{stat="mean", role="worker"} 0.0055248364460598835
loop_time_us{stat="min", role="worker"} 0
loop_time_us{stat="max", role="worker"} 414
loop_time_us{stat="stddev", role="worker"} 0.42562936784848004
loop_time_us{stat="p50", role="worker"} 0
loop_time_us{stat="p90", role="worker"} 0
loop_time_us{stat="p95", role="worker"} 0
loop_time_us{stat="p99", role="worker"} 0
loop_time_us{stat="p999", role="worker"} 0
loop_time_us{stat="p9999", role="worker"} 0
real 10m54.844s
user 8m5.564s
sys 2m49.460s
master
output. (note our last report doesn't show the last batch of items being processed)
metrics_count 4
loop_iters_count{role="worker"} 999826348
loop_iters_curr{role="worker"} 999826347
heartbeats{role="heartbeat"} 5377
loop_time_us{stat="count", role="worker"} 374274
loop_time_us{stat="mean", role="worker"} 1.7634861091072316
loop_time_us{stat="min", role="worker"} 0
loop_time_us{stat="max", role="worker"} 137
loop_time_us{stat="stddev", role="worker"} 2.118960934392008
loop_time_us{stat="p50", role="worker"} 0
loop_time_us{stat="p90", role="worker"} 0
loop_time_us{stat="p95", role="worker"} 0
loop_time_us{stat="p99", role="worker"} 0
loop_time_us{stat="p999", role="worker"} 0
loop_time_us{stat="p9999", role="worker"} 0
real 89m39.084s
user 102m42.164s
sys 63m15.424s
The example in master is 9x slower than the version in very/synchro-system
. I'll build some flame graphs so compare the two.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.