Firebase - Request only new data using the Streaming API in Ruby or Python -
i've posted in firebase's google group haven't received answer thought try here.
let me outline current scenario
- i have global messages bucket stores messages room. path messages/room_1/ store prioritized list of messages room 1.
- i want stream latest messages rooms can send push notifications offline users. want listen /messages path ruby or python backed server , send notifications offline users.
my problem when start listening /messages path entire set of data, can millions of messages. after initial bulk load, new incoming messages in real time. there way skip initial bulk load of data , new messages start of streaming connection?
fyi, i'm using examples page: https://www.firebase.com/blog/2014-03-24-streaming-for-firebase-rest-api.html
Comments
Post a Comment