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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of library

library

Photo of microservice

microservice

Related news:

News photo

Go library for in-process vector search and embeddings with llama.cpp

News photo

Xbox Cloud Gaming will reportedly let players stream any game in their library from November

News photo

Library of Congress Pre-1915 Japanese Woodblock Prints and Drawings