Content Deep Dive
Queue Wait Time Notifications with Nexmo and Laravel Horizon
Blog post from Vonage
Post Details
Company
Date Published
Author
Taylor Otwell
Word Count
658
Language
English
Hacker News Points
-
Summary
To address computationally expensive tasks in web applications, Laravel framework uses a job queue system with built-in support for queued jobs and workers to process them later, utilizing Redis as a datastore. However, traffic spikes can cause jobs to accumulate in the queue if not enough workers are assigned. To mitigate this, a threshold is set to send an SMS notification when the queue wait time exceeds a specified limit using Nexmo's event-based services, allowing developers to quickly increase worker capacity and resolve issues.