Comments (3)
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.
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.
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)
- Upgrade TypeScript Service Setups HOT 1
- Incompatibility between UI and Pipeline-Serivce HOT 2
- Adjust paths after repository rename HOT 2
- CDC Test and Pact Readme HOT 3
- [BUG] Failed to create new Datasource HOT 2
- UI image crashes HOT 4
- AMQP mismatch between implementation and documentation for Adapter-Pipeline topic
- VM2 Security Alert
- UI StorageView broken HOT 3
- Bug in UI - Collected data is not shown HOT 1
- API Design Discussion: Failing Delete and Update HOT 7
- CI Image Publishing
- Storage: use JSON schema to structure data and spawn GraphQL interface HOT 1
- UI update datasource bug
- Datasource creation back button issues HOT 1
- Adapter NodeJs refactoring preparation HOT 1
- Storage MQ query timeout HOT 3
- Cannot delete some Datasources HOT 1
- UI bug: UI not rendering in Firefox
- AdapterJS: Remove Knex and make linter work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ods.