vinhnglx's comments

vinhnglx | 5 years ago | on: Ask HN: Who regrets choosing Elixir?

I'm working for a software consultant in Singapore. We tried Elixir for a few projects, and now we're still trying. So, I can share a few experiences from my view.

- 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.

vinhnglx | 6 years ago | on: Ask HN: Help. Covid case at work; remote work is being denied. EU region.

You need to left the company immediately, report the situation to the police and self-isolate yourself when waiting for the next step from the police. Job is not important anymore at this time.

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

> Playing football is very simple, but playing simple football is the hardest thing there is

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.

page 1