sse.getgin.io

Languages and libraries

server-sent events library

SHOW HN2015

118points
37comments
#204of 2,565 in 2015
Top 8%of 2015 by points

How HN took it

MixedNo clear lean

3 positive, 7 neutral or asking, 2 mixed, 7 critical, out of 19 comments about the project. Thread score -0.14.

Execution: 1 for, 3 againstDesign: 2 for, 0 againstIdea: 0 for, 2 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clean, simple, effective demo

    From 3 comments
    • This is beautifully done, and simple and effective. Great demo page!!
      late2part on HN
    • 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.
      ohitsdom on HN
    • 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 :)
      fweespeech on HN
  • Go net/http makes SSE implementations simple

    From 1 comment
    • Cool! I love net/http. Below is my stab from a while ago. It's more of an example than a library.…
      wyc on HN

Objections

  • Websockets better suited for bidirectional chat

    From 2 comments
    • 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…
      andrewstuart2 on HN
    • 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…
      andrewstuart2 on HN
  • Browsers limit SSE connections per host

    From 1 comment
    • 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…
      bjt on HN
  • Internet Explorer lacks SSE support

    From 1 comment
    • 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 :)
      fweespeech on HN

Requests

  • Better word than realtime

    From 1 comment
    • 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.
      JustSomeNobody on HN

Questions

  • How many simultaneous SSE connections can a server hold

    From 2 comments
    • 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…
      tunesmith on HN
    • 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…
      tunesmith on HN

Alternatives named

  • Websockets

    From 2 comments
    • 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…
      andrewstuart2 on HN
    • That looks like a very high quality shim, so that is good. However, why would I want to use a shim over websockets? http://caniuse.com/#feat=websockets
      fweespeech on HN
  • eventsource Go library

    From 1 comment
    • If you are interested `eventsource` is a Server-sent event library that ties into the Go std http library. https://github.com/antage/eventsource
      jweir on HN
  • Yaffle EventSource shim

    From 1 comment
    • SSE is easy to shim! We use: https://github.com/Yaffle/EventSource/
      qubyte on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/9546201)