HappyHackingSpace / HappyHackingSpace/sindoq

Add sandbox pooling for performance

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
enhancement help-wanted
Dominant language
Go
Stars
9
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Description
Implement sandbox pooling to reuse sandbox instances for better performance.

Currently, each execution creates a new sandbox and destroys it afterward. For high-throughput scenarios, maintaining a pool of warm sandboxes would significantly reduce latency.

## Requirements
- [ ] Implement pool manager with configurable size
- [ ] Pre-warm sandboxes on startup
- [ ] Reset sandbox state between uses
- [ ] Handle pool exhaustion (queue or create new)
- [ ] Cleanup idle sandboxes after timeout
- [ ] Per-provider pool configuration

## Considerations
- Memory usage vs latency tradeoff
- Sandbox isolation between uses
- Different pools per language/runtime

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.