Reduce event/listener payload
Draft Disclaimer: Please note that this article is currently in draft form and may undergo revisions before final publication. The content, including information, opinions, and recommendations, is subject to change and may not represent the final version. We appreciate your understanding and patience as we work to refine and improve the quality of this article. Your feedback is valuable in shaping the final release.
Language Mismatch Disclaimer: Please be aware that the language of this article may not match the language settings of your browser or device.
Do you want to read articles in English instead ?
Reduce event/listener payload
- event, listener or job should receive small payload - big payload can fail on SQS or Pusher - serialization and deserialization can be costly - use model id instead of passing the whole eloquent model - less space used on job table