jarle/bun-skills/bun-guides-http-cluster
Claude Code and agent skill by jarle/bun-skills
- community
Checking that the SKILL.md file is still in the repository.
Run multiple HTTP servers concurrently via the "reusePort" option to share the same port across multiple processes
Install
npx vskill@latest install jarle/bun-skills/bun-guides-http-clusterSKILL.md
The same SKILL.md was published earlier as jarle/bun-skills/bun-guides-http-cluster.
Start a cluster of HTTP servers
Run multiple HTTP servers concurrently via the "reusePort" option to share the same port across multiple processes
To run multiple HTTP servers concurrently, use the reusePort option in Bun.serve() which shares the same port across multiple processes.
This automatically load balances incoming requests across multiple instances of Bun.
<Note> Linux only — Windows and macOS ignore the reusePort option. This is an operating system limitation with SO_REUSEPORT, unfortunately. </Note>
After saving the file, start your servers on the same port.
Under the hood, this uses the Linux SO_REUSEPORT and SO_REUSEADDR socket options to ensure fair load balancing across multiple processes. Learn more about `SO_REUSEPORT` and `SO_REUSEADDR`
Bun has also implemented the node:cluster module, but this is a faster, simple, and limited alternative.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bun-guides-http-cluster/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jarle/bun-skills/bun-guides-http-cluster)