uk
Feedback

Не попадись на ботовода! Telemetrio знаходить і позначає такі канали мітками 👉 Хочеш бачити мітку, оформляй підписку

JusticeTech System 〽️

JusticeTech System 〽️

Відкрити в Telegram

Learn to learn before you teach

Показати більше
Країна не вказанаКатегорія не вказана
233
Підписники
-124 години
-17 днів
-230 днів
Архів дописів
Let's continue.......
31 серп, 09:28

You can use this concept to build your local Uber like application in the future
31 серп, 09:28

This is me analyzing a multi million dollars company and breaking down every system system 😄😄
31 серп, 09:25

Follow me....
31 серп, 09:25

So why did Uber needs a routing/ETA system and why ETA becomes extremely important?
31 серп, 09:24

Uber explicitly says its matching system considers real-world factors because the closest driver isn't always the quickest.
31 серп, 09:23

A simple distance algorithm chooses A But Uber wants something closer to B because B can actually reach you faster.
31 серп, 09:22

Suppose there are three drivers: Driver Straight-line distance Road ETA A 700 m 8 min B 1.2 km 3 min C 900 m 6 min
31 серп, 09:21

Let me proceed....
31 серп, 09:13

Is anyone still with me?
31 серп, 09:09

As a developer you have to be very very vast as the way you think Always think out of the box
31 серп, 09:09

But "nearby" doesn't mean "best" This is where things become really interesting.
31 серп, 09:08

A driver belongs to a particular cell based on their GPS position. So instead of asking "Which of 500,000 drivers is close to this rider?" the system can effectively ask "Which available drivers are in this geographic area and its neighboring areas?" That dramatically reduces the search space.
31 серп, 09:04

Think of the entire city like this: ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ ⬡ Each hexagon represents a geographic area.
31 серп, 09:03

If there are 500,000 drivers and thousands of requests arrive simultaneously, you'd perform enormous numbers of distance calculations. Instead, Uber uses geospatial indexing. One of Uber's major technologies for geographic indexing is H3, an open-source hierarchical hexagonal grid system. Uber has described using H3 to support marketplace analysis and optimization, including pricing and dispatch.
31 серп, 09:02

Imagine Lagos has 500,000 online drivers and you request a ride from Lekki Phase 1. A naive programmer might write: for driver in all_drivers: calculate_distance(driver, rider) That above lines of code simply means go through every driver I have, and calculate how far that driver is from the rider. That is terrible at Uber's scale.
31 серп, 08:59

How does this work? Follow me
31 серп, 08:56

Here is the biggest trick Uber implemented a logic which is "don't search every driver"
31 серп, 08:55

So when you press Confirm, Uber isn't starting from zero. It's querying a live representation of the driver marketplace.
31 серп, 08:54

Suppose 100,000 drivers are online across a city and their phones continuously send location information to Uber's backend The important thing is that Uber doesn't wait until you request a ride to start looking for drivers.
31 серп, 08:52