Building the New Uber Freight App as Lists of Modular, Reusable Components

Building the New Uber Freight App as Lists of Modular, Reusable Components

  • September 8, 2019
Table of Contents

Building the New Uber Freight App as Lists of Modular, Reusable Components

As Uber Freight marked its second anniversary, we went back to the drawing board to redesign its app. The original carrier app was successful for owner-operators with one or two drivers, but it wasn’t optimized for larger fleets—feedback we were hearing directly from our carrier base. It let carriers find and move freight from point A to point B, but did not support multi-stop loads with multiple pick-ups and drop-offs.

On the engineering side, our team was growing in size. Each piece of technical debt became another unnecessarily complex example in our codebase. Our engineering velocity decreased—simple features took weeks to deploy.

Efficiency was not scaling with increased headcount. We saw the app redesign effort as a great opportunity to rethink how our app was built. Internally, we wanted to ensure that the sum of our team was greater than the individual parts.

Externally, we wanted to quickly give our carriers new features and improved user experiences without compromising quality. In 2016, Uber’s Mobile Platform team rewrote our rider app on a new (now open source) mobile architecture called RIBs. In 2017, the Driver team rewrote our driver app and adopted that same architecture.

In an effort to future-proof the app, The original Uber Freight app was written using the RIBs architecture from the very start. For Uber Freight’s launch in May 2018, the app was built by combining multiple RIBs, structures consisting of routers, interactors, and builders that make up the architecture of Uber’s open source, cross-platform, mobile architecture. It had good code isolation, a well thought out RIB tree with deep scopes, and decent separation of concerns.

Source: uber.com

Tags :
Share :
comments powered by Disqus

Related Posts

Smartphones Are Killing the Planet Faster Than Anyone Expected

Smartphones Are Killing the Planet Faster Than Anyone Expected

A new study from researchers at McMaster University published in the Journal of Cleaner Production analyzed the carbon impact of the whole Information and Communication Industry (ICT) from around 2010-2020, including PCs, laptops, monitors, smartphones, and servers. They found remarkably bad news. Even as the world shifts away from giant tower PCs toward tiny, energy-sipping phones, the overall environmental impact of technology is only getting worse.

Read More
Mobile phone cancer warning as malignant brain tumours double

Mobile phone cancer warning as malignant brain tumours double

Last night the group said the increasing rate of tumours in the frontal temporal lobe “raises the suspicion that mobile and cordless phone use may be promoting gliomas”. Professor Denis Henshawsaid: “Our findings illustrate the need to look more carefully at, and to try and explain the mechanisms behind, these cancer trends, instead of brushing the causal factors under the carpet and focusing only on cures.” In 2015 the European Commission Scientific Committee on Emerging and Newly Identified Health Risks concluded that, overall, the epidemiologic studies on cell phone radiofrequency electromagnetic radiation exposure do not show an increased risk of brain tumors or of other cancers of the head and neck region.

Read More
Scaling Cash Payments in Uber Eats

Scaling Cash Payments in Uber Eats

This article is the fourth in a series covering how Uber’s mobile engineering team developed the newest version of our driver app, codenamed Carbon, a core component of our ridesharing business. Among other new features, the app lets our population of over three million driver-partners find fares, get directions, and track their earnings. We began designing the new app in conjunction with feedback from our driver-partners in 2017 and began rolling it out for production in September 2018.

Read More