I\'m curious how they get new messages in real-time from restful backend server.
do they check the database changes? or are there something help these operations?