Netflix switched its APIs for the different platforms (Mobile, TV, Laptops etc.) from Groovy scripts, running as a single monolith, to. That way they run faster and scale better, versioning is easier, and the development speed has vastly improved. The main backend and all the heavy lifting are still done in Java, though.
The main backend and all the heavy lifting at Netflix are still done in Java. But, each platform – TV, iOS, Android, Windows, Browsers – used to be handled by a single monolith application with multiple Groovy scripts. It has changed and now, they have separate APIs written in Node.js + restify in separate Docker containers. This happened because of : performance, scalability, and development speed. Also, Netflix is not the only one to have . Let me go through the main upsides of Node.js briefly below.
Node.js uses the so-called event loop and a non-blocking, asynchronous I/O, which allows it to handle tens of thousands of requests per second, with very low latency, in a highly cost-effective manner (which is crucial for Netflix, which can take). It is also run by the V8 engine, which is written in C++ (which is where the speed comes from). You can read more about .
Netflix is running Node.js instances on AWS in Docker containers – the stack that has been synonymous with scalability for a while now. This allows for the horizontal scaling (more,= smaller instances instead of one bigger instance), independent, non-breaking changes to the containerized APIs (one buggy container doesn’t affect the others) and easy version control (which company has 1000s of at the same time). Because of that, as you can guess, Netflix is currently, which has been beneficial to both companies. You can read more about Node’s .
Speed of development
Hope that you’re satisfied with the answer! For further reading on Node.js’s advantages and its usage at Netflix, just go through the links provided all over this answer.