Enforcing Modularity in Rails Apps with Packwerk
engineering.shopify.com
Enforcing Modularity in Rails Apps with Packwerk
1–8 of 8 posts
Re: Enforcing Modularity in Rails Apps with Packwerk
#2Re: Enforcing Modularity in Rails Apps with Packwerk
#3This seems like such a saner way to achieve modularity/boundaries rather than using Microservices.
However, microservices should exist to solve other issues as well.
Re: Enforcing Modularity in Rails Apps with Packwerk
#4Re: Enforcing Modularity in Rails Apps with Packwerk
#5that seems cool - in our project's gitlab ci pipelines we could implement them with ease.
Re: Enforcing Modularity in Rails Apps with Packwerk
#6Would be interested to hear whether they consider moving some parts to Elixir that is mentioned in the post. It would appear as a very good match for their situation and problems they are facing.
Also - would Elixir have really scaled 3 million lines of code that easily? Maybe Shopify would have gotten the "Umbrella app" from Elixir for free but would have had to implement a tons of other functionality themselves. I read over and over Elixir has missing libraries. If they went the rewrite in different language route I'd argue something static like Java is a much more sensible fit for this specific problem than Elixir.
Re: Enforcing Modularity in Rails Apps with Packwerk
#7This seems like such a saner way to achieve modularity/boundaries rather than using Microservices.
I agree that using microservices to solve the boundaries issue alone may prove costly. However, microservices should exist to solve other issues as well.
Re: Enforcing Modularity in Rails Apps with Packwerk
#8Earlier quoted context omitted.
I agree that using microservices to solve the boundaries issue alone may prove costly. However, microservices should exist to solve other issues as well.
Microservices are a thing that many companies implement way too soon, in companies that are way too small. It's a tool for managing complexity when you have hundreds of engineers, yet you'll see teams with a dozen engineers using the design. They'll point out "Uber does it!" forgetting that early on Uber was a typical monolith.