What would be helpful to know about building "Modular Monoliths?"

What would be helpful to know about building "Modular Monoliths?"

Suddenly every body and their little brother has been asking questions about this, that, or the other messaging pattern within a "Modular Monolith" architecture using Wolverine. That's honestly forced the Wolverine team to make some recent improvements and more in flight specifically to improve Wolverine's support for modular monoliths.

That work hopefully gets capped off with a big new tutorial that describes all of Wolverine's special sauce for modular monoliths while answering the most common questions users have about how to utilize Wolverine for common modular monolith hurdles.

My TODO list so far is:

  • Isolating persistence per module, while still being able to use Wolverine transactional middleware and outboxes
  • Eventual consistency between modules -- not saying that that's the thing you should do, but DDD folks seem to love the idea
  • In process, asynchronous messaging between modules which Wolverine does probably as well as anything out there
  • Tracing this stuff
  • Automated testing support, especially when work crosses module boundaries
  • Orchestration or choreography between logical modules. Like, what do you do if work has to be done in a certain order by different modules?
  • Setting yourself up to move modules out later?
  • Should you do this at all, which hopefully can be a more honest discussion of the very real technical challenges to doing modular monolith architectures which I feel is being brushed under the rug with all the hype there is right now for this approach

Using out-of-process, asynchronous messaging like RabbitMQ within your modular monolith to alleviate memory pressure, which also might tick the "Setting yourself up to move modules out later" part? Would also help folks with less experience with messaging. Last time I checked the Wolverine samples, the RabbitMQ ping pong thingy wasn't working, which I reported to Erik Shafer.

回复

要查看或添加评论,请登录

Jeremy Miller的更多文章

  • New Critter Stack Features

    New Critter Stack Features

    JasperFx Software offers custom consulting engagements or ongoing support contracts for any part of the Critter Stack…

  • We Don’t Need No Stinkin’ Repositories and Other Observations on DotNetRocks

    We Don’t Need No Stinkin’ Repositories and Other Observations on DotNetRocks

    I had a conversation with the DotNetRocks fellows a little while back that posted today, ostensibly about the “Vertical…

    4 条评论
  • Critter Stack Roadmap Update

    Critter Stack Roadmap Update

    The Critter Stack Core decided last week that it was time to get going on the next round of releases for what will be…

  • Retry on Errors in Wolverine

    Retry on Errors in Wolverine

    Coaching my daughter’s 1st/2nd grade basketball team is a trip. I don’t know that the girls are necessarily learning…

    1 条评论
  • Wolverine for MediatR Users

    Wolverine for MediatR Users

    I happened to see this post from Milan Jovanovi? today about a little backlash to the MediatR library. For my part, I…

  • Kicking off a new YouTube Channel on the Critter Stack

    Kicking off a new YouTube Channel on the Critter Stack

    Jeffry Gonzalez and I have kicked off what we plan to be a steady stream of content on the "Critter Stack" (Marten…

    2 条评论
  • Wringing More Scalability out of Event Sourcing with the Critter Stack

    Wringing More Scalability out of Event Sourcing with the Critter Stack

    JasperFx Software works with our customers to help wring the absolute best results out of our customer’s usage of the…

  • Why the Critter Stack is Good

    Why the Critter Stack is Good

    JasperFx Software already has a strong track record in our short life of helping our customers be more successful using…

    4 条评论
  • Wolverine 3.6: Modular Monolith and Vertical Slice Architecture Goodies

    Wolverine 3.6: Modular Monolith and Vertical Slice Architecture Goodies

    Wolverine 3.6 just went out tonight as a big release with bug fixes and quite a few significant features to improve…

    2 条评论
  • Critter Stack Roadmap for 2025

    Critter Stack Roadmap for 2025

    A belated Happy New Year’s to everybody! The “Critter Stack” had a huge 2024, and I listed off some of the highlights…

社区洞察

其他会员也浏览了