# Load balancing and scaling long-lived connections in Kubernetes

DevFeed: [Load balancing and scaling long-lived connections in Kubernetes](<https://devfeed.tech/articles/load-balancing-and-scaling-long-lived-connections-in-kubernetes-19137.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-long-lived-connections>)

Author: Daniele Polencic

Published: 2024-06-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [gRPC](<https://devfeed.tech/topics/grpc.md>), [client](<https://devfeed.tech/topics/client.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [http](<https://devfeed.tech/tags/http.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-services](<https://devfeed.tech/tags/kubernetes-services.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [round-robin](<https://devfeed.tech/tags/round-robin.md>)

## AI overview

This tutorial explains why Kubernetes Services may not evenly distribute requests over long-lived connections. It describes Kubernetes Services and Deployments and discusses client-side load balancing or proxies for HTTP/2, gRPC, RSocket, AMQP, and long-lived database connections.

## Source excerpt

Handle long-lived connections in Kubernetes. Master client-side load balancing for HTTP/2, gRPC, and database connections.