Elevator Pitch
Showcase: running real python scripts from go apps
In this showcase, we’ll show the journey and the technical concerns we had to allow end-users to write custom python code (including pip packages) from our go app.
Spoiler alert: hard core experiments ahead
Description
Brief abstract:
- Why the heck do you need to do that? let’s talk about our use-case
- What are the technical concerns? well, running in production for (near) real-time use cases isn’t easy…
- What have we tried and failed to do? wasm, go-python-binding, compile python to starlark and bind to go
- What we built? sidecar architecture: Python grpc server that communicates with a go grpc server over unix-sockets + AST to loosely restrict the operations
- What’s next? how can we improve this architecture
Bouns: this is OSS!, if you find these kinds of challenges interesting - come and contribute some code :P
Notes
Credit to Miki for ideas and brainstorming around the challenges