Kubernetes and Case Study of PayPal

Kubernetes

Bhavna Surendra Latare
4 min readDec 25, 2020

What is Kubernetes 🤔

Kubernetes is an open-source platform for managing containerised workloads and services, that facilitates both declarative configuration and automation.

💥It was originally developed and designed by engineers at Google in year 2014. Google was the first to talk how things work within a container. This gave it a lead in Cloud Services.

What is this Container over here 🙄

✅Container is a type of operating system virtualisation. It can be used by a micro-service or software process to large application. Container is a better way to bundle and run the applications.

Thus , kubernetes cluster together groups of hosts running Linux containers. Kubernetes helps in efficiently managing such cluster.

Services provided by Kubernetes :

▶ Service discovery and load balancing - Kubernetes can expose a container using the DNS name or using their own IP address. If traffic to a container is high, Kubernetes is able to load balance and distribute the network traffic so that the deployment is stable.

▶ Storage orchestration — Kubernetes allows you to automatically mount a storage system of your choice, such as local storages, public cloud providers, and more.

▶ Automated rollouts and rollbacks — you can automate Kubernetes to create new containers for your deployment, remove existing containers and adopt all their resources to the new container.

▶ Automatic bin packing — You provide Kubernetes with a cluster of nodes that it can use to run containerized tasks. You tell Kubernetes how much CPU and memory (RAM) each container needs

▶ Self-healing — Kubernetes restarts containers that fail, replaces containers, kills containers that don’t respond to your user-defined health check, and doesn’t advertise them to clients until they are ready to serve.

▶ Secret and configuration management -You can deploy and update secrets and application configuration without rebuilding your container images, and without exposing secrets in your stack configuration.

🏍 🏍 🏍 Kubernetes geared up PayPal

Challenge😕

PayPal processes over 200 user payments per second across PayPal, Braintree and Venmo, but deploying across different architectures and clouds led to slow turnaround times for deployment and maintenance.

Solution 😎

Docker Enterprise provided unified application delivery, operations and centralized container management for consistent packaging of existing applications.

PayPal worked with Google Cloud to help it securely build on its success in two ways:

a) make it easier for developers to experiment

b) bring its services to an underserved market

The countless smaller online retailers who could greatly benefit from the reach and capability of a global payments provider.

In migrating to Google Cloud, the company led with software development and testing, so its engineers could work faster on products that mattered to customers and the enterprise, without having to worry about undifferentiated work like server management. The team’s internally developed containerization platform was ported to the cloud, adding performance to its microservices, without the need for new learning.

Both the teams of PayPal and Google Cloud came together and collaborated with each other and resulted into a close relationship between them. Thus, PayPal became the premier customer of Google Cloud Services.

Results 🥳🥳🥳

PayPal Records Productivity Gains using Docker Enterprise for their eCommerce applications. PayPal migrated 700+ applications to Docker Enterprise, running over 200,000 containers. The company also achieved a 50% productivity increase in building, testing and deploying applications.

PayPal gained access to lower latency, enhanced scalability, and better end-user customer experiences.

Speed matters for both operational efficiency and customer delight. Even a few hundred unnecessary milliseconds in processing a transaction can mean customer dissatisfaction. When most activity is happening on Google’s secure, high-performing proprietary network, latency is minimised.

Changes in number of PayPal after k8s

Words by Meghdoot Bhattacharya , Cloud Engineer

“With Docker Enterprise, we are deprecating 15 years worth of toolsets and building a consistent operating model across multiple clouds.”

— Meghdoot Bhattacharya

Thank you🤗

--

--

Bhavna Surendra Latare

I am a student passionate about Programming and Development | DSA Enthusiastic | working on ML | exploring Indian Culture