Uncategorized

(Bad) Business kills coding

We're all in this because we love to code. The code has no feelings, it is real and quantifiable. We want to write the best code possible, to be proud of it. We follow the principles and realize great things. We refactor it times after times. Then unit and integration tests come along. Static analysis… Continue reading (Bad) Business kills coding

Advertisements
Microservices

Sagas in microservices

We all know that the shared data in microservices(if they are done right) is eventually consistent. This is due to the CAP theorem which states that availability is usually a better choice than consistency. In a previous post I wrote about having eventual consistency data using Eventuate. Since distributed transactions(2PC) are heavy with a bad… Continue reading Sagas in microservices

Microservices

Microservice versioning

Why do we need to version our microservices? Microservices are basically APIs. These are consumed by the clients. We should be able to evolve them without any impact to the clients. We should not force the clients to use the new changes in services and more importantly this should not break the clients. There must… Continue reading Microservice versioning