GithubHelp home page GithubHelp logo

Comments (7)

mrocklin avatar mrocklin commented on May 23, 2024

from streamz.

CJ-Wright avatar CJ-Wright commented on May 23, 2024

I create a few nodes which map some function onto the data. Then I'd like to write 5 pipelines which use these nodes in different positions in the execution. Currently I'd need to duplicate the code for those nodes 5 times, since their upstream nodes would be different and that is bound at instantiation. With nodes created without a graph I could just import the nodes into the 5 pipelines and just plumb them together.

from streamz.

mrocklin avatar mrocklin commented on May 23, 2024

from streamz.

CJ-Wright avatar CJ-Wright commented on May 23, 2024

Maybe. That would only happen if I was running all the pipelines at once. One could run a deep copy on the node to make copies?

from streamz.

mrocklin avatar mrocklin commented on May 23, 2024

Is it costly to make a new node each time as is currently done? What are the advantages of pre-instantiating these objects ahead of time rather than creating them on the fly? So far in my toy examples I've only run into cases where recreating every time was free.

from streamz.

jrmlhermitte avatar jrmlhermitte commented on May 23, 2024

how does this differ from connect?
(#45)

from streamz.

CJ-Wright avatar CJ-Wright commented on May 23, 2024

Connect may have solved this issue, we just need to have a unique source for every incoming node to connect to.

from streamz.

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.