3 ms·
What if the thing you're calling via an RPC abstraction is not a resident deamon but instead it gets loaded on demand via socket activation and then after perfo
by ithkuil 10y ago
What if the thing you're calling via an RPC abstraction is not a resident deamon but instead it gets loaded on demand via socket activation and then after performing the request it shuts off? Or a process gets forked and a RPC request/response get passed via stdio? Would that smell better? I'm honestly curious.
(I'm not saying that this would make sense for the CRI API, I didn't even looked at it)
- vidarh 10y agoSocket activation is a possible workaround, of course, but you then still have the gPRC dependencies. At least that removes the issue of keeping the service running. In general for an API as simple as the CRI API I'd prefer forking and passing data via stdio or the environment any day.