Code Monkey home page Code Monkey logo

Comments (2)

chadell avatar chadell commented on September 24, 2024 1

This is an interesting one!

from nautobot-app-ssot.

itdependsnetworks avatar itdependsnetworks commented on September 24, 2024

Just a stream of consciousness here.

  1. In other situations in which we preferred some data when required, we created a "cache model", which would allow us to sync from system 1 -> cache model 1 and system 2 to cache model2, and then a single sync job from the 2 cache models to the Nautobot model. This allows sync of system 1 at any time without having to sync system 2. The business logic was added to the diffsync plugin to accomplish.
  2. What would the weight apply to? It's not really clear to me. If system 1 & 2 have a serial number, why not just choose one of those two systems. If wanting to have some data vs no data, I think a fallback system would make sense, but not sure I understand weight. Additionally, they would have to be evaluated at the same time (hence the work around described in the previous point)
  3. Why not use flags to ignore certain attributes from a less "weighted" system and just not use them at all?
  4. The challenge with conditionally uploading the data if empty is once again that you do not have all of the other sync data at the same time.

I think my recommendations would be

  • Short term, recommend and document the cache model approach.
  • Long term to create better capabilities to run all of your sync jobs at once, so you have all of the context at once, and develop either a series of flags or weights as mentioned

from nautobot-app-ssot.

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.