Skip to content
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

Registration of new routes very slow #1148

Closed
JorritPosthuma opened this issue Jan 25, 2019 · 7 comments
Closed

Registration of new routes very slow #1148

JorritPosthuma opened this issue Jan 25, 2019 · 7 comments
Milestone

Comments

@JorritPosthuma
Copy link

Describe the bug
We have a platform where we dynamically add new routes. In version 0.40.2 is takes around 2 second for a simple container to be accessible through the route, but in 0.50.0-rc5, it takes around 20 seconds

To Reproduce
The route we apply is as follows:

apiVersion: ambassador/v1
kind:  Mapping
name:  module_x_mapping
prefix: /module_x/
service: module_x
timeout_ms: 0

We create the service with this config using the Kubernetes TypeScript SDK.

Expected behavior
A clear and concise description of what you expected to happen.

Versions (please complete the following information):

  • Ambassador: 0.50.0-rc5
  • Kubernetes environment: Docker for Mac 2.0.0.2 - Kubernetes: v1.10.11

Additional context
Looking at the Ambassador Diagnostic Overview, the route get's picked up very quickly. But then it still needs 20 seconds to become reachable.

@kflynn
Copy link
Member

kflynn commented Jan 28, 2019

This should be fixed by #1153.

@kflynn kflynn added this to the 0.50.0 GA milestone Jan 28, 2019
@kflynn
Copy link
Member

kflynn commented Jan 29, 2019

Fixed in RC6.

@kflynn kflynn closed this as completed Jan 29, 2019
@JorritPosthuma
Copy link
Author

Actually, I tried it, and it still takes 46 seconds to become available.

@kflynn
Copy link
Member

kflynn commented Feb 1, 2019

In 0.50.0 GA? How many services do you have?

@kflynn
Copy link
Member

kflynn commented Feb 1, 2019

(Also, the Slack channel might be a great choice for more interactive discussion here.)

@JorritPosthuma
Copy link
Author

Ah, ok, no, I tried RC6 :). Will try GA first! If that doesn't resolve anything then I'll contact on slack.

PS: Around 10 services

@kflynn
Copy link
Member

kflynn commented Feb 1, 2019

Ahhhhh that makes much more sense. RC6 definitely had an issue there, but 0.50.0 GA should be much better for you. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants