Currently, messaging webhooks go to a redis list from a PHP script, then a ruby process fetches from the Redis list and POSTs to the SGX. This is complex and failure prone, and has been the biggest cause of SGX downtime in the past.
Since Bandwidth does retry webhooks, and since the SGX is very stable (being quite simple, rarely changing, and in practise having downtime caused almost solely by the current mechanism), the most obvious choice would be to have the SGX process the webhooks directly.
The downside there is that since it is not clear Bandwidth will give us consistent access to content logs, we would lose the ability to do manual re-sends for customers who do occasionally request them. So a quickly-rotating durable log seems useful still. Perhaps a Redis stream that is auto-expired on a short timescale. SGX could emit to this stream so it is durable, but not rely on it on the critical path for consumption.