Ah, yes, I’ve felt the pain of an unnecessary microservices migration. It ate time for years and the core was still a mess
- Stateful vs stateless: databases and message queues should be your first (hopefully off-the-shelf) "microservices".
- Different lifecycles: API serving vs background task
- Different security needs: Frontoffice vs Backoffice code
- Different teams: But make sure to introduce a clear customer-vendor relationship.