Re:Show HN: Mapperly – A .NET source generator for object to...
by osigurdson on Thursday January 12, 2023 @10:51AM
(#34355337)
Services should be factored along scaling dimensions, not domain or team size. Ideally scaling and domain dimensions will be coupled to some extent, but that is not always the case. The popular idea that needs to die is that services are somehow tied to team size.
Re:Show HN: Mapperly – A .NET source generator for object to...
by kaba0 on Thursday January 12, 2023 @11:34AM
(#34356156)
The latter has API equivalency, but that is not the same thing as feature parity. Plus, you have very different concerns when you want a small self-hosted app, vs a more “traditional” deploy model where integration and the like are more important, shaping the way you program.
To give a better example, recently on HN there was a discussion on self-hosting Bitwarden and its respective implementations. The official one[0] is written in C# and uses 15ish containers. The alternative one[1] is written in Rust and is a one application. I think both have their merits, since the former is used to serve possibly millions of users at this point, while the latter is best utilized in self-hosted home or SMB scenarios.
[0] https://github.com/bitwarden/server
[1] https://github.com/dani-garcia/vaultwarden