Modulith
architectureAdopt
Modulith (modular monolith) is our preferred architectural pattern for organizing code into well-defined modules within a single deployable unit.
We use moduliths in both pb-backend (Ruby on Rails with Packwerk) and pb-universe (Kotlin/Spring Boot with Gradle modules). This approach provides the benefits of modular architecture while maintaining the simplicity of monolith deployment and avoiding the complexity of distributed systems.
📚 Resources
- Moduliths
- Packwerk - Ruby modulith boundaries
- Spring Modulith