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

Application Slow start due to init processor reading high latency web databases #42

Open
zhankezk opened this issue Apr 17, 2018 · 0 comments

Comments

@zhankezk
Copy link

zhankezk commented Apr 17, 2018

Can't exactly say this is an issue, it could be a feature request as well.

Basically we have 2 web databases, one of them is in a GEO-distributed remote region which has 200 ms latency with the main CM instance.

We uses publishing service for publishing tasks since out of box publishing take 8+ hours to complete a site smart publish. But remote database definition is still added in CM for handling event queue.

We noticed after a while, CM takes around 15 mins to start up every time it restarts. With some profiling and traces, we identified the bit that takes most time and blocking all requests is the processor:
<processor type="Hi.UrlRewrite.Processing.InboundRuleInitializer, Hi.UrlRewrite" />

After removing this processor, CM startup time is back to normal.

In the code, it go through all the databases and caches the inbound rules. Remote web database is one of them.

Since this is authoring and looks like this is for Site visit, we assumes it should be fine to disable this processor on CM. We need more time to validate but not sure if anyone can confirm this?

Also not sure what's the best way to handle this properly going forward. What's your view?

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

1 participant