Very high latency with getstream.io -
i using official low level node.js api(https://github.com/getstream/stream-js). every request delays between 800ms , 1300ms. tough located in argentina , using free plan know not normal. app in region us-east, here little snippet of code:
function getfeed(userid, lang, lastid){ logger.error("get user feed for: " + userid + ", lang: " + lang); userfeed = client.feed('timeline', lang+userid); var restrictions = [{limit:10}]; if(lastid) restrictions.push({id_lt: lastid}); return userfeed.get(restrictions); //returns promise }
Comments
Post a Comment