Scrivio Interview library
LeadershipPrincipal6 min read · updated 13 November 2026

The company's webhook system grew to be its main integration channel, but large customers complain about missed events and firewall rules, and smaller ones cannot run public endpoints at all. Product asks what the integration strategy should be for the next five years.

As the senior technical leader, how do you decide between webhooks, polling or event feed APIs, and managed event streaming offered to customers?

Each channel suits a different customer: webhooks are simple for customers with public endpoints and modest volume but put reliability on both sides and fail behind firewalls; a pull-based event feed with cursors lets customers read at their own pace and recover after outages, and pairs well with signal-only webhooks; delivery into the customer's own cloud event bus or a managed stream suits high-volume customers but adds per-provider integrations to maintain. The strategy is one internal event backbone with each channel as an adapter on it, and the order in which channels are offered is decided from customer segments and data.

Why this question is asked

Integration channels last a long time. Once customers build against a webhook or a feed, they expect it to work for years, so a five-year strategy question is really about which commitments we are willing to keep. The symptoms in this scenario, large customers missing events and fighting firewall rules, small customers unable to run endpoints at all, show that a single push channel cannot serve every segment. Interviewers ask this to see how a senior leader frames trade-offs, avoids building several disconnected systems, and decides with evidence. In this answer, we will look at what each channel costs and gives, why one backbone with adapters matters, and how to turn customer data into a roadmap.

1What Webhooks Do Well, and Where They Strain

Webhooks are the lowest barrier for a customer with a public HTTPS endpoint: register a URL, receive events within seconds, no polling code. That is why they became the main channel. But push delivery splits reliability across two organisations. If the customer's endpoint is down, slow or misconfigured, events pile up on our side, and the customer depends on our retry schedule and replay tools to recover. Large customers with strict networks must open firewall rules for our IPs and expose an inbound endpoint, which their security teams resist. Small customers, a two-person agency or a team using no-code tools, often have no server that can receive requests at all.

So the complaints are not bugs to fix inside the webhook system; they are signs of the limits of push delivery for those segments.

2Pull-Based Event Feeds

An event feed API turns the direction around. The customer calls GET /events?cursor=... and receives events after its cursor, in order, with a next cursor. Nothing needs to be exposed inbound, so firewalls are not a problem: outbound HTTPS is allowed almost everywhere. The customer reads at its own pace, and after an outage on its side it simply continues from its last cursor, within the retention window, without opening a support ticket or calling a replay API. Small customers can poll from a scheduled job or a no-code tool.

The weakness of pure polling is latency and wasted calls. Feeds therefore pair well with signal-only webhooks: a lightweight notification that says 'new events are available', after which the customer reads the feed. A lost signal costs only a delay, because the next poll catches up, which makes the combination far more forgiving than webhooks that carry the data.

3Delivery Into the Customer's Own Infrastructure

The largest customers often want events in systems they already operate: Amazon EventBridge, Google Pub/Sub, Azure Event Grid or Service Bus, or a Kafka cluster. Several SaaS companies offer delivery as a partner event source on such buses, or a managed streaming offering where the customer consumes a topic. This removes HTTP endpoints from the picture entirely and gives customers the throughput and replay features of their own platform.

The cost is on our side: each target is a separate integration with its own authentication model, limits and failure modes, which someone must build, monitor and keep up to date for years. It is worth it for a segment that brings significant revenue, not as the default for everyone.

Comparing integration channels
ChannelBest forStrengthsCosts
Webhooks (push)public endpoint, low to medium volumesimple, near real timeboth sides own reliability; firewalls
Event feed (pull) + signalfirewalled or small customersown pace, self-service recoverypolling code, retention to operate
Customer cloud bus or managed streamhigh-volume enterpriseno endpoints, native toolingone integration per provider to maintain

4One Backbone, Many Adapters

The biggest risk in this strategy is building three separate systems that each have their own idea of what happened. Then a customer sees an event in the webhook log but not in the feed, and support has to decide which one is right.

So the core decision is architectural: one internal event backbone, a durable, ordered log of public events per tenant with stable ids and schema versions, fed by the services through outboxes. Every channel is an adapter that reads from that backbone: the webhook dispatcher, the feed API (which is almost a direct view of the log), and the cloud bus connectors. Adding a channel then means writing an adapter, not a new source of truth. Retention, replay, schemas and event ids are defined once, and a customer who moves from webhooks to the feed keeps the same event ids and can continue where they were.

