Server-Sent Events Beat WebSockets for 95% of Real-Time Apps (Here's Why) - DEV Community

"Everyone defaults to WebSockets for real-time features. Most shouldn't.

The reality: 95% of "real-time" applications only need server → client updates. Chat notifications. Live dashboards. Stock tickers. Log streams. AI responses.

WebSockets give you bidirectional communication. But bidirectional comes with a tax: complexity, resource overhead, scaling challenges, debugging nightmares.

Server-Sent Events (SSE) do one thing: stream data from server to client. They do it brilliantly. And for..."

https://dev.to/polliog/server-sent-events-beat-websockets-for-95-of-real-time-apps-heres-why-a4l?context=digest

#events #http #pubsub #sse #webdev
Broadcast Channel API - Web APIs | MDN

"The Broadcast Channel API allows basic communication between browsing contexts (that is, windows, tabs, frames, or iframes) and workers on the same origin.

By creating a BroadcastChannel object, you can receive any messages that are posted to it. You don't have to maintain a reference to the frames or workers you wish to communicate with: they can "subscribe" to a particular channel by constructing their own BroadcastChannel with the same name, and have bi-directional communication between a..."

https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API

#pubsub #webdev
Broadcast Channel API - Web APIs | MDN

The Broadcast Channel API allows basic communication between browsing contexts (that is, windows, tabs, frames, or iframes) and workers on the same origin.

MDN Web Docs
Broadwayを嗜む③:ProducerのレートリミッターとbatcherのタイムアウトによるQoS - Qiita

この記事は、Elixir Advent Calendar 2025 その5 の4日目です 昨日は私で 「Broadwayを嗜む②:データ順を維持しながら並行・並列を高めるコントロール」 でした piacere です、ご覧いただいてありがとございます 前回 から引き続き、...

Qiita
Broadwayを嗜む②:データ順を維持しながら並行・並列を高めるコントロール - Qiita

この記事は、Elixir Advent Calendar 2025 その5 の3日目です 昨日は私で 「Broadwayを嗜む①:『パーフェクトな並行データフレームワーク』の基本的な使い方」 でした piacere です、ご覧いただいてありがとございます 前回 から引き...

Qiita

Da würde ich gerne mal die Frage in die Runde stellen:

Hat sich schon mal jemand Gedanken gemacht, wie man ein soziales Netzwerk gestalten könnte, dass:
• Kommentare erlaubt, die dem VErfasser gehören,
• das Beschreiben fremder Social Feeds erlaubt und
• mit #ActivityPub UND #PubSub interoperabel ist?

Ich habe die Befürchtung, dass das auf eine Quadratur des Kreises hinausläuft.

(6/6)

@digitalcourage @d4m13n @ifrauding @adfichter

Jepsen: NATS 2.12.1

78' | #PubSub x @[email protected]

→ 🟢 Y. Bright
→ 🔴 M. Silvetti

#MIAvVAN [2-1] @[email protected]

56' | #PubSub x @[email protected]

→ 🟢 I. Fray, Y. Bright
→ 🔴 M. Weigandt, N. Allen

#MIAvNYC [2-1] @[email protected]

71' | #PubSub x @[email protected]

→ 🟢 T. Avilés
→ 🔴 N. Allen

#MIAvNSH [0-3] @[email protected]

@visionaire genau heute las ich xkcd mal wieder.

Da macht sich also wieder jemand Gedanken wie man Social Media neu erfinden kann.

Immerhin wurde #pubsub und #mastodon als Nische erwähnt.

Schade das nicht erwähnt wurde WARUM man was neues braucht und nicht das #fediverse besser promoten kann

https://xkcd.com/927/