4 ms·
Conversely though, if you can make do with a single data store and data layer (orm or just simple queries) the libraries can use that. The schema and generated
by quickthrower2 4y ago
Conversely though, if you can make do with a single data store and data layer (orm or just simple queries) the libraries can use that.
The schema and generated classes could be a shared common library that different teams can work on (maybe with some architecture obersight)
Or if using schema-less each library “knows” it’s own json formats
Then you get nice things like atomic transactions across multiple “services”. You also have no network concerns.
You can pull out microservices for things that need special attention. Such as a spikey-load service that might need to run as a lambda.
Version management is a solved problem. Use your languages package manager and semantic versions.
I concede you need to stick to one language. Ish. You have C FFIs. A .NET app could reference a dll written in C++ or Rust. But yeah not as flexible as services. Although there are inbetween things like RPC.