Connect, a better gRPC

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • connect-go

    Discontinued Moved to https://github.com/connectrpc/connect-go

  • Connect is based on net/http, is fully gRPC-compatible (including streaming, trailers, and error details), and is just one Go package. Connect clients work with any gRPC server, and Connect handlers work with any gRPC client. Handlers implement http.Handler and clients wrap http.Client, so Connect works with the whole Go HTTP ecosystem.

  • examples-go

    An example Go server built with Connect.

  • For more details, check out the launch blog post, the documentation, connect-go on Github, or the demo project.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • go-japi

    Japi is a fast & simple HTTP API library that automatically marshals JSON payloads and uses RFC7807 for problem details

  • The generic request and response wrappers seem interesting but they do tend to make the handler signature very verbose with little upside. For example: `type Handle[T any, O any] func(ctx context.Context, request T) (O, error)` would be really sweet. See go-japi for example.

  • grpc-go

    The Go language implementation of gRPC. HTTP/2 based RPC

  • To appreciate just how complicated putting headers on the context is, check out grpc-go's documentation on metadata, and note how particular you need to be about inbound vs outbound metadata. They've really thought this through, and I don't see a substantially better way to design a context-based system.

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts