sending realtime notifications now on a change in db

How to show notification animations(by a fifo queue?)