Code Monkey home page Code Monkey logo

Comments (3)

valdisiljuconoks avatar valdisiljuconoks commented on June 12, 2024

Hi,

Thanks for your time. When it comes to caching I read all the comments you made and Jeroen in his site. And here are my 2 cents:

  1. I cannot decide to use Redis for caching on-behalf of hosting project as it's usually related to costs and resources in the cloud. If hosting project wants to use Redis for caching - it has to be done explicitly - it's not library's neither responsibility nor power to decide.
  2. If code is using CacheManager - it's designed to handle web farms and NLB scenarios and internally it uses remote cache invalidations as well (implemented as events via Azure Service Bus if we take a look at Azure deployment case).

If NLB is used on-premises, then I guess as far as CacheManager / Remote Events infrastructure is setup correctly and all nodes can communicate with each other about what happened in one of the nodes - you should be fine.

These all are just my humble speculations as I haven't heavily tested in NLB cases - but I do rely on EPiServer code- that these cases should be handled there already!

Please comments if I'm wrong here..

Thanks!

from localizationprovider.

wrojas avatar wrojas commented on June 12, 2024

Hi Valdis,

Now that is a fast reply back!
My feedback on your comments:

  1. I agree, using Redis for caching shouldn't be a responsibility of the library but rather a design decision for the project overall.
  2. An overlook on my side that the EPiServer Cache manager already handles webfarm scenarios (http://world.episerver.com/documentation/class-library/?documentId=cms/7/393fb0eb-1b68-6b94-1a01-66a84365e1d3)

That being said, also humble speculations over here! Can't wait to get a chance to use the library in a new project and let you know practical feedback :)

Thank you for your time putting this together (as well as feature switch)!
. Wac

from localizationprovider.

valdisiljuconoks avatar valdisiljuconoks commented on June 12, 2024

My joy to help fellows to resolve same issues that I facing.. :)

from localizationprovider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.