feat(runtime): lean dev profiles and remote/shared heavy services so the stack runs on modest machines

Đang mở
#135 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
18/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, yaml

Hướng nghiên cứu

This is design-scale work touching config parsing, the atlas dev orchestrator and service supervision. Start by reading how atlas.yaml is parsed into service definitions and where atlas dev starts and tracks processes, then look at the existing status/logs plumbing that a remote service would have to reuse. Done means atlas dev --profile store boots only that subset, a remote: service is tunnelled and appears in status/logs like a local one, and profile RAM estimates are reported from measured history.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

Running the full stack locally (DB, Redis, API, worker, 3 web apps, SSR store, AI runtime, video studio) needs a high-end machine. Most tasks touch 2–3 services. Teams should be able to develop on modest laptops.

Proposal

  • profiles: in atlas.yaml (e.g. core, store, ai, full) and atlas dev --profile store; services outside the profile stay stopped but startable on demand.
  • Lazy start: a stopped dependency starts on first request to its port (socket activation style) and stops after idle.
  • Remote services: mark heavy services (DB, AI runtime, studio) as remote: <host> so atlas tunnels the port instead of running it locally; health and logs still visible.
  • Report estimated RAM per profile from measured history.

Acceptance

  • atlas dev --profile <x> starts only the needed services; total RAM of a typical profile < 6 GB in the reference project.
  • A remote service appears in status/logs like a local one.

Related: #124, #125.

Ngôn ngữ chính
Rust
Star
3
Fork
1
Merge trung bình
9 giờ 51 phút
Pull request đã merge (30 ngày)
310

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codeatlasdev/atlas

Tất cả issue của codeatlasdev/atlas

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.