Urgent.News

What's breaking now, across thousands of outlets.

Tech

A WebSocket reconnect is not a free pass

A long-lived WebSocket often authenticates once at connect time. That is necessary, not sufficient. On reconnect, after a resume token, or when the client re-subscribes to a channel, re-check authorization against current membership and roles. People get offboarded, plans change, and channel grants expire while sockets stay "alive" in clients' minds. Treat every subscribe/resume as a fresh…

We haven't written up this one. Dev.to has the full story — the link below goes straight to it.

Read the original at dev.to →

More in Tech

What Are the Best Practices for Databricks Medallion Architecture?

Learn why medallion architecture fails quietly and how to fix it. Silver vs Gold decision rule, Unity Catalog structure, and 3-question diagnostic from real implementations.

  • Separate Silver, Gold, and Bronze layers using domain-first Unity Catalog layout.
  • Apply decision rule: does it require domain knowledge? to every transformation.
  • Conduct regular 3-question health check on Gold layer to maintain architecture.

More from Wednesday 30 September →