Copied to clipboard

Flag this post as spam?

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


  • David Vainer 15 posts 96 karma points
    May 12, 2022 @ 09:21
    David Vainer
    0

    Umbraco 8 load balancing - Should cache & TEMP folders be identical?

    Hey, I'm working on load balancing my Umbraco 8 application using Flexible approach.
    My servers are hosted in AWS EC2 and I'm using its ALB feature to configure my load balancing.
    Right now I have two servers - Master server that is used for content editors, and one Front server that is used for our customers (And of course we'll have more Front servers in the future).
    I configured that if a request referrer has /umbraco in its URL, it will traffic it to the Master server (Since it's content editing), otherwise it will traffic it to one of the Front servers.
    By the way, I've not yet configured scheduling and master election.

    Anyways, here is my question -
    In each application instance, in App_Data I have cache and TEMP folders.
    I can't understand if the content of those folders should be identical to each other in each server - Same structure of cache folders, Examine indexers, etc.
    Right now I noticed that cache is saved in each server differently.
    Hope you can help me understand significance of those folders, how and then they are generated, and tell me if they really should be identical or not.
    Thanks :)

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    May 12, 2022 @ 10:31
    Dave Woestenborghs
    100

    Hi David,

    I don't think the cache folder needs to be identical. This is the folder where ImageProcessor stores it's processed images.

    Dave

  • David Vainer 15 posts 96 karma points
    May 13, 2022 @ 19:18
    David Vainer
    0

    Thanks for the reply :)
    What about the folders and files inside TEMP folder?
    I don't know how can I ensure that the LB works fine in all aspects...

Please Sign in or register to post replies

Write your reply to:

Draft