Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sk5t
on July 13, 2021
|
parent
|
context
|
favorite
| on:
Give me /events, not webhooks
If the webhook events are coming at some sort of a brisk pace, the sender well may be able to reuse an already-open connection. And if they're rather infrequent, is the efficiency or latency likely to be a significant concern?
lmm
on July 14, 2021
[–]
Yes, it is - latency-sensitive but infrequent events are an extremely common use case.
sk5t
on July 14, 2021
|
parent
[–]
In the general sense, yes, but your assertion rings false in my opinion when the situation presents only a choice between webhook or long polling.
lmm
on July 14, 2021
|
root
|
parent
[–]
I don't understand your statement? Rare but latency-sensitive events are a very common use case for webhooks or long polling.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: