I am building a Multi-Tenant web application using Laravel/PHP that will be hosted on AWS as SaaS at the end. I have around 15-20 different background jobs that need scheduling for each tenant. The jobs need to be fired every 5 minutes as well. Thus the number of jobs which need to be fired for 100 tenants would be around 2000. I am left with 2 challenges in achieving this
- Is there a cloud solution that distributes and manages the load of the scheduled jobs automatically?
- If one is out there, how can we create those 15+ scheduled jobs on the fly? Is there an API available?
Looking for your assistance
from Creating scheduled jobs in a Multi-Tenant application
No comments:
Post a Comment