GithubHelp home page GithubHelp logo

Comments (7)

kszucs avatar kszucs commented on May 27, 2024 1

I really don't know, but there are practices:

from streamz.

mrocklin avatar mrocklin commented on May 27, 2024

from streamz.

kszucs avatar kszucs commented on May 27, 2024

Currently nothing :) I wait for your advise.

from streamz.

mrocklin avatar mrocklin commented on May 27, 2024

Have a client on the same machine as the scheduler? Have the client process read from the redis queue and take whatever action you deem appropriate?

Honestly I'm not sure how much help I can be here without diving into your particular problem more deeply (which is probably not likely to occur).

If you have more particular questions about how things work or thoughts on what features you would need then please let me know .

from streamz.

kszucs avatar kszucs commented on May 27, 2024

The part I'm least aware of is the progress monitoring:

  • How can I subscribe to futures prefixed by a key?
  • Should I instantiate a scheduler plugin (like progressbar) per task submission, or per client?
  • Should I prefer long living Clients?
  • How can I nicely handle (non-critical) task failures? (the frameworks mentioned above put the failed tasks to a separate queue) - a minimal error handling would be nice in streams.

Actually I would like to use redis as a resilient/persistent layer just before distributed if the scheduler dies, network error etc.

from streamz.

mrocklin avatar mrocklin commented on May 27, 2024
  • If you're looking for a cross-client subscription mechanism then maybe use channels? There are more opportunities for cross-client communication; channels aren't perfect but they can often get the job done. Of course if you can solve your problem without multiple clients then this is probably better.
  • I tend to create a single scheduler plugin. I haven't yet found an application where I needed to create one per client. You may have something else in mind though.
  • Starting a client does take some milliseconds. I guess that this would depend on your performance needs.
  • Yeah, I agree that streams should handle error handling and possibly stop signals. This is on a TODO list somewhere :)

from streamz.

mrocklin avatar mrocklin commented on May 27, 2024

How do you think streams should handle exceptions?

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.