-
Notifications
You must be signed in to change notification settings - Fork 1
AMQP
OASIS AMQP (RabbitMQ et. al.) provides a two way channel for events which includes buffering and multiple connections to increase throughput.
As with Server-sent events, only the <item>
from the <response>
is required to be sent in the message, as AMQP makes the explicit paging redundant.
For very high volumes, this allows the server to send multiple pages in parallel, as it can calculate the "afterTimestamp" and "afterId" parameter and control the send. The client can also process these in parallel (particularly useful in the case of shared or No-SQL data stores, with scaling queue processors), using the timestamp of each record to ensure records are only updated with newer data. However this requires additional infrastructure and the use of certificates (more complex to configure than HTTPS).