Home
last modified time | relevance | path

Searched refs:load (Results 1 – 14 of 14) sorted by relevance

/tonic/tests/compression/src/
H A Dserver_stream.rs61 assert!(response_bytes_counter.load(SeqCst) < UNCOMPRESSED_MIN_BODY_SIZE); in client_enabled_server_enabled()
68 assert!(response_bytes_counter.load(SeqCst) < UNCOMPRESSED_MIN_BODY_SIZE); in client_enabled_server_enabled()
119 assert!(response_bytes_counter.load(SeqCst) > UNCOMPRESSED_MIN_BODY_SIZE); in client_disabled_server_enabled()
172 assert!(response_bytes_counter.load(SeqCst) > UNCOMPRESSED_MIN_BODY_SIZE); in client_enabled_server_disabled()
H A Dcompressing_response.rs97 let bytes_sent = response_bytes_counter.load(SeqCst); in client_enabled_server_enabled()
146 let bytes_sent = response_bytes_counter.load(SeqCst); in client_enabled_server_disabled()
189 let bytes_sent = response_bytes_counter.load(SeqCst); in client_enabled_server_disabled_multi_encoding()
260 let bytes_sent = response_bytes_counter.load(SeqCst); in client_disabled()
360 let bytes_sent = response_bytes_counter.load(SeqCst); in disabling_compression_on_single_response()
425 assert!(response_bytes_counter.load(SeqCst) < UNCOMPRESSED_MIN_BODY_SIZE); in disabling_compression_on_response_but_keeping_compression_on_stream()
432 assert!(response_bytes_counter.load(SeqCst) < UNCOMPRESSED_MIN_BODY_SIZE); in disabling_compression_on_response_but_keeping_compression_on_stream()
488 let bytes_sent = response_bytes_counter.load(SeqCst); in disabling_compression_on_response_from_client_stream()
H A Dbidirectional_stream.rs110 assert!(request_bytes_counter.load(SeqCst) < UNCOMPRESSED_MIN_BODY_SIZE); in client_enabled_server_enabled()
111 assert!(response_bytes_counter.load(SeqCst) < UNCOMPRESSED_MIN_BODY_SIZE); in client_enabled_server_enabled()
H A Dclient_stream.rs74 let bytes_sent = request_bytes_counter.load(SeqCst); in client_enabled_server_enabled()
125 let bytes_sent = request_bytes_counter.load(SeqCst); in client_disabled_server_enabled()
224 let bytes_sent = response_bytes_counter.load(SeqCst); in compressing_response_from_client_stream()
H A Dcompressing_request.rs77 let bytes_sent = request_bytes_counter.load(SeqCst); in client_enabled_server_enabled()
139 let bytes_sent = request_bytes_counter.load(SeqCst); in client_enabled_server_enabled_multi_encoding()
/tonic/examples/
H A DREADME.md76 $ cargo run --bin load-balance-client
82 $ cargo run --bin load-balance-server
90 $ cargo run --bin dynamic-load-balance-client
96 $ cargo run --bin dynamic-load-balance-server
H A DCargo.toml42 name = "load-balance-client"
46 name = "load-balance-server"
50 name = "dynamic-load-balance-client"
54 name = "dynamic-load-balance-server"
H A Drouteguide-tutorial.md332 the corresponding `data` module to load and deserialize it in
544 features: Arc::new(data::load()),
/tonic/examples/src/routeguide/
H A Ddata.rs17 pub fn load() -> Vec<crate::routeguide::Feature> { in load() function
H A Dserver.rs141 features: Arc::new(data::load()), in main()
/tonic/tonic/src/transport/channel/service/
H A Dconnection.rs14 use tower::load::Load;
121 fn load(&self) -> Self::Metric { in load() method
/tonic/examples/src/dynamic_load_balance/
H A Dclient.rs63 while !done.load(SeqCst) { in main()
/tonic/
H A DREADME.md70 - [`examples`]: Example gRPC implementations showing off tls, load balancing and bi-directional str…
H A DCHANGELOG.md474 * **transport:** Connect lazily in the load balanced channel ([#493](https://github.com/hyperium/to…
516 * **transport:** Dynamic load balancing ([#341](https://github.com/hyperium/tonic/issues/341)) ([85…
711 * **transport:** Attempt to load RSA private keys in rustls ([#39](https://github.com/hyperium/toni…