I had similar issues with the Dask scheduler a few months ago. The docs say it encourages depth first behavior in the computation graph but in my case it kept running out of memory on a large ETL task by first trying to load all the input files into memory before moving on to the next stage.
FWIW I actually tend to run podman compose inside a podman container. This is so I can containerize the integration tests which orchestrate the app. It's a useful pattern - one I think should be a lot more widely used for several reasons. The systemd service wouldn't work in this context.
I could maybe use some entrypoint magic to run a server when the container starts just so I can use docker compose but still...eww.
Running a podman systemd service might suffice if it was something that could be installed with a snap of two fingers on every environment but if it means fscking around with service files it's definitely not something I'd want to add to a "set up a development environment" README.
I see, interesting.
I guess you are saying that systemd service wouldn't work because it's not available inside the container.
FWIW it's possible to run a rootless podman container with a working systemd inside the container. I've near tried running podman in podman using systemd though.
You can host your own swarm of servers apparently [0].
I would be curious to have a ballpark estimate of the finetunning performance of a "private" petals cluster.