Skip to content

jaystarshot/gcs-grpc-json-client-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark: GCS C++ JSON vs gRPC Client

This benchmark compares performance between the Google Cloud Storage (GCS) C++ client using the JSON REST API and the gRPC client.

Note: we must set the GOOGLE_APPLICATION_CREDENTIALS env variable to the <path-to-credentials.json> before testing. This makes sure that GCS + GRPC direct-path connectivity is tested as well

Prerequisites

Ensure the following libraries are available on your system:

https://github.com/googleapis/google-cloud-cpp

  • storage_client
  • storage_client_grpc

Build Instructions

  1. Compile the project with make
    make
    

Run Benchmark

cd build/

./benchmark <bucket-name> <object-name> <no-of-iterations> 

About

Benchmark GCS GRPC vs JSON c++ client for sequential and random reads

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •