Skip to content

[Feature]: Intelligent RAM/CPU allocation for E2B sandboxes #22

@deekshithgowda85

Description

@deekshithgowda85

Title: Intelligent RAM/CPU allocation for E2B sandboxes

Description
Implement a resource allocation strategy to recommend or set E2B sandbox CPU and memory parameters based on repository characteristics (framework, package size, presence of Next.js, etc.). Expose the strategy in the deploy API and UI so users can accept recommended resources.

Expected outcome

  • New helper in lib/deployer that returns recommended cpu and memory values.
  • Deploy route and UI include the recommendation and pass chosen values to E2B create call.

Difficulty
Hard

Relevant files

  • lib/deployer.ts
  • app/api/deploy/route.ts
  • templates/web-runtime/*

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions