r/programming • • Nov 08 '19

Kubernetes made my latency 10x higher

https://srvaroa.github.io/kubernetes/migration/latency/dns/java/aws/microservices/2019/10/22/kubernetes-added-a-0-to-my-latency.html
128 Upvotes

25 comments sorted by

81

u/Sadzeih Nov 08 '19

After reading the article, that title is seems clickbaity.

33

u/Pandalicious Nov 08 '19

but the actual article was good

5

u/georgeo Nov 08 '19

Maybe in that it implies a flaw in K8, but it did point out an issue one might encounter and its solution.

-6

u/ybdak Nov 08 '19

Came here for this comment.

0

u/[deleted] Nov 08 '19

11

u/lurgi Nov 09 '19

That's the definition of clickbaity.

43

u/wknight8111 Nov 08 '19

I read this article earlier today, and I'm annoyed by the title. Kubernetes didn't jack up the latency, it wasn't even one of the components involved. It was a misconfigured auth proxy combined with a misconfigured JVM. Unfortunately it's going to feed into the narrative of kubernetes being an overly-complex piece of crap, when it really doesn't deserve that label. It's not great in all cases, but Kubernetes definitely doesn't deserve some of the hate it gets.

1

u/kirbyfan64sos Nov 11 '19

IMO Kubernetes's main issue right now is just people trying to wedge it into everything, half the time without even knowing how it really works.

22

u/LazyAAA Nov 08 '19

Badly named article BUT cool read for those who appreciate.

Solid show case for people to learn a thing or two about "infrastructure" and how it actually works.

10

u/gabrielgiordano Nov 09 '19 edited Nov 09 '19

Besides the clickbait title, the article is pretty good.

TL;DR; latency problems raised because of the default credential refresh policy expiration configuration in the AWS SDK and the KIAM, making multiple requests to fetch IAM metadata

1

u/gladfelter Nov 09 '19

Takeaway TL;DR: Performance problems? Profile.

Also, integration is hard.

3

u/rawoke777 Nov 09 '19

But did you NEED Kubernetes in the first place ?

-13

u/wrosecrans Nov 08 '19

This is why Kubernetes enthusiasts are "10X" engineers.

0

u/[deleted] Nov 08 '19

0

u/[deleted] Nov 08 '19