The Aqueduct Stack
Aqueduct uses a PostgreSQL database and a Redis in-memory data store to keep track of websocket messages in the backend.
Aqueduct uses the same API model that Discord and many other chatting platforms use to interact with the platform. An API written in Rust for updating and fetching data and a WebSocket for real-time like a user sending a message or typing in a channel.