Open dhess opened 1 year ago
In https://github.com/hackworthltd/primer/pull/837#issuecomment-1446216686, I wondered
Having both uncompressed and compressed stats would be useful, though perhaps they can be done in one benchmark, just by measuring either side of the proxy somehow (the current setup won't do that, as we only get tx/rx stats per interface; maybe setting up the proxy to have two interfaces: one for client, one for backend would work)
Yes, that will be easy: two networks, one for the client + proxy external interface, and one for the server + proxy internal interface.
The reverse proxy VM (probably running
nginx
,traefik
, or similar) will act as a sort of load balancer/TLS endpoint device and is a more realistic simulation of a production deployment. It will let us compare, e.g., compressed traffic delivered to the client vs uncompressed traffic delivered (byprimer-service
) to the load balancer.