Distributed system project structure: multi-base project? Nested projects? #213
-
Hi there! I came across this body of work after searching I'm exploring how to apply the architecture to a larger system / project and wondered where I could find the state of the art: how would you structure the bases + projects for a system w/ many deployable pieces that are assembled together with docker-compose? Assume a small distributed system:
My current Polylith knowledge suggests that:
However, I could also imagine:
Does either approach fit better with the intended usage of Polylith? Is the inclusion of non-Python 'projects' likely to cause issues? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Ok, so:
Taken together, it seems that to get the most out of the Polylith architecture in a multi-language environment, you'd really want to have Polylith tooling for each language. (In my case, I'm only developing in Python, but there is a good amount of non-python config / packaging to do, and that work doesn't feel very congruent with Polylith.) |
Beta Was this translation helpful? Give feedback.
I think that would work well in a Polylith setup too! You can put the non-Python things where you want and run the setup scripts for them as today, and for the Python code you can build wheels using Rye, Hatch, PDM or Poetry. If I understand it correctly, the non-python things aren't included in the Python wheels, right?