6 ms·
Did RoR people ever fixed their monolith inducing architecture?
by batiste 7y ago
Did RoR people ever fixed their monolith inducing architecture?
- WillPostForFood 7y agoSometimes it is a feature, not bug?
- diveanon 7y agoWhat's there to fix?
- batiste 7y agoPrincipally the file organisation that pretty much forces you to stick all your controllers in one single directory. If you want to create a truly modular application (think microservices) RoR defaults seemed to work against you.
- diveanon 7y agoI understand what you mean, but that is one of the trade offs when using opinionated frameworks. I've found that a more effective way to achieve the same results as microservices is to deploy the monolith to multiple servers and have each one acting in a specialized capacity. This tends to make testing a lot more consistent and improves code reuse dramatically. If you really want to make it modular you could always package the functionality you want to share into gems.