- Socket Architecture · Cryptography
LLearnViaNotes @learnvianotes· 1 min read Real-time message routing, connection handshakes, namespaces, and delivery verification flow.
Connection Handshake & Auth
Room & Routing Configuration
Each user joins their own private notification room user_<userId> on connect. This design avoids shared room states and prevents information leakage.
Real-time Lifecycle Stages
connect → authenticate JWT → join "user_uuid" → relay payload → persist ciphertext → delivery ack
Free for students and teachers
Write notes like this one
Cards for every idea, quizzes and flashcards, read aloud — on the web and your phone.
Something wrong with this note? Open it to report