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)

Last updated