Hacker News new | ask | show | jobs
by ilrwbwrkhv 606 days ago
Beautiful architecture. Startups and companies like Netflix should learn from this instead of cargo culting microservices.
2 comments

And what exactly do you think lila, lila-ws, and redis are if not microservices (or as they should be called, “services”)? Lichess could easily be implemented as a single monolithic process but it is not.
They are services, but not micro. lila-ws spun off of Lila for a good reason (fault isolation) and not because "let's make everything a service". And they don't follow any standard microservice pattern - a reverse proxy isn't a microservice.
this architecture diagram shows that lichess is a traditional monolith with a handful of functions separated.
What? Do you have some reason to think Netflix's architecture is deficient?
Because the top 5 comments on HN always say so, so it must be true.
Overly complicated with microservices. Can be made 10x simpler.
Sometimes simplicity is not the best goal.

Redundancy, scalability, decoupling, resilience, best possible handling of errors, cost optimization, etc. may be more important at the scale Netflix operates at.

> Redundancy, scalability, decoupling, resilience, best possible handling of errors, cost optimization, etc. may be more important at the scale Netflix operates at.

So much that they built a tool to intentionally make things difficult (read: it arbitrarily stops production system processes/containers/etc.) and help inform what decisions to make in favor of fault tolerance.

> Exposing engineers to failures more frequently incentivizes them to build resilient services.

https://github.com/Netflix/chaosmonkey

https://en.wikipedia.org/wiki/Chaos_engineering

Embarrassing. I built 99% of Netflix functionality locally with VLC and a subdirectory of mkv files.
Good for you. Now please aim 10,000 requests a second at your file server.
For Netflix level of complexity. Pornhub has more traffic and serves more customer than Netflix with monolithic PHP and some services.
They require completely different levels of viewing patterns and complexity. It’s such a reductionist take.
You know something about their internal architecture and why it was built that way and the tradeoffs involved, I guess?