Select APScheduler as time policy manager Select Ray as logic node to execute workload The call from fastapi or apscheduler to ray cluster is asynchronous, so all the communication is reactive, no blocking status exists Description To demostrating how to use fastapi and apscheduler Requirements previde API to get CPU rate, and get it If you are looking for a quick but scalable way to get a scheduling service up and running for a task, APScheduler might just be the trick APScheduler provides very powerful scheduling functionality natively;
Apscheduler实现定时任务 Mobf08d的技术博客 51cto博客