Hi everyone! I’m building a lightweight phoenix webapp that spits out results from a python script that my friend built. That script runs with tensorflow.
My question is do I host (on fly.io) the elixir service and python service separately? I mean to create a python flask app and put the tensorflow prediction scripts on it to expose it as an API. Then separately create a phoenix elixir app. 2 fly.io compute instance in total.
I understand that for local development, I can simply have both projects in one repository and simply use Erlport to link between them. However, i’m not sure what is the best practise for doing this on production (fly.io). Please let me know your thoughts.