Giter VIP home page Giter VIP logo

Comments (3)

mathiaszinnen avatar mathiaszinnen commented on May 29, 2024

I would suggest the following implementation:
Scheduler triggers transformation (synchronous RPC request) -> transformation service executes transformation and triggers storage (blocking the scheduler) -> transformation notifies scheduler if transformation and storage was successful and transmits storage location (synchronous RPC response) -> scheduler triggers notification using the location

After refactoring the ods to an event-driven architecture, we can get rid of the blocking part and use events instead of RPC. But for now, this seems to be the easiest solution.
Are you okay with this approach @georg-schwarz?

from ods.

georg-schwarz avatar georg-schwarz commented on May 29, 2024

For now, I would rather let the storage (which is better named query in my opinion) stay unknown to the transformation.
Does this feature have any benefits for us right now? I agree, letting the transformation fetch the data via reference from adapter completes kind of one step we started implementing, so we should finish that. Also makes sense because we might build on that feature by enabling multiple pipelines per datasource.
However, I don't see the benefit in storing the data of the transformation result right now.. Or am I missing an important point here?

from ods.

mathiaszinnen avatar mathiaszinnen commented on May 29, 2024

Yes, I mixed something up here. What I described above is actually the next step of passing references instead of actual data. Thanks for pointing that out to me :D
You are right, the first step would be passing a reference to the data instead of the data itself from the scheduler to the transformation service.

After implementing that, the transformed data (itself, not a reference) would still be returned to the scheduler which passes it on to the scheduler.
In my opinion we should use references there, too. For example by implementing a similar approach by passing a reference to the storage service from the scheduler to the transformation service. Like this, the transformation service does not need to know the storage service, does not need an own database and we minimize unnecessary internal data transmission.
However, we can discuss this afterward and I start with the first step first.

from ods.

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.