by dkersten · 6y ago · 0 comments
> Uber has grown to around 2,200 critical microservices
Even thinking about the very largest systems I’ve worked on, I can’t think of what could possibly be split into 2000 separate individual services. What are these thousands of microservices and how micro are they?
The amount of services is really quite meaninglessness compared to the amount of developers. As with anything the efficiency good down as the amount of people goes up. There is no way that 2000 people can agree on anything. So most likely there is lots and lots of overlap.
You could probably refactor some of this duplication out, but by the time you would be done new duplication would have emerged. Keeping many people in sync is just difficult :)
Anyway the point is that 2200 services is meaningless without telling how many employees are working on said services :)
Then you look at the verticals and there's maps, payments, analytics, hosting, marketing, security, identity, partnerships, third party integrations, and a million other things you don't think about.
It's pretty easy to get into those numbers if you want zero downtime and code your own verticals, and have the resources to do it.
It’s worth pointing out that not all of the 2200 services may be user-facing. Some may be internal, such as admin tooling or CI services. That said, 2200 seems like a lot!
For instance, in India you get autorickshaws (called "Autos" sometimes) in addition to cabs as a seperate option. Autos have different rules, billing, driver compliance and safety standards. There are probably a bunch of services around Autos.
Similarly, safety regulatons differ in each country, and in some cases teams are forced to act quickly. Having them in separate microservices again makes sense. Same goes for offers, eats etc.
2000 services is not inconceivable for a company operating across the world.
Not saying that's a good way to build systems but it's definitely one way.
Heck, simple auto insurance systems with multiple products in a single large state can hit 5k really easy.
I assure you there are /significantly/ more than 2200 instances of the services running.
They do indeed mean 2200 separate deployable services.