← Back to Field Notes

Wed May 27 2026

Optimising Slack bots for different use cases

When Socket Mode becomes a scaling trap.

One of the first architectural traps people fall into with Slack bots is assuming Socket Mode scales indefinitely.

It does not.

At low interaction volumes:

  • simple
  • elegant
  • fast to prototype

At higher interaction density:

  • websocket contention
  • concurrency behavior
  • worker starvation
  • deployment coupling

begin appearing.

Socket Mode is excellent for:

  • Internal tooling
  • Small HR systems
  • DevOps assistants
  • Early prototypes

It becomes problematic when:

  • multiple concurrent users interact heavily
  • long-running jobs exist
  • horizontal scaling matters
  • uptime guarantees tighten

The important thing is understanding why the architecture changes, not merely that it changes.