What protocol, other than JSON + REST, do people recommend for micro-service communication?
-
-
I'm seeing a lot of people write "GraphQL". Probably worth asking the question again but for tech people have actually used for this
-
I cannot think of a single good reason to use GraphQL for server-to-server communication, particularly if you have gRPC.
-
wouldn’t grpc have the same constraint of rest? graphql should be more flexible overall
-
I'm not seeing how GraphQL is even in the same space. You don't communicate to services via queries.
-
everything’s a query, just depends how flexible the interface is
-
push vs. pull isn't a thing you can or should paper over.
-
there's no diff when the payload of a push can trigger a pull of something else with ctx of push
-
you need to model the push
- 2 more replies
New conversation -
-
-
+1 for protobuf. Just like a static type system is useful in a language, it's useful between servers too.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.