The simplest implementation of scalable realtime features into a serverless app I could think of using pusher.
This app demonstrates my easiest way to implement realtime features, in order to achieve that disregards some best practices in regards to file structure / server components (e.g. page.tsx is declared as client component).