News for hackers. Stuff that matters.
Re:Go + Services = One Goliath Project by dangoor on Saturday December 21, 2019 @09:42PM (#21854807)
We're making a certain set of tradeoffs. For example, we're not adopting the "write code in whatever language you want" form of microservices that some folks adopt, because we don't feel like we're large enough to support that.

Like I said, though, we do want to minimize the library footprint. The vast majority of deploys in this new world will be single service deploys, with the benefits that come with that. We already deploy our monolith several times a day. These services will speed that further.

Re:Go + Services = One Goliath Project by solidasparagus on Sunday December 22, 2019 @05:29AM (#21856349)
It'll be interesting to see how it works. I would probably fight to not have shared dependencies because the relatively small benefit does not seem to merit the increased coupling between teams - if all teams needs to agree before a library can be upgraded, I can't imagine it will be very easy to keep libraries up-to-date. To a certain extent it depends on how large your engineering org is, which I don't know.

I've been in companies that moved from monolith to microservices and I saw it work well except when teams had such tight cross-service dependencies that they had to get other teams' ok before making changes to internal details of their service. Then developer velocity was slower than before because it took time to make the cross-team discussion happen and political capital to make other team care when they have other priorities.

Re:Go + Services = One Goliath Project by dangoor on Sunday December 22, 2019 @12:42PM (#21858466)
We'll see how it plays out, but the situation that I've described isn't really different from the one we have today (because we have a monolith). Hopefully, it will be better because of how the Go project is trying to get library maintainers to follow semver and avoid breaking changes. When we need to upgrade a dependency, we can do so in one diff, catching the errors with the compiler and test runs. If the upgrade seems risky, we'll watch that deploy carefully, and we already have a process for "risky" deploys. Plus, these are likely some of the easiest changes to rollback if need be, because they are unlikely to change persisted data.

Ultimately, though, if we find that this plan reduces velocity, it won't be that hard to change later.

Re:Go + Services = One Goliath Project by vips7L on Saturday December 21, 2019 @11:01PM (#21855095)
Didnt you guys recently decide to write some services in kotlin? Are you rewriting those in go now since everything is going to be one language?
Re:Go + Services = One Goliath Project by dangoor on Sunday December 22, 2019 @12:23PM (#21858371)
We have some dataflow jobs written in Kotlin (we blogged about that in June 2018[1]). We also have an internal service written in Kotlin.

We ideally want one language. But Apache Beam (which is behind Google Dataflow) doesn't yet have production support for Go. More importantly, though, we have no time pressure on switching the Kotlin code over, so that's a long way out.

[1]: https://engineering.khanacademy.org/posts/kotlin-adoption.ht...

Re:Go + Services = One Goliath Project by vips7L on Sunday December 22, 2019 @12:27PM (#21858393)
Thanks for answering! That was the specific article I remember reading.