Kubernetes World

  • Login
Trending now

Container, Docker and Kubernetes. This article is not a deep dive of… | by Sandeep ...

Spark and Kubernetes, A Match Made in Heaven | by Cluephant Technologies | Feb, 2021 ...

The case of Kubeswitch. Managing a handful of Kubeconfig files… | by Daniel Foehr | ...

ATO (2020) Tech Talk: Writing a Kubernetes/Openshift Operators Using Operator-SDK – Operators – Medium

Week08 – News, Updates & Reminders – AWS | HashiCorp | Istio | Kubernetes | ...

Kubernetes – ServiceTopology. Merhaba, | by Emir Özbir | Feb, 2021 | Medium

How to connect to multiple Google Kubernetes clusters easily in parallel | by Alex Moss ...

Multi tenancy in Kubernetes cluster | by Yogesh Kumar | Feb, 2021 | Medium

On-call? We feel your pain. It’s 3 AM. You’re the developer on call… | by ...

Alert Fatigue — A practical guide to managing alerts | by Komodor | Feb, 2021 ...

Home » Technology » High scale web server with Kubernetes | by Itay Bittan | Jan, 2021 | Medium

High scale web server with Kubernetes | by Itay Bittan | Jan, 2021 | Medium medium.com

1
admin 1 month ago in Technology

Here at Dynamic Yield we are serving thousands of HTTP requests per second. Moving our serving services from EC2 to EKS required some tuning to ensure we could serve efficiently without losing any request. I summarized some tips and I hope it might help others with a smooth transition. Kubernetes can decide to proactively replace pods (replicas) of our application, whenever: We want to ensure that during the pod’s termination none of the requests will fail and all in-flight (currently being processed) requests will have enough time to respond before terminating a pod. Upon termination, Kubernetes send SIGTERM signal to the pod’s containers first, gives the application chance to gracefully stop, and few seconds after a SIGKILL signal kills all pod’s containers. The time between those signals is our opportunity to ensure that the longest request is being processed, all connections are being closed, and we stop listening on the application’s port.

  • Facebook
  • Twitter
  • Pinterest
  • Google+
Report Story

Related Stories

  1. Container, Docker and Kubernetes. This article is not a deep...
  2. Spark and Kubernetes, A Match Made in Heaven | by...
  3. The case of Kubeswitch. Managing a handful of Kubeconfig files…...
  4. ATO (2020) Tech Talk: Writing a Kubernetes/Openshift Operators Using Operator-SDK...
  5. Week08 – News, Updates & Reminders – AWS | HashiCorp...
  6. Kubernetes – ServiceTopology. Merhaba, | by Emir Özbir | Feb,...
  7. How to connect to multiple Google Kubernetes clusters easily in...
  8. Multi tenancy in Kubernetes cluster | by Yogesh Kumar |...
Tags : AWSDockerhttp-requestkubernetesweb-server

Get weekly Kubernetes news directly to your inbox

Loading
Copyright © 2021 Kubernetes World.
Login Register

Login

Lost Password
Oops! Sorry, registration is disabled.

High scale web server with Kubernetes | by Itay Bittan | Jan, 2021 | Medium

admin 1 month ago in

Here at Dynamic Yield we are serving thousands of HTTP requests per second. Moving our serving services from EC2 to EKS required some tuning to ensure we could serve efficiently without losing any request. I summarized some tips and I hope it might help others with a smooth transition. Kubernetes can decide to proactively replace pods (replicas) of our application, whenever: We want to ensure that during the pod’s termination none of the requests will fail and all in-flight (currently being processed) requests will have enough time to respond before terminating a pod. Upon termination, Kubernetes send SIGTERM signal to the pod’s containers first, gives the application chance to gracefully stop, and few seconds after a SIGKILL signal kills all pod’s containers. The time between those signals is our opportunity to ensure that the longest request is being processed, all connections are being closed, and we stop listening on the application’s port.

  • Facebook
  • Twitter
  • Pinterest
  • Google+
Report Story

Related Stories

  1. Container, Docker and Kubernetes. This article is not a deep...
  2. Spark and Kubernetes, A Match Made in Heaven | by...
  3. The case of Kubeswitch. Managing a handful of Kubeconfig files…...
  4. ATO (2020) Tech Talk: Writing a Kubernetes/Openshift Operators Using Operator-SDK...
  5. Week08 – News, Updates & Reminders – AWS | HashiCorp...
  6. Kubernetes – ServiceTopology. Merhaba, | by Emir Özbir | Feb,...
  7. How to connect to multiple Google Kubernetes clusters easily in...
  8. Multi tenancy in Kubernetes cluster | by Yogesh Kumar |...