Skip to content

Route updates are delayed with large number of services  #558

@galen0624

Description

@galen0624

We have a large number of services > 2500. The watchBackend func is taking over 15-20 seconds due to the sequential service queries. I am proposing an update to the below code to be a go func with worker pools.

https://github.com/fabiolb/fabio/blob/master/registry/consul/service.go#L57

I will PR this hopefully early next week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions