Giter Club home page Giter Club logo

Comments (4)

kk-kwok avatar kk-kwok commented on May 23, 2024

This problem has appeared for a long time. This problem has been discovered since version v2.9.*. This problem also occurs after upgrading to the latest version v2.10.7.

from traefik.

kevinpollet avatar kevinpollet commented on May 23, 2024

Hello @kk-kwok and thanks for reaching out,

This problem has appeared for a long time. This problem has been discovered since version v2.9.*. This problem also occurs after upgrading to the latest version v2.10.7.

Does it mean that the problem is not here in older versions?

Could you provide a minimal reproducible case (for instance, full Kubernetes manifest to reproduce the issue)?

In the meantime, if any community member can help us find verified steps to reproduce and fix the issue, we would love the help.

from traefik.

kk-kwok avatar kk-kwok commented on May 23, 2024

Hello @kevinpollet .
Thank you very much for your help.

I mean I was using traefik v2.9 when I first discovered this problem. Then I updated to the latest version v2.10.7 and still have the same problem.

This problem was discovered in our production environment k8s cluster. I just tried to deploy a simple nginx deployment in a new namespace, and then used the wrk command to conduct a simple stress test. This problem did not occur.

from traefik.

kk-kwok avatar kk-kwok commented on May 23, 2024

When using high concurrency continuous stress testing, there is an overall high delay.

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 1
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.24
        ports:
        - containerPort: 80

---
apiVersion: v1
kind: Service

metadata:
  annotations:
    service.cloud.tencent.com/direct-access: "true"
    service.kubernetes.io/topology-aware-hints: auto
  name: nginx

spec:
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 80
  selector:
    app: nginx
  type: ClusterIP
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: test-xxx-com
spec:
  entryPoints:
    - web
  routes:
    - match: Host(`test.xxx.com`)
      kind: Rule
      middlewares:
        - name: max-request-body
        - name: gzip-compress
      services:
        - name: nginx
          namespace: default
          port: 80
          passHostHeader: true
wrk -c 1000 -t 600 -d 60s --timeout=10 -H 'Host: test.xxx.com' http://{ip}

traefik

from traefik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.