[{"data":1,"prerenderedAt":299},["ShallowReactive",2],{"project-9546201":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":5,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":42,"post_text":44,"what":45,"said":62,"maker_in_thread":150,"shape":160,"grid":165,"attempts":261,"same_week":262,"maker_shows":151,"maker_hidden":292,"reader_version":293,"card":294},"9546201","sse.getgin.io","Realtime Server-Sent Events in Go","title","Show HN: Realtime Server-Sent Events in Go","http:\u002F\u002Fsse.getgin.io","manucorporat",1431623199,2015,118,37,204,2565,8,"notable","languages","server-sent events library","web_app",[23,24,25,26,27],"server-sent events","go","gin","realtime","chat","mixed",-0.14,{"positive":31,"neutral":32,"mixed":33,"critical":32},3,7,2,19,{"performance":36,"execution":39,"design":40,"idea":41},{"positive":37,"critical":38},0,1,{"positive":38,"critical":31},{"positive":33,"critical":37},{"positive":37,"critical":33},[31,37,37,37,37,37,31,43,37,31,37,37,31,37,31,31,37,38,43,38,37,37,37,31,38,31,38,37,37,37,38,31,37,38,37,38,43],5,null,{"problem":44,"audience":44,"pricing":44,"motivation":44,"time_to_build":44,"stack":46,"openness":60,"stage":61,"team_size":60},[47,56],{"value":48,"source":49,"evidence":50},"Go","maker",[51,53],{"id":52},"post",{"id":54,"by":10,"text":55},"9546908","IP blocking running. It is a Gin middleware for rate limiting.",{"value":57,"source":49,"evidence":58},"Gin",[59],{"id":54,"by":10,"text":55},"unknown","launched",{"praise":63,"objections":87,"requests":109,"questions":117,"alternatives":128},[64,80],{"value":65,"source":66,"evidence":67},"Clean, simple, effective demo","commenter",[68,72,76],{"id":69,"by":70,"text":71},"9547864","late2part","This is beautifully done, and simple and effective. Great demo page!!",{"id":73,"by":74,"text":75},"9547052","ohitsdom","Awesome demo, although the troll comments are obnoxious. But I guess they're doing their part in showing off the \"realtime\" nature of the demo.",{"id":77,"by":78,"text":79},"9546881","fweespeech","SSE is awesome...except for the fact that IE has 0% support and is too popular to ignore. It is a very pretty demo tho, well done :)",{"value":81,"source":66,"evidence":82},"Go net\u002Fhttp makes SSE implementations simple",[83],{"id":84,"by":85,"text":86},"9546564","wyc","Cool! I love net\u002Fhttp. Below is my stab from a while ago. It's more of an example than a library.…",[88,98,105],{"value":89,"source":66,"evidence":90},"Websockets better suited for bidirectional chat",[91,95],{"id":92,"by":93,"text":94},"9546744","andrewstuart2","SSE is awesome, and Gin seems to have a nice implementation. I definitely like the usage for realtime streaming stats since that's a one-way stream. Chat, however, would be…",{"id":96,"by":93,"text":97},"9547801","It's not so much latency to me. It's the waste. There's both extra latency and extra byte overhead. It's a trivial implementation difference (in all the frameworks I'm familiar…",{"value":99,"source":66,"evidence":100},"Browsers limit SSE connections per host",[101],{"id":102,"by":103,"text":104},"9547298","bjt","Both Chrome and Firefox limit you to 6 simultaneous http connections to the same host. Try opening this app in 7 separate tabs, and you'll see the 7th one just spin and not even…",{"value":106,"source":66,"evidence":107},"Internet Explorer lacks SSE support",[108],{"id":77,"by":78,"text":79},[110],{"value":111,"source":66,"evidence":112},"Better word than realtime",[113],{"id":114,"by":115,"text":116},"9548039","JustSomeNobody","Cool and all, but I really wish there was a better word than \"realtime\". I dislike when we hijack a word that already has a meaningful use.",[118],{"value":119,"source":66,"evidence":120},"How many simultaneous SSE connections can a server hold",[121,125],{"id":122,"by":123,"text":124},"9547071","tunesmith","I'm curious what the bounds are on the client-side use case. For instance, machines can handle tons of simultaneous http connections, but it's easier to reach that limit if you…",{"id":126,"by":123,"text":127},"9547252","I'm more wondering about the number of open HTTP connections that a server can support. Googling around, I see mentions of 64,000 for vanilla servers, perhaps millions depending…",[129,136,143],{"value":130,"source":66,"evidence":131},"Websockets",[132,133],{"id":92,"by":93,"text":94},{"id":134,"by":78,"text":135},"9547403","That looks like a very high quality shim, so that is good. However, why would I want to use a shim over websockets? http:\u002F\u002Fcaniuse.com\u002F#feat=websockets",{"value":137,"source":66,"evidence":138},"eventsource Go library",[139],{"id":140,"by":141,"text":142},"9546846","jweir","If you are interested `eventsource` is a Server-sent event library that ties into the Go std http library. https:\u002F\u002Fgithub.com\u002Fantage\u002Feventsource",{"value":144,"source":66,"evidence":145},"Yaffle EventSource shim",[146],{"id":147,"by":148,"text":149},"9546893","qubyte","SSE is easy to shim! We use: https:\u002F\u002Fgithub.com\u002FYaffle\u002FEventSource\u002F",{"comments":151,"answered":38,"key":152},4,[153,156,157],{"id":154,"text":155},"9546545","it uses a 2 cores machine.",{"id":54,"text":55},{"id":158,"text":159},"9547693","yeah! it took me some time to get it right. I did not planned it well.",{"commenters":161,"max_depth":162,"maker_replies":151,"first_comment_mins":163,"lifespan_hours":164},25,6,53,20,[166,170,172,176,179,183,186,189,191,193,197,198,201,202,205,207,208,212,214,216,218,221,222,225,229,231,232,236,238,241,243,246,248,251,253,255,259],[167,37,31,168,169,37],"9546535","project\u002Fmixed\u002Fperformance","rememberlenny",[154,37,37,171,10,38],"maker\u002Fneutral\u002Fperformance",[173,37,37,174,175,37],"9546592","commenter\u002Fneutral\u002Fnone","jeromenerf",[177,37,37,174,178,37],"9546665","aikah",[180,37,37,181,182,37],"9546707","other\u002Fneutral\u002Fnone","artursapek",[184,37,37,174,185,37],"9546783","fixxer",[187,37,31,188,123,37],"9547275","project\u002Fneutral\u002Fperformance",[84,38,43,190,85,37],"project\u002Fpositive\u002Fexecution",[54,33,37,192,10,38],"maker\u002Fneutral\u002Fexecution",[194,33,31,195,196,37],"9547095","project\u002Fmixed\u002Fexecution","carbocation",[158,33,37,192,10,38],[199,31,37,200,10,38],"9547124","maker\u002Fneutral\u002Fnone",[122,151,31,188,123,37],[203,151,37,174,204,37],"9547136","namelezz",[206,151,31,188,148,37],"9547200",[126,151,31,188,123,37],[209,151,37,210,211,37],"9547394","commenter\u002Fneutral\u002Fperformance","jkarneges",[102,151,38,213,103,37],"project\u002Fcritical\u002Fperformance",[73,43,43,215,74,37],"project\u002Fpositive\u002Fdesign",[92,162,38,217,93,37],"project\u002Fcritical\u002Fidea",[219,162,37,220,211,37],"9547364","commenter\u002Fneutral\u002Fidea",[96,162,37,220,93,37],[223,32,37,181,224,37],"9549345","JulienSchmidt",[226,32,31,227,228,37],"9550276","project\u002Fneutral\u002Fexecution","fit2rule",[77,17,38,230,78,37],"project\u002Fcritical\u002Fnone",[147,17,31,227,148,37],[233,17,38,234,235,37],"9547032","project\u002Fcritical\u002Fexecution","supermatt",[237,17,37,174,148,37],"9547211",[239,17,37,240,235,37],"9547263","commenter\u002Fneutral\u002Fexecution",[242,17,37,174,148,37],"9547310",[244,17,38,234,245,37],"9549484","tehbeard",[134,17,31,247,78,37],"project\u002Fneutral\u002Fidea",[249,17,37,220,250,37],"9547517","ipmb",[140,252,38,217,141,37],9,[114,254,37,181,115,37],10,[256,257,38,234,258,37],"9546795",11,"krisdol",[69,260,43,215,70,37],12,[],[263,268,273,277,282,287],{"id":264,"name":265,"points":266,"category":267},"9543005","Twenty",666,"games",{"id":269,"name":270,"points":271,"category":272},"9577336","Atom",190,"dev_tools",{"id":274,"name":275,"points":276,"category":272},"9545252","Monodraw",141,{"id":278,"name":279,"points":280,"category":281},"9546162","Akepa",91,"consumer_social",{"id":283,"name":284,"points":285,"category":286},"9564754","MCServer",64,"infrastructure",{"id":288,"name":289,"points":290,"category":291},"9578124","Pubmail.io",54,"productivity",false,"v2",{"id":295,"name":5,"line":6,"ai":292,"cat":19,"year":12,"points":13,"comments":14,"rec":28,"s":29,"top":17,"kw":296,"maker":10,"domain":5,"tier":18,"attempts":37,"strip":297,"url":9,"mix":298,"praise":65,"objection":89,"sub":20},9546201,[23,24,25,26,27],"3000003503003033015100031310001301015",[31,32,33,32],1793990924556]