vert.x
vert.x copied to clipboard
Conflation of messages on EventBus
Optional conflation of messages on the event bus would be very useful.
Many pub-sub type applications are only interested in the latest available value. If a piece of data is still waiting to be sent to a client who has registered to an address, and this value is subsequently updated, then this value could be replaced before it is sent to the client.
This would be very useful for applications where data changes frequently, and clients might be slow at consuming the data (e.g. an online stock market application). Again, this can help reduce bandwidth consumption and result in faster updates to clients.