Every time you click to book a ride on the Grab app, the machinery that clicks in the background crunches some serious numbers to pair you with a driver.
It's "staggeringly complex," as Grab's director of engineering, Ditesh Gathani, put it in an interview with Mashable.
SEE ALSO:Uber's ambitious mapping project kicks off in AsiaUnderneath the seemingly simple process of booking, the system has to achieve a few goals, such as: providing the passenger with a driver, at reasonable cost within minutes; and to do this with as few buttons to press, and fields to fill in as possible.
It also runs predictive analytics in real-time to figure out where demand will be, so the app can tell drivers where to go in the next few hours. Add that to machine-learning, with the system figuring out your routine and filling in where you want to go on some days.

And it balances live demand and supply against pricing algorithms so an attractive fare (to both driver and rider) can be recommended.
"All that, in the order of milliseconds," Gathani said, taking a breath.
The ride-sharing app is Uber's biggest competition in Southeast Asia, handling well over 1.5 million bookings a day across Singapore, Malaysia, Indonesia, Thailand, Vietnam and the Philippines.
Its driver network has crossed 630,000 across the region, which has stretched beyond private cars and taxis to include motorcycles and, just recently, private shuttle buses and coaches for hire.
View this post on Instagram
Gathani himself has seen the engineering team grow from 10 to its current size of several hundred, across three offices in Singapore, Seattle and Beijing.
Most of the software engineers focus on features and building out Grab's advanced machine learning engines, while the backend is offloaded onto Amazon Web Services, so there are fewer needed to tend to server room stuff, he said.
The team rolls out an estimated 100 upgrades to the system per week in the background, without users noticing.
Grab has a dedicated team of economists that determine what fare you pay.
The specialists Grab has hired now also include a team of economists, chiefly responsible for the fare you pay.
"From an engineering perspective, dynamic pricing systems are so complicated," Gathani said.
To arrive at a single fare at a given time, the system works through several economic models, and takes into account real-time demand and supply.
Coupon codes also affect rider behaviour significantly, and the system needs to be smart enough to hand out monetary incentives to drivers, to attract more to high-demand areas if it detects a surge.
View this post on Instagram
When Grab started in Malaysia as MyTeksi several years ago, the model was far less sophisticated, he noted. "We had a naive approach to pricing. We'd have a [pre-set fare] and let people offer tips to drivers to pick up their requests -- and drivers knew. So [drivers] would wait and not accept rides until tips started coming.
"It made passengers furious," he said.
Grab -- and other companies like it -- have become so reliant on data.
Today, the system is a lot smarter. It's mapped each driver on its network, and is able to measure how likely someone will accept a job. The model is self-learning, so it refines itself over time based on how people behave on the app, and autonomously figures out who to send jobs to, and when.
"We're able to tailor jobs to drivers, right down to the individual," said Gathani.
Grab -- and other companies like it -- have become so reliant on data that nearly every department works through obsessive tracking information for daily operations.
The marketing team, for example, combs through terabytes of data with analysts to measure how well promo codes work, he said.
And is it true that people who cancel rides get penalised?
"Yep," he nodded. "Cancelling has a tremendously negative effect on the ecosystem."
The system learns to sift out serial cancellers and penalises them by lowering the chance of them getting a ride.
Only about 5 percent of Grab's users are classified as serial offenders. If you're among their ranks, you can still train the machine to lift you out of the red zone by behaving a little more responsibly.
TopicsUber
(责任编辑:休閑)
Man stumbles upon his phone background in real life
McLaren's supercar factory is a minimalist's paradise
White House staff wants to vet Trump's tweets —good luck with that
'Wonder Woman' is finally here and Hollywood's most powerful women are stoked
Here's what 'Game of Thrones' actors get up to between takesPhotos show the Blue Cut fire blazing a path of destruction in California
A fast moving wildfire continued raging near San Bernadino, California, forcing the evacuation of at
...[详细]Trump who? Tech giants join massive effort to uphold Paris Agreement
U.S. tech titans are joining an effort by more than 1,000 U.S. governors, mayors, investors, univers
...[详细]Drone delivery ahead: Amazon gets patent for package parachutes
It's no secret that Amazon's been pursuing the delivery-by-drone method for a while now, but now we
...[详细]Google pays homage to an architectural genius with its latest doodle
Google often pays tribute to remarkable people of history with a special doodle on its homepage.SEE
...[详细]Cat gets stuck in the most awkward position ever
Anyone with a cat can tell you that although their cat's claws are impressive scratching and hunting
...[详细]Austin mayor has the perfect response to man mad about women
The Alamo Drafthouse isn't the only one having fun with the cranky reactions to its women-only Wonde
...[详细]Teen recreates her mom's very special graduation photo
Madeleine Tarin honored her parents in the cutest way by recreating a photo close to her family's he
...[详细]Harvard will offer a course based on 'Game of Thrones'
Finally, a way to justify all those hours spent binge-watching HBO.Pulling a page from University of
...[详细]Fyvush Finkel, Emmy winner for 'Picket Fences,' dies at 93
NEW YORK (AP) — Actor Fyvush Finkel, the plastic-faced Emmy Award-winning character actor whos
...[详细]'Finstas' can be boring or funny or sexy — but they're always real
Don't believe everything you read about "finstas," the secret Instagram accounts currently puzzling
...[详细]Samsung Galaxy Note7 teardown reveals the magic behind the phone's iris scanner

Zuckerberg sheds tears and gets political in Harvard commencement speech
