Skip to content

himanshu-patel-dev/gRPC

Repository files navigation

gRPC - Up and Running

Github Repo of Book - Code Samples

Turn on the logging in GoLang GRPC

export GRPC_GO_LOG_VERBOSITY_LEVEL=99 
export GRPC_GO_LOG_SEVERITY_LEVEL=info

Quick Notes and Practice Samples

  1. Intro to gRPC
  2. Getting Started gRPC
    • Client Stub
    • Sever Stub
    • Protoc Compiler
  3. gRPC Communication Patterns
    • Simple RPC (Unary RPC)
    • Stream RPC
      • Server Streaming
      • Client Streaming
    • Bidirectional Stream
  4. gRPC - Under the hood
    • Bi-Directional flow of information
    • Using HTTP/2 for communication
    • Length-Prefixed Message Framing (why gRPC is fast)
  5. gRPC: Beyond the Basics
    • Interceptors
    • Server Side - Unary Interceptor
    • Server Side - Stream Interceptor
    • Client Side - Unary Interceptor
    • Client Side - Stream Interceptor
    • Deadlines
    • Cancellation
    • Error Handling
    • Multiplexing (multiple service on same gRPC server)
    • Metadata (sending and receiving)
    • Load Balancing
    • Compression of gRPC message
  6. Secured gRPC
    • Generating Certificates for Client | Server | CertificateAuthority
    • One-Way Secured Connection (TLS)
    • Two-Way Secured Connection (Mutual TLS - mTLS)
  7. gRPC in Production
    • Testing a gRPC Server
    • Testing a gRPC Client
    • Load Testing
    • Continuous Integration
    • Deployment (Docker)
    • Deployment Kubernetes - Deployment + Services + )
    • Metrics (Prometheus | OpenCensus)
    • Logs
    • Tracing (zipkin)

About

gRPC - Up and Running

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published