I would not consider any of these strategies to be a form of backpressure. Backpressure negotiates a data bandwidth that the receiver is comfortable with. None of those strategies you presented will reduce the bandwidth at which the server sends events.
It could still overwhelm you, especially if you use buffering or window...
There needs to be some kind of communication back to the sender. One simple approach is to just use polling/pulling instead of having the server push events.
Of course, even there, either the server has to wait or potentially buffer "past" data for a potentially very long time (as for example Kafka does).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I would not consider any of these strategies to be a form of backpressure. Backpressure negotiates a data bandwidth that the receiver is comfortable with. None of those strategies you presented will reduce the bandwidth at which the server sends events.
It could still overwhelm you, especially if you use buffering or window...
There needs to be some kind of communication back to the sender. One simple approach is to just use polling/pulling instead of having the server push events.
Of course, even there, either the server has to wait or potentially buffer "past" data for a potentially very long time (as for example Kafka does).