Dan Shields
006cf76d3b
move to rust 2021, tweak macro ( #428 )
...
* cargo fix --edition
* move to rust 2021
* simplify macro now that patterns are supported natively
Co-authored-by: James Wilson <james@jsdw.me >
2021-11-15 14:52:16 +00:00
James Wilson
2932075783
Avoid using flume::Receiver::into_stream() to avoid memory leaks until the issue is resolved upstream ( #394 )
...
* Tweak rolling_total test to also confirm capacity doesn't go nuts
* Use Jemalloc
* Avoid flume's into_stream and use a workaround for now
* cargo fmt
* Improve comments now that there's an issue to point to
2021-09-03 08:40:43 +01:00
James Wilson
ec5db0fbbf
Bump tokio to 1.10 and add a test to confirm memory usage of rolling_total ( #392 )
2021-08-31 20:18:46 +02:00
James Wilson
811babca27
Merge branch 'master' into jsdw-sharding-gatekeeper
2021-08-13 11:16:47 +01:00
James Wilson
703a9ddc4e
use flume throughout telemetry_core
2021-08-12 16:01:14 +01:00
James Wilson
d4b5c2b0c8
split e2e tests out and run them separately, not blocking the build or marking it as failed
2021-08-12 13:38:29 +01:00
James Wilson
74cf55174e
Use rayon to speed up subscribe message serializing
2021-08-06 17:42:03 +01:00
James Wilson
0788270756
Add 'subscribe' benchmark
2021-08-06 14:22:01 +01:00
James Wilson
759d28b1a2
add --num-cpus option
2021-08-05 11:11:23 +01:00
James Wilson
61fd903f55
Remove benchmark things for now and no need for release mode on a test
2021-07-27 14:28:27 +01:00
James Wilson
cf0e424803
Adapt shard to use hyper+soketto instead
2021-07-23 17:07:29 +01:00
James Wilson
0eff32d10e
Migrate telemetry_core to Hyper+Soketto
2021-07-23 15:57:50 +01:00
James Wilson
cca1df2e21
use ws_client in shard, too, and make it better at handling core disconnecting
2021-07-20 13:04:10 +01:00
James Wilson
fd79b3e85b
Add some tests, and add a configurable soak test
2021-07-15 17:18:58 +01:00
James Wilson
e34da5761f
move tests around and add (non working) benchmark
2021-07-14 15:05:09 +01:00
James Wilson
faedba87d4
no e2e feature, and don't assume 'cargo run' is a good default
2021-07-13 11:12:23 +01:00
James Wilson
f2f122285e
make it obvious that unbounded channels don't need to await, and tidy up some bits
2021-07-12 10:01:23 +01:00
James Wilson
c043393e28
Write some basic test utils to get going; time to start trying them
2021-07-09 19:41:51 +01:00
James Wilson
f2adead2e9
rename binaries for clarity, and first pass of connect_to_servers test util
2021-07-09 19:41:47 +01:00