Michele Sciabarra <[email protected]> wrote on 01/22/2019 09:55:03 AM: > > I already designed and implemented the feature as being "completely > optional". > > The point is if the community approves that runtimes may be used as > websocket servers (reusing the runtime machinery) deploying them in > Kubernetes (they are docker containers after all) or the community > prefers that OpenWhisk Runtimes are meant to be used only within OpenWhisk. >
My 2 cents. I think using the runtime outside of OpenWhisk is completely reasonable, especially when it can be done like Michele is proposing (minimal change to the overall API/codebase to support additional uses). I would like to see us add test cases for the new usage patterns as part of the runtime test suite to help avoid rot. --dave
