3 ms·
It's particularly good when you have concurrent users. Also, if you just have a web app that won't need other clients then LiveView gives you SPA-style develop
by sodapopcan 3y ago
It's particularly good when you have concurrent users. Also, if you just have a web app that won't need other clients then LiveView gives you SPA-style development without the need to write a web-API layer.
Personally, I use it for any web app I'm making. It's a very simple language at its core and is just as good for tiny things as it is for large ones.
- davidw 3y agoI know a lot about what the BEAM is good for, I'm curious about actual things people are doing with it. The last time I used it seriously, we used Erlang as the high level language for these: https://www.icare-world.com/us/product/icare-eidon/ https://www.icare-world.com/us/product/icare-eidon/ and it was a great fit for that kind of semi-embedded environment.
- sodapopcan 3y agoAh, well, personally I'm not doing anything other than web apps. A slightly cool thing its enabled is that I have a monolith with a single microservice. All the microservice does is process messages from the main app to process images, upload them to S3, then notify back when it's done. The cool thing is that they can be run on two separate connected BEAM instances communicating via the built-in message passing with no need for an HTTP API. I haven't deployed this, yet, though. Maybe that's still not what you're looking for but I was really happy when I figured out I could do that :D
- conradfr 3y agoThere's Nerves for semi-embedded. https://nerves-project.org/ https://nerves-project.org/