brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
WebSocketImplement reliable WebSocket connections with proper reconnection, heartbeats, and scaling.
Independent GitHub snapshot · Automated classification · Original documentation governs
onclose firesdelay * (0.5 + Math.random())—prevents synchronized reconnection stormsreadyState: 0=CONNECTING, 1=OPEN, 2=CLOSING, 3=CLOSED—check before sendingbufferedAmount shows queued bytes—pause sending if backpressure buildingwss://host/ws?token=xxx—simple but logged in access logsproxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 3600s;
proxy_read_timeout must exceed your ping interval—default 60s too shortbufferedAmount—memory grows unbounded if client slower than server