⚡ SSE vs SignalR

A throughput comparison demo using ASP.NET Core 10 native SSE (TypedResults.ServerSentEvents) vs SignalR WebSockets.

📡
SSE
Server-Sent Events
TypedResults.ServerSentEvents
🔌
SignalR
WebSocket Hub
IHubContext broadcast

How to use

1
Open both pages in separate browser windows and place them side by side.
2
Wait for both pages to show Connected status.
3
Click ▶ Start Test on either page — it triggers both channels simultaneously.
4
Watch the throughput metrics update live and compare the final results.