envoyproxy/envoy

Guarantee and optimize v3 internally until close to v4alpha

Open

#10.875 aperta il 21 apr 2020

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
api/v3area/perfarea/xdsenhancementhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

Given that v4 might be further out than the API clock dictates today (https://github.com/envoyproxy/envoy/issues/10852), it might be beneficial to work with v3 inside of Envoy rather than bump to v4alpha. This would allow us to skip VersionConverter::upgrade for v3 protos in onConfigUpdate(), eliminating a source of non-trivial overhead that exists today.

This issue will track discussion around using v3 vs. v4alpha and future optimization work to skip the upgrade for known latest version protos (should be very easy to bypass based solely on type URL analysis).

Guida contributor