News for hackers. Stuff that matters.
Re:Show HN: Heartbeat – Transform REST Endpoints to Streamin... by xg15 on Wednesday August 03, 2016 @05:28PM (#12221665)
I wonder though, doesn't SSE technically violate a lot of HTTP's assumptions? From the point of view of a HTTP middlebox, a SSE response would basically be a single endless entity, transmitted at a very low bandwidth. I'm no expert at real-world deployment of SSE, but that they sounds to me like it could break a lot of proxies that don't have special handling for SSE. (Or at least cause unnecessary resource consumption for those proxies)

Also I wonder why there are not more websocket-based APIs. WS has the same widespread support and ready-made debug tools as HTTP and seemed to be designed exactly for push or non request/response use cases. So, out of couriosity, why would SSE be prepared over WS?

Re:Show HN: Heartbeat – Transform REST Endpoints to Streamin... by nitrogen on Wednesday August 03, 2016 @10:54PM (#12223075)
It looks like you accidentally duplicated your comment when you changed "prepared" to "preferred".
Re:Show HN: Heartbeat – Transform REST Endpoints to Streamin... by xg15 on Friday August 05, 2016 @06:18PM (#12236085)
I'm sorry. That was my attempt at "editing" the post after the noprocrast mode kicked in - before an unintelligible post would sit there for ~3 hours...

If any mods could delete this, I'd be grateful.