Back to feed
Dev.to
Dev.to
6/24/2026
Conduit: The Gateway I Built to Forget About

Conduit: The Gateway I Built to Forget About

Short summary

A developer refactored an unmaintainable Go API gateway by separating concerns: Go handles routing/proxying while a sandboxed Deno runtime executes TypeScript plugins for business logic. This design eliminated the need to recompile and redeploy the gateway for policy changes, improved failure isolation, and made the system more maintainable. The approach trades some simplicity for significantly improved extensibility and operational clarity.

  • Separated gateway architecture: Go for network concerns, Deno runtime for policy execution via TypeScript plugins
  • Enabled rapid policy changes without redeploying the gateway binary
  • Predictable failure modes and operational visibility through explicit layer boundaries

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more