Imran Ismail: We’re actually not using a Mix package for Elasticsearch specifically. I took a look at Tirexs, but didn’t like the DSL. We’re just talking to the Elasticsearch REST API with HTTPoison.
This has the advantage of making all our code as close to the Elasticsearch docs as possible.
Daniel Fischer: I think so, but haven’t done much testing on that. It’s probably complicated by the bash wrapper script. Normally, I believe if the port process crashed, BEAM would also kill the GenServer. The Supervisor would then restart the GenServer, causing a new port to be started.