Giter Club home page Giter Club logo

Comments (5)

zoidbergwill avatar zoidbergwill commented on May 28, 2024

Have you tried using a custom worker and seen if it improves performance?

from django-rq.

 avatar commented on May 28, 2024

Not sure if I came across custom workers, but pretty sure I haven't tried.

from django-rq.

zoidbergwill avatar zoidbergwill commented on May 28, 2024

Sorry, I used the wrong terminology.

The Performance notes that you linked to suggest a custom rqworker script, that is supposed to improve performance by preloading imports, so maybe setting up the django environment once.

I'm considering trying it since I have the same problem you're experiencing.

from django-rq.

jorgecarleitao avatar jorgecarleitao commented on May 28, 2024

I believe yes, django-rq is setting its env every call, like rq. You can easily test it by having a print('Hello') in settings.py. If print is being called after each job, then you have your answer.

I'm not sure this is an issue of django-rq though. As pointed out in rq docs that you link, it was a design decision to avoid memory leaks. Django-rq is backing it.

from django-rq.

satyrius avatar satyrius commented on May 28, 2024

@jorgecarleitao print will be once btw

from django-rq.

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.