100k secure WebSockets with Raspberry Pi 4

Practical benchmark of TLS 1.3 WebSockets on limited hardware

Alex Hultman
Apr 12, 2020 · 4 min read

If you’ve ever checked your stocks during the virus outbreak, you might have noticed that valuations are updated without you having to reload the page. This happens with Yahoo Finance, TradingView and many others.

These updates are due to WebSockets, persistent connections that receive updates whenever they are sent. The back-end will hold a connection to your web browser for the duration of your visit, keeping you up to date…