Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Dermody 31 posts 110 karma points
    Jun 14, 2016 @ 00:13
    Paul Dermody
    0

    Can I rebuild examine indexes without interrupting service?

    Hi. I have Umbraco on two load balanced servers. On them, I have a website with search indexes that include a custom indexer. The custom indexer is kept up-to-date with changes to the source data...for the most part.

    However, occasionally the custom index needs to be rebuilt. For example, if it gets out of date for any reason, or I add a new field to the index.

    Normally, this can affect performance or even availability of the website, and certainly means some functionality is unavailable while the indexes are being rebuilt.

    Since I have the servers load balanced, is there a way to force all traffic to one of the load balanced servers while the other is rebuilding it's index? If not, any recommendations for how I could keep my website up while background tasks are executing that affect availability?

    Thanks, Paul Dermody

  • Paul Dermody 31 posts 110 karma points
    Jun 14, 2016 @ 21:23
    Paul Dermody
    0

    I should mention, I have these servers on Microsoft Azure...

  • Garry Bain 6 posts 77 karma points
    Jul 02, 2020 @ 09:05
    Garry Bain
    0

    Did you ever sort this? I have a similar issue where the site is taking about 4 minutes to rebuild the indexes and often results in Bad Gateway errors

Please Sign in or register to post replies

Write your reply to:

Draft