Get the latest tech news
This Microservice Should Have Been a Library
GitHub Gist: instantly share code, notes, and snippets.
How often have I created a PR, patiently waiting for all the CI runners to give me green light, only to find out at the very end, that my branch is now out of date. Or can you think of a time in which you implemented the postgres wire protocol, or a JSON parser, or an HTTP request router. MicroservicesLibrariesScaling the performanceScale independentlyScale the whole systemScaling the organisationIndependent code ownershipIndependent code ownershipInter-service communicationSlow HTTP callsFast function callsInfrastructure requirementsService discovery, API gateways, Many deployment pipelinesVirtually noneDebuggabilityDistributed TracingDebuggerIndependent deployabilityEasyDifficultThe promise of microservices and the problems they're supposed to solve come at a great cost that is often overlooked.
Or read this on Hacker News