Giter Site home page Giter Site logo

Comments (7)

sanderegg avatar sanderegg commented on July 27, 2024

are you implementing Celery?

from osparc-simcore.

GitHK avatar GitHK commented on July 27, 2024

are you implementing Celery?

Not at all.

I have evaluated celery and scheduler. None were sufficient for this application.
I have to build a lightweight scheduler with the requirements mentioned above.

from osparc-simcore.

bisgaard-itis avatar bisgaard-itis commented on July 27, 2024

are you implementing Celery?

Not at all.

I have evaluated celery and scheduler. None were sufficient for this application. I have to build a lightweight scheduler with the requirements mentioned above.

Very interesting! But it also looks like quite a mouthful! Would it not be possible to build this on top of Celery or some other tool supported by a large community?

from osparc-simcore.

sanderegg avatar sanderegg commented on July 27, 2024

I do agree with @bisgaard-itis on this. if possible using an already well tested tool and build on top is a better option I think than creating everything from scratch.

from osparc-simcore.

GitHK avatar GitHK commented on July 27, 2024

@bisgaard-itis @sanderegg
I would like to use a pre baked solution.

My main difficulty here is that, while the service is running I need to do the following:

  • schedule a new async handler
  • modify the schedule period of an existing async handler
  • remove and an async handler

With celery is a bit complex to do so. It's a bit more statically configured.
I will have to implement the trie logic for scheduling and the only advantage I would get is run an event after "x" seconds done by celery. I can already have that with RabbitMQ with much, much less complexity.
And as a final argument against celery, it does not play nice with async.

Any other suggestions that I can investigate are welcomed.

from osparc-simcore.

matusdrobuliak66 avatar matusdrobuliak66 commented on July 27, 2024

@bisgaard-itis @sanderegg I would like to use a pre baked solution.

My main difficulty here is that, while the service is running I need to do the following:

  • schedule a new async handler
  • modify the schedule period of an existing async handler
  • remove and an async handler

With celery is a bit complex to do so. It's a bit more statically configured. I will have to implement the trie logic for scheduling and the only advantage I would get is run an event after "x" seconds done by celery. I can already have that with RabbitMQ with much, much less complexity. And as a final argument against celery, it does not play nice with async.

Any other suggestions that I can investigate are welcomed.

Maybe check https://pypi.org/project/aio-celery/ whether it would be useful?

from osparc-simcore.

GitHK avatar GitHK commented on July 27, 2024

@bisgaard-itis @sanderegg I would like to use a pre baked solution.
My main difficulty here is that, while the service is running I need to do the following:

  • schedule a new async handler
  • modify the schedule period of an existing async handler
  • remove and an async handler

With celery is a bit complex to do so. It's a bit more statically configured. I will have to implement the trie logic for scheduling and the only advantage I would get is run an event after "x" seconds done by celery. I can already have that with RabbitMQ with much, much less complexity. And as a final argument against celery, it does not play nice with async.
Any other suggestions that I can investigate are welcomed.

Maybe check https://pypi.org/project/aio-celery/ whether it would be useful?

Being able to use async is just a minor detail.
I already said that I have discarded celery. It is not suited for this application. I'm searching for something that can fit to the requirements and celery is not it.

from osparc-simcore.

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.