Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8468937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:05:15+00:00 2026-06-10T16:05:15+00:00

I have a flask app, I am using celery as a task queue. I

  • 0

I have a flask app, I am using celery as a task queue. I have a development version working well through a small script that looks like this:

from celery import Celery
from settings import REDIS_URL as redis_url

from tasks import *

celery = Celery('my_tasks',
                broker = redis_url,
                backend = redis_url )

if __name__ == "__main__":
    celery.start()

which has worked well for development purposes, but now I’ve started looking into whether to improve this for deployment, and started reading about celeryd, etc.

The simplest question to start with if the above is just for testing & development and how to make the move to using celery in a production environment. I’m integrating several flask apps as well into a larger application, each with their own script similar to the above. How to refine celery for this isn’t quite clear at the moment and I’d be interested in input from others who have deployed celery with flask in a production environment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T16:05:17+00:00Added an answer on June 10, 2026 at 4:05 pm

    I think you need a proper demonization of this script, there is nice documentation about this on the official doc website: http://celery.github.com/celery/cookbook/daemonizing.html

    I really recommend you to have a look at Supervisor for this job (demonize a script like yours takes not more than 5 minutes).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a small webapp using the flask framework that involves plotting using
I have been developing an app using the very easy-to-pickup Flask system and I
I'm currently working on a project using Flask and Google App Engine . Calling
I'm writing a web-app using flask, python and HTML. My issue is that the
I have a simple Flask app that contains a few basic views. One of
I am using Flask, WTForms and Backbone.js to create my app. I am working
I am working on a web development project using flask and sqlalchemy orm. My
I have a flash app using the flex framework - I would like to
In my Flask app, I have a view which displays a post @post_blueprint.route('/post/<int:year>/<int:month>/<title>') def
I have a flash app that plays movies. It loads subtitles and subtitle times

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.