Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with variable network conditions #625

Open
emcfarlane opened this issue Nov 3, 2023 · 0 comments
Open

Test with variable network conditions #625

emcfarlane opened this issue Nov 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@emcfarlane
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Tests rely on a network harness to roundtrip flows from the client to the server. Depending on the network conditions tests can display different behaviour or fail in surprising ways. Recently an in memory transport was added to resolve flaky cases that occurred between HTTP1/2. This helped find errors by reducing roundtrip latency in testing. However, we might find other issues by increasing latency but have no easy way to apply this flow conditioning.

Describe the solution you'd like

Enhance the in memory transport to provide different flow properties. Two important ones to add would be throughput limits and latency. We could then apply to specific tests cases or as a global network configuration to run all testing under different conditions.

Additional context
As a reference see grpc-go/latency.

@emcfarlane emcfarlane added the enhancement New feature or request label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant