antonioribeiro / health

Laravel Health Panel
BSD 3-Clause "New" or "Revised" License
1.95k stars 197 forks source link

Needs less invasive method to check queues with custom properties (e.g. long-polling) #137

Open worldofswift opened 5 years ago

worldofswift commented 5 years ago

Given the case:

  1. SQS queue with long-polling (just a little-modified default driver with additional parameter)
  2. This checker slows down its own execution because it needs to write and extract job which is not the desired behaviour, which in long polling have some worst ranges for this idea.
  3. Also, I get Return-Path: <health@example.com> in my debug log.

At all, pushing and pulling an actual job to and from the queue is not a good solution because of its invasive behaviour. Maybe a good solution is to use underlined drivers to check the ability to write and read queue, not performing actual actions.