File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
docs/9. Task Scheduling and Queues: Celery, APScheduler, and Beyond Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,21 @@ It's also notable that I've inspired and borrowed so much from
89
89
[ Daksh Gupta's tutorial on Celery] ( https://www.youtube.com/watch?v=v-Snbz3WmJU ) .
90
90
91
91
## Lightweight Scheduling with APScheduler
92
-
93
-
94
-
92
+ APScheduler is a relatively simple scheduler library for Python.
93
+ It provides Cron-style scheduling and some interval based scheduling.
94
+
95
+ As the [ APScheduler official document] ( https://apscheduler.readthedocs.io/en/3.x/ ) states,
96
+ APScheduler has four compnents:
97
+ - 1 . Trigger: Used to determine when to run the task and has three types:
98
+ - a. Date
99
+ - b. Interval
100
+ - b. Cron
101
+ - 2 . Job Store: Saves the scheduled jobs in memory or database.
102
+ - 3 . Executor: Handles running of the jobs, using thread or process pool.
103
+ - 4 . Scheduler: Binds all things together and helps with configuring the job stores and executors.
104
+
105
+ [ This link] ( https://rocketry.readthedocs.io/en/stable/rocketry_vs_alternatives.html ) is a very useful
106
+ comparison between different scheduling tools provided in Rocketry document that worth paying attention.
95
107
96
108
97
109
## Choosing Between Celery, APScheduler, and Alternatives
You can’t perform that action at this time.
0 commit comments