We made the switch to an umbrella app recently to keep projects with like-dependencies together, but as a result, I’ve had to start thinking about which projects do and don’t need to share database dependencies.
For instance, we have a set of common modules that form a pipeline, but only certain steps in the pipeline require DB connections (i.e. some modules don’t need the db at all but share non-DB-centric code with the others).
At a certain point, the logical thing to do in an umbrella app looks like splitting up the modules into smaller and smaller apps to granularly control which apps depend on which DB connection and which don’t so as to only be supervising connections when absolutely necessary.
I’m not super-worried about connections, I’m mostly just wondering what everyone is doing with their umbrella apps with respect to compartmentalizing DB awareness: how small do the apps in your umbrella get?