Laravel Inbox Pattern - ShipSaaS
GitHubShipSaaS
  • Laravel Inbox Pattern - ShipSaaS
  • Installation
  • Usage
    • Glossary
    • Configuration
    • Receive Webhook Requests
    • Inbox Processor / Handler
    • Run The Inbox Process
  • Use cases for Inbox
  • Architechture Notes
  • Best Practices
  • Database Info
Powered by GitBook
On this page
  • Use Inbox Process when
  • Avoid using the Inbox Process when

Use cases for Inbox

When to and When not to use Inbox Process

Use Inbox Process when

  • You care about data integrity.

  • Receiving & processing your webhook requests uniquely/exactly-once.

  • Receiving & processing your webhook requests in ORDER.

  • Your 3rd-party service doesn't want specific responses, simply 200 OK is enough

    • e.g.: you have to run some biz logic and then return the response.

Avoid using the Inbox Process when

  • You don't care about the ordering of the webhook requests, it can be YOLO-ordering 😌.

  • You have to do some biz logic and then specific responses to your 3rd-party service.

    • For this, you might need to implement your own Idempotency layer.

  • You want high throughput (use Queue for that)

PreviousRun The Inbox ProcessNextArchitechture Notes

Last updated 1 year ago