w3c / wot-profile

Web of Things (WoT) Profile
http://w3c.github.io/wot-profile/
Other
16 stars 8 forks source link

Batched Event Payloads #377

Open benfrancis opened 1 year ago

benfrancis commented 1 year ago

Currently in the HTTP Webhook Profile every event must be sent in a separate HTTP request. For very frequent events or property readings (e.g. a temperature value that changes every second or less) this could quickly overwhelm a Consumer.

One mitigation to this problem could be to batch multiple events or property readings into a single event payload. This could be as simple as wrapping the event payload format in an array to include multiple events in the same payload.