9

Production-Grade APIs

Up until now, we’ve focused on the features provided by gRPC and those added by community projects. That was an important topic but it wasn’t the whole story. We now need to think about how to test, debug, and deploy our gRPC server.

In this chapter, we are going to see how to unit and load test our services. Then, we are going to see how we can manually interact with our API to debug it. Finally, we are going to see how we can containerize and deploy our services. This chapter is divided into the following main topics:

  • Testing APIs
  • Debugging using server reflection
  • Deploying gRPC services on Kubernetes

Technical requirements

You can find the code for this chapter in the folder called chapter5 in the companion repo ...

Get gRPC Go for Professionals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.