vinhnglx | 5 years ago | on: Ask HN: Who regrets choosing Elixir?
vinhnglx's comments
vinhnglx | 6 years ago | on: Ask HN: Help. Covid case at work; remote work is being denied. EU region.
This is not a video-game where you can restart everything when you died, this is real. You, all of us, only have one life to live.
vinhnglx | 6 years ago | on: Websites have evolved back to static HTML/CSS/JS files
This quote is from Johan Cruyff - A football legendary. I feel it also true with programming.
Nothing wrong with the technical stacks, in my opinion: Do the right work, at the right time, with the right tool.
vinhnglx | 6 years ago | on: Ask HN: Best books you've read in 2019?
- Permanent Record
vinhnglx | 6 years ago | on: Ask HN: Who wants to be hired? (August 2019)
Remote: No
Willing to relocate: Yes.
Technologies: Ruby on Rails, Elixir / Phoenix, ReactJS / React Native, Docker / Terraform / Kubernetes, AWS.
Resume/CV: Please request by email.
Email: [email protected]
Blog: https://thefirstapril.com/archives/
Now, I am working and staying Singapore. I willing to relocate to another country, e.g: Japan, without require Japanese skill.
vinhnglx | 6 years ago | on: Ask HN: Who wants to be hired? (July 2019)
Remote: No
Willing to relocate: Yes (with a working visa). Right now, I'm working in Singapore with a working visa.
Technologies: Ruby/Ruby on Rails, Elixir/Phoenix, ReactJS/React Native, Packer/Terraform, Docker/Kubernetes, AWS/GCP.
Résumé/CV: https://www.linkedin.com/in/vincentnguyenle/
Email: [email protected]
vinhnglx | 6 years ago | on: Ask HN: Overworked Developer. 70 hours a week
Working overtime just make your doctor richer.
- Elixir and the Phoenix framework is perfect when building concurrency systems. Our company had made a ticketing system, solving the tickets for "Cirque du Soleil - Hongkong 2018". During two months of the event, our system (one Elixir/Phoenix server - scale up to two - one load balancer) can handle more than 5000 tickets per second. We were so excited. Unfortunately, the client's company closed after that. So the project was closed too.
- The second project was a product of a finance startup. Not so much thing I can share in this project, but the main feature is chatting. We used the Phoenix Channel and Graphql Subscription for this feature.
- In the side project, one member of the team used Phoenix Liveview to build a Coup game (board game).
So, in general, when I work with Elixir, I see a few pros and cons:
Pros:
- Fast. Functional programming is really fun. I love pattern matching.
- Not so hard to write tests. It's easy to mock external APIs. (Check out this blog: http://blog.plataformatec.com.br/2015/10/mocks-and-explicit-...)
- Easy to deploy. After dockerize the application, I can run it anywhere. The ticketing system was run on AliCloud, and the second project was run on Kubernetes (AWS).
Cons:
- Lack of supported libraries for external services. Sometimes, our team has to write a wrapper library to call directly to external services' APIs.
- Not easy to hire an Elixir developer in Singapore. Our team tried to hire Ruby on Rails developers and train them. But they were not feeling interesting in learning Elixir, so they left the team.