Step throughEvent backbone with channel adapters
  1. Domain servicespublish public events through outboxes
  2. Event backboneper-tenant ordered log, stable ids, schema versions, retention
  3. Webhook adapterpush, retries, signed, signal-only option
  4. Feed API adapterGET /events?cursor=..., read from the log
  5. Cloud bus adaptersEventBridge, Pub/Sub, Event Grid, Kafka
  6. Customerschoose a channel, same events and ids everywhere

6 layers, from the top down. Step through them one at a time.

5Deciding With Segments and Data

Which channels to build, and in what order, should come from evidence rather than from the loudest customer. We segment customers by size, volume of events, network constraints and revenue, and look at the data: delivery failure rates and missed-event incidents per segment, support tickets about webhooks, firewall and replay, deals lost or delayed because a customer could not receive webhooks, and the revenue of customers asking for each channel.

A likely outcome is a sequence. First, build the backbone and the feed API with signal webhooks, because they fix the firewall and recovery problems for most customers and are cheap once the backbone exists. Second, add one or two cloud bus adapters for the provider most of the largest customers use. Keep webhooks as the default for everyone else, improved with the backbone's replay. We set measurable goals, such as missed-event tickets per thousand customers, and review the plan each year, because the five-year horizon will change.

Step throughHow to decide the channel roadmap
  1. Segment customerssize, volume, network constraints, revenue
  2. Measure pain per segmentfailure rates, tickets, lost deals
  3. Build the backbone firstone source of truth for every channel
  4. Feed + signal webhooks next?
    YesShip for firewalled and small customersNoRevisit with new data
  5. Add cloud bus adapters by revenueone provider at a time
  6. Review yearly against goalsmissed-event tickets, adoption per channel

6 steps in order. Play them, or step through them one at a time.

6Follow-up questions

How do you migrate existing webhook customers to the backbone?

Run the existing webhook system as an adapter on the new backbone, behind the same URLs, secrets and payload formats, so customers notice nothing except better replay. Migrate tenants gradually, compare deliveries from the old and new paths in shadow mode for a while, and only then retire the old dispatcher. Changing the internals should never force customers to change their integrations.

Would you ever deprecate webhooks?

Unlikely within five years: they remain the simplest option for a large group of customers and the ecosystem expects them. What changes is that they become one adapter among several, and for high-volume or firewalled customers we steer them to the feed or their cloud bus.

7Conclusion

In this answer, we compared webhooks, which are simple but split reliability across both sides and fail behind firewalls, with pull-based event feeds that let customers read at their own pace and recover alone, and with delivery into customers' cloud buses or managed streams for high volume. We built one internal event backbone with each channel as an adapter, and chose the order of channels from customer segments, failure data, tickets and revenue.

What to say in the interviewAbout 90 seconds aloud

Open with

I would start by recognising that the complaints are the limits of push delivery, not bugs. Webhooks are great for customers with a public endpoint and moderate volume: simple and near real time.

Then, if they want more

But reliability is split across both sides, firewalled enterprises struggle to accept inbound calls, and small customers often have nowhere to receive them. A pull-based event feed with cursors fixes much of that: customers call out, which firewalls allow, read at their own pace, and after an outage just continue from their cursor without asking us for a replay.

Paired with signal-only webhooks, it is both timely and forgiving. For the biggest, high-volume customers, delivering into their own cloud event bus, EventBridge or Pub/Sub for example, or a managed stream, removes endpoints entirely, but each provider is an integration we maintain for years, so it is for segments that justify it.

The most important decision is architectural: one internal event backbone, a per-tenant ordered log with stable ids and schema versions, and every channel is an adapter on it. That way a new channel never becomes a new source of truth, and customers can switch channels with the same event ids.

Then I decide the order with data: segment customers, measure failure rates, tickets and lost deals per segment, and weigh the revenue behind each request. Likely the feed comes first, then one or two cloud bus adapters.

About this answer

Last updated
13 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "As the senior technical leader, how do you decide between webhooks, polling or event...": https://scrivio-interview-library.netlify.app/architecture/api-design-at-scale/7f46715030/