Which grpc library is better to use?

Which particular grpc implementation is more easy to use, better in performance while using with scala and sbt. For ex: akka grpc, zio/ fs2 grpc or io grpc or any other libraries?

1 Like

For performance, there is limited benchmark information. One source: 2022 04 23 bench results · LesnyRumcajs/grpc_bench Wiki · GitHub

Keep in mind that “easy to use” isn’t a straightforward question – it’s a question of your preferred style, and the stack you’re writing for.

2 Likes

Thanks for the reply. We need to use grpc with scala in backend. We will have UI in angular.

Right, but the point is, there are several major Scala stacks. If your code is built on top of Akka Streams, use the Akka version. If it’s ZIO-based, use the ZIO library. If it’s Typelevel-centric, use fs2. That’s really the choice you should be making first – the decision of which stack to focus on is way more important than which of these libraries you choose.

3 Likes