Hacker News new | ask | show | jobs
by Jackypot 2668 days ago
> Don't deal with event-driven architecture when you're at MVP stage

Interested in why you'd recommend that? Event-driven architecture decouples everything up front and the benefits are immediate. In this scenario the introduction of billing is en excellent example. User does something they should be billed for? Raise an event. Listen to it to bill them. Next iteration needs to email the user or update some history? Listen to the event. And so on. All the ephemeral saas infrastructure stuff just hangs off of the domain. And writing the code that way really isn't much more onerous than otherwise so I wouldn't discourage it for an MVP.