Async Jobs
Process background tasks efficiently using message queues and notifications. Perfect for batch processing, image processing, and other async workloads.
The boilerplate includes a complete async job processing system built with AWS SQS and SNS. This setup helps you easily implement background tasks in your SaaS application.
What's Included
The async jobs demo provides:
- Job queue management with AWS SQS
- Storing jobs in the database
- Subscribing to events using AWS SNS
How It Works
- Job Creation
- Jobs are created and stored in the database
- Messages are automatically pushed to SQS queue
- UI provides immediate feedback
- Queue Processing
- SQS processes messages in batches
- Up to 10 jobs processed every 5 seconds
- Automatic retry handling for failed jobs
- Notifications
- SNS topics triggered on job completion
- Notifications stored in database
Need Help?
- Check out the AWS SQS Documentation for queue configuration
- Check out the AWS SNS Documentation
- Join our Discord Community for implementation support
- See the demo implementation in the codebase
See It in Action
Want to see it in action? Create an account and head over to the Async Jobs section of the dashboard right on this site.