Uber faced challenges with its massive HDFS (Hadoop Distributed File System) deployment, which was lowering the efficiency of its clusters. To fix this, its team modified settings to increase data transfer rates and parallelism. They also improved its HDFS Balancer algorithm to prioritize data movement to the least utilized nodes and use percentiles instead of fixed thresholds for better target selection. This led to much better cluster utilization and efficiency.
Thursday, March 28, 2024Uber migrated a massive amount of ledger data from DynamoDB to LedgerStore. This migration was done using shadow and offline validation to check data completeness and correctness. It rolled out LedgerStore gradually with fallbacks by maintaining backups of the original data.
This article challenges three common engineering leadership anti-patterns. First, it argues against always avoiding micromanagement, suggesting that leaders should engage in "conflict mining" to understand context and write down the details of company strategies. Second, it advocates for measuring imperfect but useful metrics over waiting for perfect ones. Lastly, it challenges the idea of managers as umbrellas, suggesting that exposing teams to the "gory details" and providing less buffered information is probably better in the long run.
Uber developed Testopedia, a centralized system for managing flaky tests in its CI pipelines, to address the issue of flaky tests in its legacy system. Testopedia focuses on tracking test entities identified by Fully Qualified Names (FQNs). It uses a finite state machine model to capture their states. Testopedia supports scalable data ingestion, flexible partitioning for efficient cone queries, and customizable analyzers and ticketing systems.
Uber developed Testopedia to manage its large suite of tests. It's used to track test statistics and categorize tests based on their stability. Testopedia uses a bucketing algorithm to handle test queries and uses a sliding window algorithm to identify flaky tests.
Uber tests payment systems in production, since traditional staging environments aren't enough for catching real-world bugs. It treats deployments as experiments, carefully selecting a region for initial rollout and continuously monitoring business metrics. This allows it to identify and resolve issues early on with real-world data while reducing the impact on users.
Uber's Q2 results emphasized its growing AV segment, highlighting a 6x rise in autonomous trips year-over-year and partnerships with AV leaders like Waymo and Alphabet. CEO Khosrowshahi expressed confidence in Uber's global AV acquisition strategy, distancing from a winner-take-all approach. The presentation also hinted at future AV developments, including a collaboration with BYD on autonomous-capable EVs.
In the article "AI's Privilege Expansion," Rex Woodbury explores how artificial intelligence (AI) is transforming access to services that were previously expensive or difficult to obtain. He introduces the concept of "Privilege Expansion," a term coined by his friend Warren Shaeffer, which refers to the way technology broadens access to goods and services. Woodbury illustrates this idea through a personal anecdote about seeking clarification on Robert Frost's poem "The Road Not Taken." While traditional search engines like Google provided limited help, an AI chatbot like ChatGPT quickly delivered a nuanced explanation, highlighting the potential of AI to serve as an accessible educational resource. The discussion extends to how past technological advancements, such as the internet and mobile devices, have already contributed to Privilege Expansion by making various services more accessible. For instance, platforms like Uber have democratized access to transportation, while online tutoring and telehealth services have made education and healthcare more available. Woodbury emphasizes that AI is the latest catalyst in this evolution, as it can replace the human element in many services, thereby reducing costs and increasing accessibility. Woodbury identifies several areas where AI can significantly impact access to services. In education, AI can help achieve a 1:1 student-to-teacher ratio, providing personalized learning experiences that were once limited to those who could afford private tutoring. In healthcare, AI can assist with low-acuity cases, offering recommendations and support that would otherwise require a human professional. The article also discusses how AI can transform industries like fashion and interior design, making personal stylists and designers accessible to a broader audience. Moreover, Woodbury touches on the potential for AI to address social needs, such as companionship, by providing artificial friends for those who may lack close social ties. He acknowledges the limitations of AI in replicating genuine human relationships but suggests that it can still offer a form of connection for those in need. In conclusion, Woodbury argues that AI's ability to remove barriers of time and cost will lead to a significant shift in consumer behavior and the creation of new companies that leverage this Privilege Expansion. He posits that the formula for this transformation is straightforward: combining expensive, human-centric services with AI results in better access and affordability for consumers. This shift could redefine how we interact with various services, making them more inclusive and accessible to all.