4 ms·
Beautiful architecture. Startups and companies like Netflix should learn from this instead of cargo culting microservices.
by ilrwbwrkhv 2y ago
Beautiful architecture. Startups and companies like Netflix should learn from this instead of cargo culting microservices.
- ajkjk 2y agoWhat? Do you have some reason to think Netflix's architecture is deficient?
- ilrwbwrkhv 2y agoOverly complicated with microservices. Can be made 10x simpler.
- LinuxAmbulance 2y agoSometimes 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.
- lcnPylGDnU4H9OF 2y ago> 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://github.com/Netflix/chaosmonkey https://en.wikipedia.org/wiki/Chaos_engineering https://en.wikipedia.org/wiki/Chaos_engineering
- renewiltord 2y agoEmbarrassing. I built 99% of Netflix functionality locally with VLC and a subdirectory of mkv files.
- trashburger 2y agoGood for you. Now please aim 10,000 requests a second at your file server.
- renewiltord 2y agoBecause I don't use microservices, I don't need 10,000 requests a second to play a video file.
- achierius 2y agoI think the point was 10,000 files on 10,000 different hosts, per second.
- renewiltord 2y agoWell, if they’re only watching one second of video that’s easy. The files could be super small too. Okay, I can’t keep this up. I was parodying the position not being serious.
- ilrwbwrkhv 2y agoFor Netflix level of complexity. Pornhub has more traffic and serves more customer than Netflix with monolithic PHP and some services.
- kredd 2y agoThey require completely different levels of viewing patterns and complexity. It’s such a reductionist take.
- ajkjk 2y agoYou know something about their internal architecture and why it was built that way and the tradeoffs involved, I guess?
- paxys 2y agoBecause the top 5 comments on HN always say so, so it must be true.
- enneff 2y agoAnd 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.
- immibis 2y agoThey 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.