Context
Anonymous matching products need to balance fast pairing with privacy, session continuity, and enough structure to prevent empty conversations.
Problem
Coordinate anonymous pair sessions reliably while keeping user identity separated from active conversation state.
Constraints
Private identities, expiring sessions, concurrent chats, moderation boundaries, and a low-cost deployment model.
Architecture
aiogram coordinates Telegram events, Redis stores active sessions, Postgres-compatible persistence stores durable profiles, and an LLM assists with optional conversation prompts.
Decisions
Ephemeral and durable state are separated. Matching remains deterministic and inspectable; AI assists conversation but does not determine identity or access.
Outcome
A working private prototype established the session and matching architecture before broader product validation.
Learnings
In social systems, safety and state transitions are the product architecture—not secondary moderation features.
Defining features
- 01Anonymous sessions
- 02Smart matching
- 03Redis state