top | item 39747600

(no title)

ajvpot | 1 year ago

I agree. Unfortunately you can only have 6 SSE streams per origin per browser instance, so you may be limited to 6 tabs without adding extra complexity on the client side.

https://crbug.com/275955

discuss

order

TheP1000|1 year ago

Is above still an issue with http2/3?

edit: From the article: To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection.

gorjusborg|1 year ago

No, if you can enable TLS and HTTP/2|3, you are only technically using a single browser connection, onto which multiple logical connections can be multiplexed.

I think the article calls this out. There is still a limit on the number of logical connections, but it's an order of magnitude larger.

paulddraper|1 year ago

HTTP 2/3 doesn't have they limitation.

For HTTP 1, simply shard the domain.

andrewmutz|1 year ago

You can get around that limit using domain sharding, although it feels a bit hacky.

xialvjun|1 year ago

just one tab use SSE and others use storage event.

simonw|1 year ago

Is that true if you are using HTTP/2?

hobobaggins|1 year ago

Yes, but the limit is different (usually much higher) and negotiated, up to maximum SETTINGS_MAX_CONCURRENT_STREAMS (which is fixed at 100 in Chrome, and apparently less in IOS/Safari.)

cassepipe|1 year ago

Nope. That's only a problem with HTTP/1.1