Why RPC:
- interoperable
- efficient
- now more readable & simpler (versus CORBA, DCOM, RMI, SOAP) - gRPC
- can model operations that are not expressible by REST
Internal RPC in Google:
- Stubby (O(10^10) RPC per second)
2017.06 - no official support for gRPC in Spring
There are a couple of spring boot starter impls on Github (2017-06):
My example: https://github.com/michaldabrowski/grpc-spring-boot-example
-
https://www.youtube.com/watch?v=xpmFhTMqWhc - gRPC 101 for Spring Developers - Ray Tsang @ Spring I/O 2016 (good version)
-
https://www.infoq.com/presentations/spring-grpc - gRPC 101 for Spring Developers (actually it does not cover usage with spring)