Hacker News new | ask | show | jobs
by adambrod 3782 days ago
Not trying to troll but wouldn't it be easier to just use Elixir and Phoenix with OTP to run microservices for IoT?

IoT typically will have long lived connections and Erlang was built on computers much smaller than raspberry pi's.

Perhaps i'm not fully grasping the library though.

3 comments

My thoughts are similar :) I work in IOT and we use Scala, Akka for the backend. Recently I am checking Elixir / OTP and think it would make a great candidate for IOT microservices with a lot of IO, routing and dispatching. OTP can suit very good for microservices.
Andrea's been working on this since before Elixir was 'a thing'.

Erlang would indeed be a fine language to implement this kind of thing with.

I agree with what you say. If starting right now Scala and Elixir would be the who choices I would be looking for. I started in Ruby and Node because of my personal knowledge with these languages and because they are widely used by open source communities.

Nonetheless, I would also say that the specific blocks taking care of the hardware communication can be easily replaced, adding the right technology to the right service.