3 ms·
As someone on a dev team with little experience with microservices, including myself initially, you're going to make a big mess before you know how to clean it
by lucidone 7y ago
As someone on a dev team with little experience with microservices, including myself initially, you're going to make a big mess before you know how to clean it up. Take eventual consistency seriously. Limit rpc across services as much as possible. Agree on standards and your source of truth as early as possible. CI/CD the small stuff that doesn't matter (linting, test running). Also, have a good integration/e2e testing set up early - mock tests ended up being very brittle for us.
- not_kurt_godel 7y agoAgree with all of this, especially: > have a good integration/e2e testing set up early - mock tests ended up being very brittle for us. Unfortunately microservices also can make good integration testing difficult when it comes to testing full e2e functionality. The results of testing e2e, by nature, rely on the sum of the services interacting with each other properly, thus creating testing dependencies between services that negate some of the advantages of having separated them in the first place.