Hi I've been recently going into golang and wondering if there are any good ways for a distributed frameworks to accept user defined functions (udf) and deploy them remotely.
For example Python's ray allows you to use @ray.remote decorator to mark any UDF and deploy them remotely. Is there any similar implementation in Golang? It seems impossible to do this to remote machines without compiling them in binary in Golang.
Currently I've seen to approaches:
- This library uses
jsonrpcbut is really old : ( https://github.com/natefinch/pie/tree/master - Service Weaver uses custom code generation to parse the user code into something that can be deployed remotely though
weaver generate .command. This is way beyond the scope of what I intended to do. https://github.com/ServiceWeaver/weaver
I'm I missing something here? Is there any better way to implement this?
Thanks!