I've seen some GRPC presentations on Youtube and had some questions...
I'm interested in migrating a project I'm involved in that is currently built on top of REST/Swagger towards GRPC.
Here are the questions:
- RXJS seems like a perfect library to build into this - specifically because it supports returning 1 or a stream of something. Would also handle the timeout case with RX's built in primitives too. How would one go about modifying a code generator (such as the Node/Browser code) to use RX? And/or is that easy? What language and build environment do I need to get involved in?
- It mentions HTTP/2 as the transport protocol, which requires SSL, which can lead to issues when you don't have a signed cert. What are the steps to go through when you don't have a cert for localhost development?
- If anyone has experience with Vert.x you may know about something called the Event Bus. The event bus lets you connect many peers that all add to the global pool of available microservices... is there anything equivalent to this in GRPC? For example if I have 10 git repos that each add 4 or 5 rpc services, can you connect to a service by ONE main URL or does each URL need to be configured separately? (is there a way to create a global even bus that the services live on?) Vert.x also provides round-robin features when the same service is deployed to multiple hosts.
Just to clarify not trying to pick on GRPC shortcomings or anything, I'm just coming in with my perspective so that others can pick it apart and either say - hey this is solved look here - or hey think about it this way instead.
Thanks!!!!