Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vivekananda_session4_4VP20CS069_Rahul #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rahul-H-Raj
Copy link

No description provided.

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myworld.settings')

app = Celery('myworld')

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rahul-H-Raj can you give me usecases of celery?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anushds Some of the use cases of Celery are:

  • Task scheduling and execution: Celery can be used to schedule tasks to run at specific times or on recurring schedules. This is useful for automating periodic tasks like data backups, database maintenance, and regular data updates
  • Parallel Processing: It can be used to distribute tasks across multiple worker nodes so that it is beneficial for tasks that can be parallelized, such as web scraping, data processing, and rendering
  • Scalability for handling large workloads: Celery makes it easier to scale by adding more worker nodes to handle increasing tasks.
  • Performing long-running tasks: Celery can be used to perform long-running tasks, such as processing large datasets or generating reports, in the background.
  • Real-time Data Processing: Celery can be used for real-time data processing, such as handling live data streams, event processing, and real-time analytics. It can process data as it arrives, making it valuable in scenarios like monitoring and reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants