Skip to content

Comments

Vivekananda_session4_4VP20CS069_Rahul#4

Open
Rahul-H-Raj wants to merge 1 commit intoUniCourt:mainfrom
Rahul-H-Raj:main
Open

Vivekananda_session4_4VP20CS069_Rahul#4
Rahul-H-Raj wants to merge 1 commit intoUniCourt:mainfrom
Rahul-H-Raj:main

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