Skip to content

Add more benchmark scenarios #222

@halter73

Description

@halter73

This is a follow up to #40.

There are countless proxy scenarios and variations that can be benchmarked, but currently our proxy benchmarks only capture the following scenario:

  • Using unencrypted connections and making HTTP/1.1 GET requests to both the proxy and backend

This scenario varies by response body size: 10B, 100B, 1KB, 10KB, 100KB plaintext responses are currently tested. Limiting response body sizes to just 32KB and 255KB should reduce the total number of scenarios allowing us to add more interesting scenarios without creating information overload.

The next proxy benchmark scenarios we plan to add are:

  • Using TLS connections and making HTTP/2 GET requests to both the proxy and backend
  • Using TLS connections and making HTTP/1.1 GET requests to both the proxy and backend
  • Using unencrypted connections and making HTTP/1.1 POST requests to both the proxy and backend

After those scenarios are completed. Here are even more scenarios we can consider.

  • Logging completely disabled
  • Requests with bodies
  • Variations on headers
    • Large request headers
    • Large response headers
    • Request/Response header transformation
  • gRPC through the rpoxy
    • gRPC streaming

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: TaskA task that needs to be completed.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions