Skip to content

Add guidance on splitting process groups into separate apps#2387

Merged
kcmartin merged 3 commits intomainfrom
separate-apps-vs-process-groups
Apr 29, 2026
Merged

Add guidance on splitting process groups into separate apps#2387
kcmartin merged 3 commits intomainfrom
separate-apps-vs-process-groups

Conversation

@kcmartin
Copy link
Copy Markdown
Contributor

@kcmartin kcmartin commented Apr 27, 2026

Summary

Expands the "Maybe you want multiple apps, though" section in app-guides/multiple-processes.html.md with practical guidance on when and how to split process groups into separate Fly apps:

  • Calls out the metrics-based autoscaler as a concrete case where separate apps are required (whole-app scaling)
  • Documents the shared-image workflow: fly deploy --build-only --push to build once, then fly deploy --image registry.fly.io/app:deployment-xxxx to deploy to each app
  • Notes the secrets-duplication caveat

Content sourced from the internal solutions architecture guide. Inter-app .internal networking was already covered in the preceding paragraph, so no duplication.

Expands the "Maybe you want multiple apps, though" section with the
metrics-based autoscaler use case and the shared-image deploy workflow
(fly deploy --build-only --push, then fly deploy --image ...). Notes
that secrets must be set per app.
@kcmartin kcmartin force-pushed the separate-apps-vs-process-groups branch from afd41aa to 9c90791 Compare April 27, 2026 22:53
…s guide

Linter flagged the corporate-speak phrase; replace with "ultimately".
Also rephrases the new separate-apps paragraph to avoid an em dash.
@kcmartin kcmartin requested review from Roadmaster and injoongy April 28, 2026 18:13
Copy link
Copy Markdown
Contributor

@injoongy injoongy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@kcmartin kcmartin merged commit 2dce9bf into main Apr 29, 2026
1 of 2 checks passed
@kcmartin kcmartin deleted the separate-apps-vs-process-groups branch April 29, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants