Re:What I Wish I Had Known Before Scaling Uber [video]
by aristus on Wednesday September 28, 2016 @09:41AM
(#12597514)
Sounds like they should sit down and re-think why they need one service for every two engineers (!), and ten repos per service (!!).
Re:What I Wish I Had Known Before Scaling Uber [video]
by ex_amazon_sde on Wednesday September 28, 2016 @10:13AM
(#12597737)
A leading example of overfragmentation.
On-call shifts are going to be interesting with an average of 2.5 engineers per service, not to mention handling people switching teams or leaving the company.
Re:What I Wish I Had Known Before Scaling Uber [video]
by _pmf_ on Wednesday September 28, 2016 @10:49AM
(#12598061)
> Sounds like they should sit down and re-think why they need one service for every two engineers (!)
They did that; the reason is job security.
Re:What I Wish I Had Known Before Scaling Uber [video]
by 0xmohit on Wednesday September 28, 2016 @02:00PM
(#12599796)
Maybe they prefer repos to branches?
Re:What I Wish I Had Known Before Scaling Uber [video]
by esrauch on Wednesday September 28, 2016 @09:40AM
(#12597511)
I'm curious how a company ends up with 10 git repositories per microservice, and 4 repositories per engineer?
Re:What I Wish I Had Known Before Scaling Uber [video]
by sah2ed on Wednesday September 28, 2016 @11:49AM
(#12598637)
That's just a manifestation of Conway's Law [1].
Re:What I Wish I Had Known Before Scaling Uber [video]
by taeric on Wednesday September 28, 2016 @02:09PM
(#12599868)
Taken in a healthy organization, Conway's Law is not a bad thing. It is really just more of an observation. So... taken to this example, it sounds like the company is a confusing mess of people trying to figure out who they need to coordinate with to make something happen.
Re:What I Wish I Had Known Before Scaling Uber [video]
by marcosdumay on Wednesday September 28, 2016 @06:46PM
(#12601972)
> It is really just more of an observation.
Or maybe some instruction into how to assemble the organization.
Re:What I Wish I Had Known Before Scaling Uber [video]
by taeric on Wednesday September 28, 2016 @07:44PM
(#12602251)
True. I was using it as an argument to adjust the system architecture, as well. My argument was it didn't matter really which changed to get things into alignment, but that having them be different was a bit of a concern.
Re:What I Wish I Had Known Before Scaling Uber [video]
by dagw on Wednesday September 28, 2016 @10:26AM
(#12597861)
4 repositories per engineer
Is that strange? I've got 6 repos at work for various utilities and "personal" projects I'm working on in addition to the 4 repos for team wide projects.
Re:What I Wish I Had Known Before Scaling Uber [video]
by fail2fail2ban on Wednesday September 28, 2016 @11:06AM
(#12598203)
I have over 3 dozen private Git repos for personal amusement or utility projects for stuff that professional consumer software doesn't work as well as what I want. Then I have almost at least 10 repos on GutHub (not this userid). At my last work, 9 month contract, I had 4 I think, aside from our main team repos just to manage personal info documents, my bin folder, etc. It's easy for one developer to have several. On my Linodes I keep /etc in its own repo as well, and my VirtualBox and VMware VMs then inside those I keep several Git repos.
Edit: I remembered more personal projects, make that almost 3 dozen personal Git repos.
Re:What I Wish I Had Known Before Scaling Uber [video]
by fail2fail2ban on Wednesday September 28, 2016 @02:30PM
(#12600060)
THE HN PC police are back, up to their old antics.
Re:What I Wish I Had Known Before Scaling Uber [video]
by jon-wood on Wednesday September 28, 2016 @10:09AM
(#12597698)
My guess (and it is just a guess) is that each of these services is made up of multiple even smaller libraries which are each being version controlled as a distinct entity. I'm not sure I could fully get behind working at that level of granularity, but it would explain how you end up with quite so many git repositories.
Re:What I Wish I Had Known Before Scaling Uber [video]
by jjbiotech on Wednesday September 28, 2016 @10:12AM
(#12597725)
From what I understand, they split their microservices into logical packages and libraries, each of which have their own repo. Then some microservices have a separate repo to track configuration changes.
Re:What I Wish I Had Known Before Scaling Uber [video]
by 0xmohit on Wednesday September 28, 2016 @01:58PM
(#12599786)
10 git repositories per microservice
I'm reminded of http://danluu.com/monorepo/
Re:What I Wish I Had Known Before Scaling Uber [video]
by teej on Wednesday September 28, 2016 @10:27AM
(#12597869)
I would bet that they have location data in git with each major market being it's own repo.
Re:What I Wish I Had Known Before Scaling Uber [video]
by moron4hire on Wednesday September 28, 2016 @09:44AM
(#12597540)
This leads to an interesting perspective, that there is a hard limit on how much traffic your services will ever have to handle, and that limit is probably a constant expression on the planet's population.
But I can't imagine how you could possibly need 8000 git repositories unless you're massively over engineering your problem. Project structure tends to reflect the organizations that build them.
Re:What I Wish I Had Known Before Scaling Uber [video]
by JoelBennett on Wednesday September 28, 2016 @10:20AM
(#12597798)
This seems almost the exact opposite of what I've heard of Facebook (i.e.: they have a massive repository).
Re:What I Wish I Had Known Before Scaling Uber [video]
by cheez on Wednesday September 28, 2016 @09:40AM
(#12597504)
Sounds like they have 2000 very individualistic engineers with that level of insanity.
Re:What I Wish I Had Known Before Scaling Uber [video]
by anentropic on Thursday September 29, 2016 @05:21AM
(#12604105)
2000 engineers sounds like overkill for a mobile app
EDIT: to downvoters: why shoot the messenger? :)