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

  1. i have global messages bucket stores messages room. path messages/room_1/ store prioritized list of messages room 1.
  2. 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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -