spatie/laravel-dynamic-servers
Dynamically spin up and destroy servers from Laravel to handle variable queue workloads. Uses provider snapshots as templates and lets you determine server count (e.g., based on Horizon wait times) so extra workers are created automatically and removed when no longer needed.
We will send out these events. They all have a $server property that has all info on the relevant server the event is fired for. They all live in the Spatie\DynamicServers\Events namespace
CreatingServerEvent: a new server is being created at the hosting providerServerRunningEvent: a server has been fully startedStoppingServerEvent: a server is stopping at the hosting providerServerStoppedEvent: a server has been stoppedDeletingServerEvent: a server is being deleted at the hosting providerServerDeletedEvent: a server has been deleted at the hosting providerRebootingServerEvent: a server is being rebooted at the hosting providerServerErroredEvent: while calling the server provider API, we encountered an error. The error is saved in the exception attributes of a $serverServerHangingEvent: a server has been marked as hangingServerLimitHit: we could not create an extra server because of the limit set.How can I help you explore Laravel packages today?