Blueprints: Autostart and stop internal apps + Resiliency by Machine

We posted a little while back to tell you about a new library of docs that describe repeatable patterns and examples that you can use for your own projects: Fly.io Blueprints

This week we added two more:

Let us know if there’s a pattern or problem/solution you’d like to see as a Fly.io blueprint.

8 Likes

Thanks, I really like this new series… Another good topic, if time permits, might be the intricacies of altering background workers for LiteFS:

Answering all those simultaneously doesn’t necessarily fit into the ā€œblueprintsā€ style, but even one, going into a lot of detail (and not assuming that the reader knows what FUSE is, etc.), would be helpful, I bet.

2 Likes

Can we please get consistent and consolidated articles when it pertains to SQLite, LiteFS, and multi-process Rails apps on Fly?

At the moment, the articles seem to reference old fly configurations, sundowned litefs cloud, etc.

When using the docker generate --litefs it will basically create a half connected and broken configuration. (a docker-entrypoint is created but not used, fly process group start up commands are broken, etc.

You can read more here: https://community.fly.io/t/deploy-rails-7-2-sqlite-with-litefs-error-too-many-arguments

For example, this article references a fly rake task which is no longer a part of fly deployments in rails: SQLite3 Ā· Fly Docs

1 Like