Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • W.r.t. the second to last bullet point, "monorepo" and "monolith" operate on two different levels. One focuses on the codebase organization whereas the other focuses on runtime separation (or lack thereof). One does not automatically mean the other. Monorepos can be used by microservices, as long as the shared projects between services do not automatically force you to update the service. This is similar to the way Nuget/npm packages are intended to work: making newer versions available does not force the consumers of your package to immediately upgrade to that newer version. Commented Mar 6, 2024 at 1:05
  • Plainly put, if you need to keep all usages of your "package" in sync between services, that makes it a service of its own. But if your services can happily use their own version of the package for their own reasons, then the monorepo is not problematic even if in a microservice architecture. Commented Mar 6, 2024 at 1:06
  • The comment was towards how the OP explained the scenario. I agree with your ideas. Commented Apr 22, 2024 at 20:38