3 ms·
500,000 lines but it's "services written in Go", so it's not a monolith, which leads to a lot of duplication I'm guessing. What are the chances if it was a mon
by fouc 5y ago
500,000 lines but it's "services written in Go", so it's not a monolith, which leads to a lot of duplication I'm guessing.
What are the chances if it was a monolith written in Go, it could be closer to 300,000 lines instead?
- dangoor 5y agoI'm not sure what kind of duplication you're thinking of. _Some_ of the services tax is taken up by our use of Apollo Gateway. When the client requests data that comes from multiple services, Apollo will actually pull that data together. Beyond that, the only additional code required due to services is that it's more verbose to make a cross-service GraphQL call than it is to make a function call into another package. Through tooling, we've reduced that verbosity where we could. I don't think it's anywhere near 200,000 lines of overhead, though.