News for hackers. Stuff that matters.
Re:Istio Observability with Go, gRPC, and Protocol Buffers-B... by pdimitar on Wednesday May 01, 2019 @01:28PM (#19799480)
I suppose it's not easy to part with the illusion that containers should not be ephemeral.

I mean, that's probably easy to do for microservices; you fire off a function, it does something useful and returns back quickly. Having K8s do a home-grown lambda hosting for you is useful there.

But the moment you introduce any state, the whole idea of ephemeral containers is much more of a hindrance than something actually useful. A singular BEAM VM might run (realistically) tens of thousands of processes that do a lot of useful work. It's just not practical to kill off such a container and hand-wave away the huge costs of spinning it back up.

IMO K8s and Erlang/Elixir are mutually exclusive at this point, sadly.

There are projects in progress that attempt to solve the distributed supervisors ideas -- Swarm, Firenest, Horde -- but even without that, any Erlang/Elixir app can go a long way before needing distributed coordination.

There are no comments on this comment yet.