Hacker News new | ask | show | jobs
by mpenick 1675 days ago
Any thoughts on whether the internal API would use streaming or unary calls?
1 comments

Initially we'll be using unary calls but I can see use cases where streaming would be useful. One might be for keeping a schema representation in sync between the services and coordinator (for those services that need to be schema aware). Another potential could be future implementations of reactive APIs and subscription or push models. Although in the near term we can leverage streaming for performance improvements by allowing the service to begin performing transformations before the entire response has been received.