torginus 9 days ago

I think this is the typical modern American bias of idolizing 'tech' companies - it makes a lot of money so it must be because it's very technologically sophisticated.

In reality I'd guess building an Uber scale tech company is not particularly difficult - after a quick ChatGPT query, it seems a city like New York, has about 90kish drivers at any moment - if we assume they make a query to the API every 5 seconds (and add once as many for users) - the scale doesn't look particularly daunting, something manageable with optimized tech on a small server cluster.

Sharding is trivial since New Yorkers are not really interested in taxies from Brussels etc.

And the proof of the pudding is there are tons of competitors, and most of them work just as well as Uber does (on the technology level, driver availability or market penetration might be a different issue).

Uber is a brand like McDonalds - you could say people go to McDonalds because they have the best burgers enabled by their superior logistics and equipment - and that's certainly probably a factor, you can't really ignore that they are where they are due to brand strength, availability, and early mover advantage - while also recognizing they are far from the only players in the business.

American tech companies have immensely benefited from being the 'default' providers of services - Google, Gmail, AWS, etc. People didn't give much thought on what they chose - and assumed everyone chooses them because they are the best, not because people lacked sufficient incentive to give proper consideration to what service they use.

Thanks to Trump, that has certainly changed in Europe at least, literally overnight.

1
pkkim 9 days ago

I worked at Uber a long time ago - there was some amount of overcomplicated engineering but you genuinely can't completely shard by city because a big part of Uber's value proposition is that you fly into a city for the first time and Uber just works.

torginus 7 days ago

You probably know much better than I do, but that doesn't seem it would make it impossible to do sharding? You just pick a shard based on the current location of the driver/customer.

pkkim 6 days ago

It has been a long time and my memory is based on hearing about it rather than using it, but I believe there was a notion of a rider's "home" datacenter (based on where they signed up from), and there was some complexity from propagating a rider's data from there to all other datacenters proactively, so that things would just work no matter where in the world they were. And I think the datacenter serving the area where a user was currently located could accept writes for that user, meaning that it would have to get written back to the home datacenter... you can see how this got complicated.