drpc

drpc is a lightweight, drop-in replacement for gRPC (by storj)

Drpc Alternatives

Similar projects and alternatives to drpc

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better drpc alternative or higher similarity.

drpc reviews and mentions

Posts with mentions or reviews of drpc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-09.
  • Experience report: Converting from Google gRPC to Buf's Connect RPC (with gRPC compatibility)
    5 projects | /r/golang | 9 Jun 2022
    i had try drpc https://github.com/storj/drpc , it's good for my project, but , connect-go https://github.com/bufbuild/connect-go is better, for me, maybe is best one.
  • Cap'n Proto 0.9
    6 projects | news.ycombinator.com | 14 Aug 2021
    > But I do long for a simpler alternative

    If you're happy with protobuf but just not with gRPC, you can check out Twirp [1] and DRPC [2]. Both aim to be simpler alternatives while keeping protobuf for serialization. Their development is Go focused though.

    [1] https://github.com/twitchtv/twirp

    [2] https://github.com/storj/drpc/

  • Introducing DRPC: The Storj Replacement for gRPC
    9 projects | /r/golang | 27 Apr 2021
    As long as you only need non-streaming RPCs, you don't need a gateway because the type you register your services with comes with a ServeHTTP method. Additionally, you can use the drpcmigrate package to serve both the built in wire format as well as that http server on the same port, as demonstrated in this example.
    9 projects | /r/golang | 27 Apr 2021
    Here's an example of our HTTP+JSON gateway, if that sufficiently scratches that itch: https://github.com/storj/drpc/tree/main/examples/drpc_and_http
    9 projects | /r/golang | 27 Apr 2021
    It does not. It has its own wire format designed to be simple to parse and implement (https://pkg.go.dev/storj.io/[email protected]/drpcwire). But, because it was designed to be extensible and open to introspection, there is a package that allows you to serve the same service over HTTP (https://github.com/storj/drpc/blob/main/drpcmux/serve_http.go) but that's not required at all.
    9 projects | /r/golang | 27 Apr 2021
    Seems like it can also serve a http/json api. Neat!
    9 projects | /r/golang | 27 Apr 2021
    Someone opened an issue talking about adding websocket support. Since it seems fairly easy to add, I'll probably write an external package to do it so that DRPC's dependencies don't grow.
    9 projects | /r/golang | 27 Apr 2021
    That said, if you only care about unitary requests over http, there's an example that exposes a server that responds to both the wire format as well as http requests on the same port here: https://github.com/storj/drpc/tree/main/examples/drpc_and_http
    9 projects | /r/golang | 27 Apr 2021
    We actually do use gogoproto internally. The code generator has a `protolib` option that knows about gogo, or lets you implement your own marshal/unmarshal calls: https://github.com/storj/drpc/blob/main/internal/integration/doc.go#L8
  • A note from our sponsor - WorkOS
    workos.com | 17 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic drpc repo stats
9
1,427
4.9
about 1 month ago

storj/drpc is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of drpc is Go.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com