Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Speed up handler creation #134

Open
cw9 opened this issue Jun 28, 2018 · 0 comments
Open

Speed up handler creation #134

cw9 opened this issue Jun 28, 2018 · 0 comments

Comments

@cw9
Copy link
Contributor

cw9 commented Jun 28, 2018

When there are hundreds of hosts configured for a flush handler backend, it could take 8-10s to create all the connections to them, in some cases we have 6-7 handlers defined with that many hosts, it will take the process a very long time to start up.

We should try a few things to speed up the handler construction to shorten the process start up time:
1, parallelize the handler creation.
2, use ip instead of hostname in the backend configuration to avoid DNS lookup.

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

No branches or pull requests

1 participant