News for hackers. Stuff that matters.
Re:Show HN: Hackjob.io – HN job listings done a bit better by tlarkworthy on Saturday July 04, 2015 @03:00PM (#9831226)
Firebase dev here, the websocket API would be much faster (less HTTP overhead and connection negotiation) and has the potential for more concurrent requests.

replace lots of these:

  return $http.get('https://hacker-news.firebaseio.com/v0/user/'+name+' + '/.json');
with

  return $q(function(resolve, reject){
    new Firebase('https://hackernews.firebaseio.com/v0/user/').child(name).on('value', function(snap) {
      resolve(snap.val());
    }, /*error handler here too*/)
  })


  https://www.firebase.com/blog/2014-10-07-hacker-news-api-is-firebase.html

  https://docs.angularjs.org/api/ng/service/$q

(yes the HN API design is a little funky though, but you can definitely improve the loading times with websockets)
Re:Show HN: Hackjob.io – HN job listings done a bit better by dvt on Saturday July 04, 2015 @04:05PM (#9831428)
Hey that IS awesome. I had no idea Firebase had a websocket API. Sweet!
Re:Show HN: Hackjob.io – HN job listings done a bit better by tlarkworthy on Sunday July 05, 2015 @05:05PM (#9834967)
send us a message at https://groups.google.com/forum/#!forum/firebase-talk if you have any problems.

The websocket API is the main selling point of Firebase, but I guess you were not actively looking to use Firebase in a product, rather, it was a necessity from HN API. Good luck! Don't hesitate to contact us.