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

Offen
#135 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
18/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust, yaml

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
3
Forks
1
Ø Merge
9 Std. 51 Min.
Gemergte PRs (30 T.)
310

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codeatlasdev/atlas

Alle Issues in codeatlasdev/atlas

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.