HOW SPOTIFY USE KUBERNETES TO SOLVE THEIR CHALLENGE?
Tushar Joshi
Functional Consultant | Business Analyst| Client Communication | Project Management| Python | AWS| Data Analyst
WHAT IS KUBERNETES?
Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.
WHAT ARE THE USE-CASES OF KUBERNETES?
Kubernetes used in today's world to solve most of the problem in the technological world. It comes with many use-cases are as follows:-
- Service discovery and load balancing
- Storage orchestration
- Automated rollouts and rollbacks
- Automatic bin packing
- Self-healing
- Secret and configuration management
Task Description:-
?? Research how Kubernetes is used in Industries and what all use cases are solved by Kubernetes
?? Create a blog/Article/video on industry use case for Kubernetes.
??Case Study of Spotify??:
An Early Adopter of Containers, Spotify Is Migrating from Homegrown Orchestration to Kubernetes.
WHAT ARE THE CHALLENGES FACED?
Launched in 2008, the audio-streaming platform has grown to over 200 million monthly active users across the world.
An early adopter of microservices and Docker, Spotify had containerized microservices running across its fleet of VMs with a homegrown container orchestration system called Helios. By late 2017, it became clear that "having a small team working on the features was just not as efficient as adopting something that was supported by a much bigger community so they thought to adapt the kubernetes.
THE SOLUTION COMPANY COME UP WITH:-
Kubernetes was more feature-rich than Helios and company also wants to get the benefitfrom added velocity and reduced cost and also want to align with the rest of the industry on best practices and tools.
At the same time, the team wanted to contribute its expertise and influence in the flourishing Kubernetes community. The migration, which would happen in parallel with Helios running, could go smoothly because "Kubernetes fit very nicely as a complement and now as a replacement to Helios," says Chakrabarti.
THE IMPACT THAT KUBERNETES APADTION BRINGS IS:-
The team spent much of 2018 addressing the core technology issues required for a migration, which started late that year and is a big focus for 2019.
The biggest service currently running on Kubernetes takes about 10 million requests per second as an aggregate service and benefits greatly from autoscaling. Earlier teams would have to wait for an hour to create a new service and get an operational host to run it in production, but with Kubernetes, they can do that on the order of seconds and minutes.
With Kubernetes's bin-packing and multi-tenancy capabilities, CPU utilization has improved on average two-to-threefold.
And Spotify looks at this only i.e.—lead time, deployment frequency, time to resolution, and operational load—"there is impact that Kubernetes is having."
— JAI CHAKRABARTI, DIRECTOR OF ENGINEERING, INFRASTRUCTURE AND OPERATIONS, SPOTIFY says
"We saw the amazing community that's grown up around Kubernetes, and we wanted to be part of that. We wanted to benefit from added velocity and reduced cost, and also align with the rest of the industry on best practices and tools."
— JAMES WEN, SITE RELIABILITY ENGINEER, SPOTIFY says
"We were able to use a lot of the Kubernetes APIs and extensibility features to support and interface with our legacy infrastructure, so the integration was straightforward and easy."
??CASE STUDY : ADIDAS ??
Challenge
In recent years, the adidas team was happy with its software choices from a technology perspective—but accessing all of the tools was a problem. For instance, "just to get a developer VM, you had to send a request form, give the purpose, give the title of the project, who's responsible, give the internal cost center a call so that they can do recharges," says Daniel Eichten, Senior Director of Platform Engineering. "The best case is you got your machine in half an hour. Worst case is half a week or sometimes even a week."
Solution
To improve the process, "we started from the developer point of view," and looked for ways to shorten the time it took to get a project up and running and into the adidas infrastructure, says Senior Director of Platform Engineering Fernando Cornago. They found the solution with containerization, agile development, continuous delivery, and a cloud native platform that includes Kubernetes and Prometheus.
Impact
Just six months after the project began, 100% of the adidas e-commerce site was running on Kubernetes. Load time for the e-commerce site was reduced by half. Releases went from every 4-6 weeks to 3-4 times a day. With 4,000 pods, 200 nodes, and 80,000 builds per month, adidas is now running 40% of its most critical, impactful systems on its cloud native platform.
So there are lot of companies like Spotify i.e. Google, IBM, Nokia, Wink, etc. that uses Kubernetes to solve their respective challenges.
Thankyou for giving your time to read this article!!??
Keep Learning. Keep Exploring.
?