News for hackers. Stuff that matters.
Re:OTP 23 by macintux on Wednesday May 13, 2020 @11:51AM (#23168122)
I’ve been out of the Erlang world for a few years now, but it doesn’t seem like a great fit for serverless. The VM has a non-trivial overhead, and the language (and VM) design is optimized for long-running, high availability services.
Re:OTP 23 by micmus on Wednesday May 13, 2020 @12:13PM (#23168407)
I would say it's mostly that nobody optimized it (perhaps yet) for that environment. There's generally nothing inherently slow in the VM boot sequence - it's just that this was not a priority, so it's slow. There are some attributes suggesting it could be a good fit for that environment, for example, the VM is generally very small - you can get a full system in ~20MB - and that again wasn't something that was heavily optimized.
Re:OTP 23 by anthony_doan on Thursday May 14, 2020 @11:14AM (#23180506)
There was Erlang on Xen using LingVM awhile back.
Re:OTP 23 by te_chris on Wednesday May 13, 2020 @12:30PM (#23168596)
The VM has an overhead, but looking at our kube cluster right now which runs elixir and ruby pods (treating elixir as shared nothing, old school stateless, rather than distributed), mean RAM for our ruby pods is 1GB, Ex ones are 200MB. Response times: Ex: ~30ms, Ruby: ~150ms.
Re:OTP 23 by lawik on Wednesday May 13, 2020 @05:06PM (#23171831)
Sounds about right. With wasm being relevant for edge computing and serverless I'm keeping a close eye on the Lumen project compiler as I expect that to be more feasible for this sort of work. The advantages for OTP remain mostly in long-running services. But for Lumen that might be a more open question.