Stack Matrix Hub (8)
Split-Order Stripe Connect & Payout Webhook Concurrency
Size PHP workers and MariaDB transaction locks for multi-seller split payments and instant payout webhooks.
4x sub-order hooks · trx_commit=2 · Zero timeout
Sub-Order Fanout on Multi-Seller Carts
A single buyer payment intent triggers split transfers to multiple vendor Stripe Express accounts, followed by asynchronous charge.succeeded and transfer.created webhooks hitting wp-json/wc-stripe/v1/webhook.
Fast Commit Durability Without Disk Stalls
Setting innodb_flush_log_at_trx_commit = 2 in my.cnf writes transaction logs to OS cache and flushes once per second, cutting multi-order checkout commit latency by 4x on NVMe VPS nodes.
Measured Thresholds & Configuration
| Sellers in Cart | DB Orders Created | Webhook Burst | MariaDB Flush Setting |
|---|---|---|---|
| 1 Seller | 1 Order | 2 webhooks | trx_commit = 1 or 2 |
| 3 Sellers | 1 Parent + 3 Sub | 5 webhooks | trx_commit = 2 |
| 6+ Sellers | 1 Parent + 6 Sub | 8+ webhooks | trx_commit = 2 + Async Queue |