-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding new routes or changing existing is very slow #1318
Comments
Additional info. After ingress is updated, the services is available after 15 secs. Is it a normal behavior? If you notice the validation itself takes 15secs 2019/03/18 18:23:06 SYNC: python3 /ambassador/post_update.py http://localhost:38716/api/snapshot/9 |
How many service objects exist across all namespaces in your cluster? I wonder if this is related to #1292 |
We have close to 800 and it will increase in future. |
This will, I hope, be addressed by 0.52.0's switch to the C YAML parser. |
The validation is fast now, but the envoy loading is still slow. Below is the logs. i have changed the service annotation at 2019/03/21 20:33:30, my first success response is ACCESS [2019-03-21T20:34:13.335Z] ". It took almost 45 seconds to see my update. 2019/03/21 20:33:30 SYNC: python3 /ambassador/post_update.py http://localhost:35512/api/snapshot/4 |
Could you add some comments in the original issue as well. It shows that multiple people are seeing it. |
@songole I'm not sure whats the original issue #. I can link. |
Lots of work around this in 0.60.3. I'm going to close this (again) -- please reopen (again) if there are issues on 0.61! |
Describe the bug
Adding new routes or changing existing is very slow. Takes sometime to reflect changes.
To Reproduce
Create a new route or update an existing route.
(Rewrite is correct, my service is running under context)
Expected behavior
Expect the route to take effect immediately.
Versions (please complete the following information):
Additional context
Also if i change the route from /services/test-service/ to /services/testservice/ it takes time to reflect.
I enabled debug logs and i get 404 for few requests. After sometime the url is available.
ACCESS [2019-03-15T20:37:14.589Z] "GET /services/test-service/ HTTP/1.1" 404 NR 0 0 0 - "10.20.13.34,10.94.68.66" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" "bda56d69-8961-4916-a020-c448feff9004" "abc.com:8443" "-"
ACCESS [2019-03-15T20:37:15.451Z] "GET /services/test-service/ HTTP/1.1" 404 NR 0 0 0 - "10.20.13.34,10.94.68.66" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" "92df5cc6-60fe-42d8-afca-c9b0407edd7a" "internal-kube-aws-preprod2-internal-405356190.us-east-1.elb.amazonaws.com:8443" "-"
The text was updated successfully, but these errors were encountered: