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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -