I’m so glad I asked for help in this community.
Thank you so much everyone, and finally @jchrist for sharing your insights and your Ansible file.
I was stuck because of Decision fatigue, analysis paralysis, and now that I got so many helpful responses, I can finally take that step.
I will update about my progress tomorrow.
Haha, yes I know each tech has its place, and people do use them.
It’s just that I believe startups / indies / newbies can take the learnings from failings of the mega corps, and not choose “Java” again and again. (Here I’m using “Java”, synonymous with using Node / Docker / …any other tools we know now to be a pain down the line.)
And criticism comes when we suffer thoroughly in our day to day usage of said technologies.
For instance, I haven’t used Wordpress, but have dabbled with PHP in last year of my college project. I can’t just dismiss other people, when they say Wordpress is terrible or PHP is bad, as in my limited experience, it was good.
Every criticism comes from somewhere, and I just shared my experience with Docker.
It’s my skepticism of current state of web, that made me come to Elixir & Phoenix. If I was content deploying SPAs in Docker containers, I would never have jumped to this platform.
If I didn’t use PM2, to make a single threaded Node to simulate multi threading, I wouldn’t have appreciated BEAM.
If I didn’t pull my hair out, trying to debug Node.js, I wouldn’t have appreciated the observability of BEAM.
If I didn’t experience how tough distributed server communication over Redis is, I wouldn’t have appreciated the concurrency model of BEAM.
If I didn’t experience how fickle socket connection is, I wouldn’t have appreciated Phoenix Channels, LiveView.
If I didn’t experience how terrible development with React is, I wouldn’t have learnt LiveView.
If I didn’t see what mutability does in JavaScript, or how OOP garrotes a project by its throat, I wouldn’t have appreciated functional programming in Elixir.
I’m sure companies will continue to use React, Node, and other tools that I found too painful to use. But in my naivety, I just wish they didn’t.