# Kubernetes performance on the GCP

**URL:** <https://discuss.kubernetes.io/t/kubernetes-performance-on-the-gcp/20481>\
**Category:** General Discussions\
**Tags:** network\
**Created:** [June 30, 2022, 4:18pm UTC](https://discuss.kubernetes.io/t/kubernetes-performance-on-the-gcp/20481 "2022-06-30T16:18:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bholland1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bholland1](https://discuss.kubernetes.io/u/bholland1)\
**Post date:** [June 30, 2022, 4:18pm UTC](https://discuss.kubernetes.io/t/kubernetes-performance-on-the-gcp/20481/1 "2022-06-30T16:18:03Z")

</div>

I have a general performance question.

I have a website and a headless task processor both connecting to the same database. When I run these applications using docker compose on my local machine everything is smooth and good. I have been attempting to deploy them to a kubernetes cluster on the Google Cloud Platform and while everything talks, it is way slower, like, 60x slower. I believe that I have narrowed things down to database requests to the postgres db in the cluster. It looks like every db connection is taking a minimum of .5 seconds.

My question is: Is that standard? should I expect the cloud/kubernetes overhead to be that much? Before I try to fix anything, I want to know if I am way outside the realm of reason. I think so, but I want to check against more seasoned veterans.

Any insight would be welcome.

Thanks!

---

<div class="post-metadata">

**Author:** ![thockin](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/thockin/32/2457_2.png) [@thockin](https://discuss.kubernetes.io/u/thockin)\
**Post date:** [June 30, 2022, 4:57pm UTC](https://discuss.kubernetes.io/t/kubernetes-performance-on-the-gcp/20481/2 "2022-06-30T16:57:08Z")

</div>

That is absolutely NOT normal

---

<div class="post-metadata">

**Author:** ![bholland1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bholland1](https://discuss.kubernetes.io/u/bholland1)\
**Post date:** [June 30, 2022, 5:14pm UTC](https://discuss.kubernetes.io/t/kubernetes-performance-on-the-gcp/20481/3 "2022-06-30T17:14:48Z")

</div>

That is what I thought. I’m not crazy, their crazy!
