storage: add benchwrapper#6062
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6062 +/- ##
============================================
- Coverage 47.38% 47.02% -0.37%
+ Complexity 27182 25717 -1465
============================================
Files 2523 2523
Lines 274600 269325 -5275
Branches 31383 31190 -193
============================================
- Hits 130124 126647 -3477
+ Misses 134863 134000 -863
+ Partials 9613 8678 -935
Continue to review full report at Codecov.
|
Done
What are the commands that need to be run to do that? |
|
Thanks for the second review. All comments addressed. |
|
Thanks for the third review. All comments addressed. |
|
Thanks for the fourth review. All comments addressed. |
|
Thanks for the fifth review. All comments addressed. |
This adds a small gRPC server around the google-cloud-storage client library, which allows g3 benchmarking code to prod at the library and record measurements without needing to be written in Java / be in the same repository. Since g3 requires TLS on all connections, the server is TLS-ed with a dummy cert. These certs aren't intended to be private: the kokoro environment is the only place this gets run. (never in prod, etc)

This adds a small gRPC server around the google-cloud-storage client library,
which allows g3 benchmarking code to prod at the library and record
measurements without needing to be written in Java / be in the same repository.
Since g3 requires TLS on all connections, the server is TLS-ed with a dummy
cert. These certs aren't intended to be private: the kokoro environment
is the only place this gets run. (never in prod, etc)
ps: I'm not sure what the right place to put this code is. Minimally it requires the local version of google-cloud-storage, so I stuck it alongside it. Perhaps there's a better place, with a way to access google-cloud-storage without going to maven though.