Skip to content

Conversation

@rshriram
Copy link
Member

#1812 fixed the perf issues with random number generation. We no longer have to rely on monotonically increasing stream IDs for perf reasons. Switch to always using randomly generated stream IDs.

Signed-off-by: Shriram Rajagopalan shriram@us.ibm.com

Signed-off-by: Shriram Rajagopalan <shriram@us.ibm.com>
uint64_t ConnectionManagerUtility::generateStreamId(const Router::Config& route_table,
Runtime::RandomGenerator& random_generator) {
// See the comment for next_stream_id_ in conn_manager_utility.h for why we do this.
if (route_table.usesRuntime()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove all traces of usesRuntime()

Shriram Rajagopalan added 2 commits October 17, 2017 15:22
…ndom

Signed-off-by: Shriram Rajagopalan <shriram@us.ibm.com>
Signed-off-by: Shriram Rajagopalan <shriram@us.ibm.com>
@htuch
Copy link
Member

htuch commented Oct 17, 2017

OS X failures is the unrelated //test/integration:http2_upstream_integration_test timeout.

@htuch htuch merged commit 1f433a3 into envoyproxy:master Oct 17, 2017
jpsim pushed a commit that referenced this pull request Nov 28, 2022
Description:
Some ASAN and TSAN builds require a local JDK (https://github.com/envoyproxy/envoy-mobile/pull/1870/checks?check_run_id=3874356472) so we add them to those workflows

Risk Level: Low
Testing: See asan and tsan checks
Docs Changes: N/A
Release Notes:  N/A

Signed-off-by: Luis Fernando Pino Duque <luis@engflow.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Description:
Some ASAN and TSAN builds require a local JDK (https://github.com/envoyproxy/envoy-mobile/pull/1870/checks?check_run_id=3874356472) so we add them to those workflows

Risk Level: Low
Testing: See asan and tsan checks
Docs Changes: N/A
Release Notes:  N/A

Signed-off-by: Luis Fernando Pino Duque <luis@engflow.com>
Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants