Tech stack for real-time apps (chat, live updates)?
For live chat, notifications, dashboards or collaboration:
- Managed: Supabase Realtime, Firebase or Pusher/Ably — easiest to run
- Self-built: Node.js with WebSockets (Socket.IO), Redis pub/sub to share events between servers
- Database: PostgreSQL for the records, Redis for presence and fast counters
Why: WebSockets keep a connection open so updates arrive instantly instead of the app polling every few seconds.