# Udemy Engineering

Learn about cool projects, product initiatives, and company culture from the data science and engineering teams at Udemy. Find these projects fun? We're hiring! https://about.udemy.com/careers/ - Medium

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## From Drift to Direction: The Architecture Behind Digression Control (Role Play)

DevFeed: [From Drift to Direction: The Architecture Behind Digression Control (Role Play)](<https://devfeed.tech/articles/from-drift-to-direction-the-architecture-behind-digression-control-role-play-26353.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/from-drift-to-direction-the-architecture-behind-digression-control-role-play-1720d9a3a6a0?source=rss----19c6d3367ed4---4>)

Author: Raka Dalal

Published: 2026-04-09T12:25:37Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [Conversational AI](<https://devfeed.tech/topics/conversational-ai.md>), [human computer interaction](<https://devfeed.tech/topics/human-computer-interaction.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [control](<https://devfeed.tech/tags/control.md>), [conversational-ai](<https://devfeed.tech/tags/conversational-ai.md>), [conversations](<https://devfeed.tech/tags/conversations.md>), [core](<https://devfeed.tech/tags/core.md>), [customer](<https://devfeed.tech/tags/customer.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [design](<https://devfeed.tech/tags/design.md>), [digital](<https://devfeed.tech/tags/digital.md>), [effective-learning](<https://devfeed.tech/tags/effective-learning.md>), [experience](<https://devfeed.tech/tags/experience.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [goals](<https://devfeed.tech/tags/goals.md>), [it](<https://devfeed.tech/tags/it.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [learner](<https://devfeed.tech/tags/learner.md>), [learning](<https://devfeed.tech/tags/learning.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-evaluation](<https://devfeed.tech/tags/llm-evaluation.md>), [override](<https://devfeed.tech/tags/override.md>), [persona](<https://devfeed.tech/tags/persona.md>), [prompt-engineering](<https://devfeed.tech/tags/prompt-engineering.md>), [real-world](<https://devfeed.tech/tags/real-world.md>)

### AI overview

Udemy's open-ended AI role plays let learners practice conversations with characters such as interviewers, stakeholders, or customers. Digressions--including meta-conversations, attempts to override the character, and unrelated tangents--can make learning goals harder to assess and feedback less grounded. Blocking or scripting turns may improve goal adherence but reduce immersion and learner agency; unrestricted dialogue preserves naturalness but risks goal drift and inconsistent learning signals. The excerpt introduces a Response Steering Layer that influences the AI's replies without restricting what learners can say; it does not provide further implementation details.

### Source excerpt

Role Play @UdemyIntroduction AI-powered role play systems aim to recreate one of the most effective learning modalities: practicing real-world conversations in a safe, repeatable environment. In Udemy's Role Play experience, learners engage in open-ended, free-text dialogues with an AI character that embodies a specific persona -- such as an interviewer, a stakeholder, or a customer -- while working toward clearly defined learning goals. This contrasts with many traditional digital learning tools, which rely on static content, multiple-choice interactions, or scripted simulations that limit conversational variability. This design prioritizes realism and skill transfer, allowing learners to respond naturally rather than selecting from predefined options. Open-ended conversations mediated by LLM-based systems, however, introduce a core systems challenge: digression. In real conversations, people may drift off-topic, but human tutors actively manage and redirect such drift. In a learning-oriented role play mediated by an AI system, persistent digressions undermine the experience in more subtle but consequential ways. Learners may shift into meta-conversations, attempt to override the role being played, or explore tangents unrelated to the scenario's objectives. When this happens, learning goals become harder to assess, feedback loses grounding in the conversation, and the interaction no longer reflects the real-world situation the learner is meant to practice. A naive solution is to tightly constrain the conversation -- blocking inputs, rejecting turns, or forcing the dialogue back onto a scripted path. While this approach improves goal adherence, it comes at the cost of immersion and learner agency. Overly rigid controls make the AI feel less like a conversational partner and more like an instructional interface. On the other hand, allowing unrestricted conversational freedom preserves naturalness but leads to goal drift, inconsistent learning signals, and reduced reliab

## From Zero to Hero: Localization-Led Generative AI at Udemy

DevFeed: [From Zero to Hero: Localization-Led Generative AI at Udemy](<https://devfeed.tech/articles/from-zero-to-hero-localization-led-generative-ai-at-udemy-26355.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/from-zero-to-hero-localization-led-generative-ai-at-udemy-a422e4f968d4?source=rss----19c6d3367ed4---4>)

Author: Nishanth Gandhidoss

Published: 2025-09-22T17:47:18Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [Localization (l10n)](<https://devfeed.tech/topics/localization.md>), [Generative AI](<https://devfeed.tech/topics/generative-ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [machine-translation](<https://devfeed.tech/topics/machine-translation.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [dataset](<https://devfeed.tech/topics/dataset.md>)

Tags: [ai-assistant](<https://devfeed.tech/tags/ai-assistant.md>), [ai-features](<https://devfeed.tech/tags/ai-features.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [gen-ai](<https://devfeed.tech/tags/gen-ai.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [generative-ai-tools](<https://devfeed.tech/tags/generative-ai-tools.md>), [language](<https://devfeed.tech/tags/language.md>), [learn](<https://devfeed.tech/tags/learn.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-applications](<https://devfeed.tech/tags/llm-applications.md>), [localization](<https://devfeed.tech/tags/localization.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [machine-translation](<https://devfeed.tech/tags/machine-translation.md>), [retrieval-augmented-gen](<https://devfeed.tech/tags/retrieval-augmented-gen.md>), [udemy](<https://devfeed.tech/tags/udemy.md>)

### AI overview

Udemy describes three ways to localize generative AI: a translation management system (TMS), a multilingual LLM system (MLS), and a hybrid that routes work between them. TMS translates user input into English for the LLM and translates its response back, offering fast, broad coverage with little pipeline change, but adding latency and risking loss of nuance. MLS handles input and generation in the target language, using multilingual prompts and embeddings for cross-language retrieval; it can better preserve fluency and domain meaning, but takes more engineering, data and time. Fine-tuning is optional, and the text says its added value may not justify the effort with newer multilingual models. Hybrid routing uses TMS for routine, broadly supported interactions and MLS for priority languages or higher-stakes tasks, balancing coverage and quality at the cost of added integration and maintenance. Udemy reports launching Japanese Skills Mapping and its in-course AI Assistant in under three months, then expanding to Spanish and Portuguese faster. Its recommendations include reusable localization interfaces, ongoing automated and native-speaker evaluation, locale-specific safety and a TMS

### Source excerpt

By Nishanth Gandhidoss, Senior Staff Data Scientist @ Udemy Why Multilingual Generative AI Matters Generative AI is rapidly changing how people learn and work, but those gains are only realized when the technology speaks the user's language. Over the past year at Udemy, we prioritized breaking the English-only barrier so our Gen AI features, most critically Skills Mapping and the in-course AI Assistant, could deliver value for learners across the globe. Our approach balanced speed, coverage, and quality, allowing us to move quickly without sacrificing fidelity in markets where nuance matters. Below we describe the localization strategy we adopted, why we made those trade-offs, and the operational practices that made the rollout repeatable, scalable, and quick. Localization Strategies When deciding how to localize a Gen AI product, it is helpful to think of options on a spectrum from low to high complexity. The simplest approach provides broad language coverage fast, while the most involved approach optimizes for fluency, cultural nuance, and domain precision. At Udemy, we researched and organized our work around three primary strategies: a translation management system (TMS) for rapid implementation with broader coverage, a multilingual LLM system (MLS) for high-fidelity experiences, and a hybrid approach to balance reach and quality. As each strategy is introduced below, we briefly explain the industry-standard localization techniques they draw on, with examples, so the differences are clear. Translation Management System (TMS) At the simplest end of the spectrum, we have the TMS approach. With a TMS, the user interacts in their own language, but the AI model itself operates in English input/output. The system first detects the user's input language, say, in Spanish, and sends the input through a machine translation (MT) service that converts it into English. The LLM then generates an English response, and that response is translated back into the user's input lang

## From siloed DataOps, MLOps, and LLMOps to a unified data-intelligence platform

DevFeed: [From siloed DataOps, MLOps, and LLMOps to a unified data-intelligence platform](<https://devfeed.tech/articles/from-siloed-dataops-mlops-and-llmops-to-a-unified-data-intelligence-platform-26354.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/from-siloed-dataops-mlops-and-llmops-to-a-unified-data-intelligence-platform-4400be283641?source=rss----19c6d3367ed4---4>)

Author: Rajit Saha

Published: 2025-08-04T18:03:19Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [databricks](<https://devfeed.tech/topics/databricks.md>), [DataOps](<https://devfeed.tech/topics/dataops.md>), [MLOps](<https://devfeed.tech/topics/mlops.md>), [AI Architecture](<https://devfeed.tech/topics/ai-architecture.md>), [Apache Spark](<https://devfeed.tech/topics/spark.md>), [deltalake](<https://devfeed.tech/topics/deltalake.md>), [Amazon Bedrock](<https://devfeed.tech/topics/amazon-bedrock.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [access-controls](<https://devfeed.tech/tags/access-controls.md>), [access-management](<https://devfeed.tech/tags/access-management.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [aiops](<https://devfeed.tech/tags/aiops.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-sagemaker](<https://devfeed.tech/tags/amazon-sagemaker.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [apache-flink](<https://devfeed.tech/tags/apache-flink.md>), [apache-spark](<https://devfeed.tech/tags/apache-spark.md>), [apis](<https://devfeed.tech/tags/apis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [batch](<https://devfeed.tech/tags/batch.md>), [data](<https://devfeed.tech/tags/data.md>), [dataops](<https://devfeed.tech/tags/dataops.md>), [intelligence](<https://devfeed.tech/tags/intelligence.md>), [llmops](<https://devfeed.tech/tags/llmops.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [platform](<https://devfeed.tech/tags/platform.md>)

### AI overview

The excerpt describes how separate DataOps, MLOps, and LLMOps stacks add operational complexity: data teams combine lake storage, batch and streaming engines, warehouses, catalogs, and access-control tools; ML teams rely on notebooks, separate feature stores and registries, custom inference APIs, and often manual updates and monitoring; and generative AI adds gateways, evaluation and agent tools, vector databases, security, and cost controls that may not integrate with existing pipelines. The article presents Databricks' Data Intelligence Platform as a way to bring these domains together, centered on Spark with the Photon C++ vectorized core and the Delta Lakehouse format. The excerpt ends before explaining how the platform handles the rest of the workflow.

### Source excerpt

Introduction In modern data-driven businesses, the pace of innovation in analytics and artificial intelligence has outstripped the capacity of many teams. Three distinct disciplines emerged to handle this expansion: Data platform (DataOps) teams built data lakes on cloud storage such as Amazon S3, processed them with Apache Spark and Hive on EMR, ingested streaming data with Spark Structured Streaming or Apache Flink, and loaded tabular copies into MPP warehouses like Redshift for interactive SQL and BI. Cataloguing and governance were offloaded to external tools such as DataHub, and fine-grained access controls required third-party services like Privacera. This architecture worked, but it required separate workflows for batch and streaming, extra systems for lineage and governance, and a mosaic of operational teams. MLOps teams provided an additional layer. Data scientists used notebook environments (for example, Amazon SageMaker) to preprocess data, train, and evaluate models. Deploying models meant writing integration code to move features into a serving layer, to register models in disparate registries and to build custom APIs for inference. Feature stores and model registries were bought from additional vendors. Updates and monitoring were often manual processes. AI/LLM Ops teams are a new addition because generative AI requires specialized components: LLM gateways (e.g., Amazon Bedrock) to proxy access to foundation models; evaluation tooling to compare large language models; orchestration frameworks for agents; vector databases for retrieval augmented generation; and of course another layer of security, access management and cost control. These tools seldom integrate seamlessly with existing data and ML pipelines. This fragmented state makes it difficult to react quickly when product requirements change. Each new capability requires another system, another integration, and another team. Meanwhile, budgets tighten and go-to-market timelines shrink. The questio

## Evolution of the Udemy AI Assistant Intent Understanding System

DevFeed: [Evolution of the Udemy AI Assistant Intent Understanding System](<https://devfeed.tech/articles/evolution-of-the-udemy-ai-assistant-intent-understanding-system-26352.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/evolution-of-the-udemy-ai-assistant-intent-understanding-system-ec3ee0039364?source=rss----19c6d3367ed4---4>)

Author: Jack Kwok

Published: 2025-05-28T16:35:59Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [function calling](<https://devfeed.tech/topics/function-calling.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistant](<https://devfeed.tech/tags/ai-assistant.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [chatbots](<https://devfeed.tech/tags/chatbots.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [llm](<https://devfeed.tech/tags/llm.md>), [system](<https://devfeed.tech/tags/system.md>), [udemy](<https://devfeed.tech/tags/udemy.md>)

### AI overview

Udemy's AI Assistant predicts a learner's intent to choose which context-gathering actions to run before an LLM generates a reply. For a request to summarize the current video lecture, it fetches a pre-generated summary through an API; for a topic search, it calls Udemy's internal Search API. The excerpt says intent errors can lead to incorrect responses and that the initial system used a basic similarity-based approach. It does not provide the later accuracy improvements or explain how response quality, speed, and cost were balanced.

### Source excerpt

Introduction Imagine having a virtual learning companion by your side every time you tackle a new course or challenging concept, ready to clarify doubts, summarize lessons, or quiz your understanding on demand. This isn't just an idea for the future. Thanks to the Udemy AI Assistant, it's a reality for every Udemy learner today. Powered by AI, the Assistant is actively supporting learners all over the world, guiding them step by step through their skills development journeys and making learning smoother, faster, and more personalized than ever. Behind the scenes, delivering such smart, relevant help relies on one crucial ability: understanding exactly what the learner wants. From course-related clarifications to lecture summaries and beyond, the AI Assistant must accurately grasp the intent behind every question to deliver the perfect response. In this article, we'll take you behind the curtain to explore how we've evolved the Udemy AI Assistant's intent understanding system. You'll discover key lessons from our journey: the challenges we faced as we expanded features, breakthroughs that boosted accuracy, and how we balanced response quality, speed, and cost. Background With Large Language Models (LLMs), setting the relevant context in the prompt is key to eliciting high-quality, high-relevance chat responses. To that end, we enable the AI Assistant to connect to various data sources and services to obtain the most relevant context. Behind the scenes, the AI Assistant predicts the learner's intent and then invokes the corresponding chain of actions to fetch the most helpful context from data sources and APIs. For example, if the learner intends to ask for a summary of the current video lecture, a chain of actions would include invoking an API call to fetch the pre-generated lecture summary and send it to the LLM for final response generation. As another example, if the learner intends to search for a topic within the course, a function call will execute a search t

## Migrating Udemy's Homepage to Micro Frontends

DevFeed: [Migrating Udemy's Homepage to Micro Frontends](<https://devfeed.tech/articles/migrating-udemy-s-homepage-to-micro-frontends-26356.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/migrating-udemys-homepage-to-micro-frontends-78bbd2e64925?source=rss----19c6d3367ed4---4>)

Author: Eugenia Leong Kato

Published: 2024-05-01T20:41:02Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [micro-frontends](<https://devfeed.tech/topics/micro-frontends.md>), [React](<https://devfeed.tech/topics/react.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [product-experimentation](<https://devfeed.tech/topics/product-experimentation.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [components](<https://devfeed.tech/tags/components.md>), [developer-velocity](<https://devfeed.tech/tags/developer-velocity.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [frontend-architecture](<https://devfeed.tech/tags/frontend-architecture.md>), [micro-frontends](<https://devfeed.tech/tags/micro-frontends.md>), [migration](<https://devfeed.tech/tags/migration.md>), [performance-metrics](<https://devfeed.tech/tags/performance-metrics.md>), [react](<https://devfeed.tech/tags/react.md>), [redesign](<https://devfeed.tech/tags/redesign.md>), [udemy](<https://devfeed.tech/tags/udemy.md>), [user-stories](<https://devfeed.tech/tags/user-stories.md>), [web-performance](<https://devfeed.tech/tags/web-performance.md>)

### AI overview

Udemy migrated its redesigned logged-out homepage from a monolith to a micro frontend, aiming to align the page with its professional skills focus and improve development speed and performance. The team isolated a new application, divided modules into user stories, and moved reusable React components into shared npm packages. The new statically generated page fetches user-targeted hero content client-side, unlike the monolith's server-side delivery; this contributed to lower LCP, while differing hero heights limited CLS gains. Cloudflare routing was extended to check for an access-token cookie so the shared udemy.com URL can serve the appropriate logged-in or logged-out homepage. The team also reduced component duplication and temporarily copied the "Add to cart" component to break a circular dependency, which it plans to resolve permanently. A/B tests compared redesigned modules and then the full page with the monolith. The company reported performance improvements for U.S. users and rolled out the new page in the U.S. and India, with global expansion, localization, and further component updates still ahead.

### Source excerpt

By Eugenia Kato, Anthony Nichols, Sol Zhu, Eyupcan Bodur, Stephen Duke, David Gao, Michael Palisano, Izabela Bulska, Elaine Zhou, Matt Schaefer, Marty Note, Matthew Bise, Chris Nienhuis, Jilles Soeters, Trey Briggs, Seth Hodgson Introduction This blog delves into the migration of Udemy's logged-out homepage from a monolith architecture to a micro frontends architecture, detailing the motivations behind the migration, challenges faced, and the impact on developer velocity and web performance metrics as a result of the migration. Udemy's logged-out homepage is the second most frequently visited destination, following the course landing pages. Our current focus revolves around professional skills development to cater the needs of professionals seeking upskilling and reskilling opportunities. However, the design and content of the logged-out homepage did not align with this focus. As a result, a new homepage was redesigned that aimed to showcase Udemy's range of offerings and emphasize its commitment to professional skills development. Beyond a mere facelift, the redesign presented an opportunity for us to transition the logged-out homepage from a monolith architecture to micro frontend architecture. With the enhanced web performance metrics, especially for international users, and increased development speed demonstrated in the previous blog post, we are motivated to adopt the new frontend architecture. Preparing for the migration We laid the groundwork for the new logged-out homepage by creating a new micro-frontend application, keeping it isolated from other existing frontend applications. This allows for a more streamlined and efficient development process, as React components and pages that are not relevant can be excluded. As a preparatory step for the migration, we broke down each of the homepage modules into user stories. Then, we collaborated with our design and product partners to define clear and concise requirements for each module. This structured approach

## A Journey from Monolith to Micro frontends at Udemy -- Part 3 of 3

DevFeed: [A Journey from Monolith to Micro frontends at Udemy -- Part 3 of 3](<https://devfeed.tech/articles/a-journey-from-monolith-to-micro-frontends-at-udemy-part-3-of-3-26359.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/transforming-frontend-architecture-a-journey-from-monolith-to-micro-frontends-at-udemy-part-3-2dfdd74ff913?source=rss----19c6d3367ed4---4>)

Author: Hamza ERBAY

Published: 2024-01-16T18:23:06Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [micro-frontends](<https://devfeed.tech/topics/micro-frontends.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Design system](<https://devfeed.tech/topics/design-system.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [applications](<https://devfeed.tech/tags/applications.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [code-review](<https://devfeed.tech/tags/code-review.md>), [decoupling](<https://devfeed.tech/tags/decoupling.md>), [design-systems](<https://devfeed.tech/tags/design-systems.md>), [design-tokens](<https://devfeed.tech/tags/design-tokens.md>), [development-process](<https://devfeed.tech/tags/development-process.md>), [education](<https://devfeed.tech/tags/education.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [frontend-architecture](<https://devfeed.tech/tags/frontend-architecture.md>), [hackathon](<https://devfeed.tech/tags/hackathon.md>), [journey](<https://devfeed.tech/tags/journey.md>), [knowledge-sharing](<https://devfeed.tech/tags/knowledge-sharing.md>), [micro-frontends](<https://devfeed.tech/tags/micro-frontends.md>), [migration](<https://devfeed.tech/tags/migration.md>), [monolith](<https://devfeed.tech/tags/monolith.md>), [npm-packages](<https://devfeed.tech/tags/npm-packages.md>), [overcoming-obstacles](<https://devfeed.tech/tags/overcoming-obstacles.md>), [performance-metrics](<https://devfeed.tech/tags/performance-metrics.md>), [robust](<https://devfeed.tech/tags/robust.md>), [udemy](<https://devfeed.tech/tags/udemy.md>)

### AI overview

Udemy formed a dedicated frontend team to move from its monolithic application toward a more modular architecture. Its steps include migration guidance, shared npm packages for decoupled design system components and tokens, weekly office hours, and Datadog and Sentry monitoring. The excerpt says local setup takes under a minute with `yarn install` and `yarn dev`; releases run through GitHub Actions after tests and owner code review, followed by developer verification. The excerpt begins a section on product performance wins but provides no details about them.

### Source excerpt

Transforming Frontend Architecture: A Journey from Monolith to Micro Frontends at Udemy -- Part 3 of 3 By: Chris Nienhuis, Hamza Erbay, Matthew Bise, Nathan Chapman, Seth Hodgson, Trey Briggs, Charles Pham Photo by Venti Views on UnsplashIntroduction In the previous section, we walked through the Udemy Hackathon event, and the decisions and preparations made that laid the foundation for our move toward a more modular frontend architecture. In this section, we will focus on the implementation of our vision post-Hackathon, how we are planning to execute the migration, and the impact it has had so far. If you missed Part 1 and Part 2 of this series, you can find them here: Transforming frontend Architecture: A Journey from Monolith to Micro frontends at Udemy -- Part 1... Transforming frontend Architecture: A Journey from Monolith to Micro frontends at Udemy -- Part 2... Post-Hackathon: Implementing the Vision Following the green light from the Shark Tank jury, we've taken decisive steps to translate our hackathon prototype into a scalable and robust frontend architecture. A dedicated frontend team has been formed at Udemy with the express purpose of driving this evolution. "Where the journey began... A throwback to the spark that ignited our incredible voyage. Thanks to Gregg (our former CEO) for recognizing the hard work! #Milestone #Hackathon #OriginStory" Our commitment to this new direction is reflected in a series of strategic actions: Migration Guidance: We've laid out clear guidelines for transitioning (transitioning implies migration) from the monolithic application, ensuring a smooth and structured shift to the new architecture. Collaboration with Design Systems: By partnering with the design system team, we've begun decoupling foundational components and design tokens, packaging them into shared npm packages. This initiative is critical for consistency and efficiency across all applications. Education and Alignment: Recognizing the importance of knowledge sharing, we

## A Journey from Monolith to Micro frontends at Udemy -- Part 2 of 3

DevFeed: [A Journey from Monolith to Micro frontends at Udemy -- Part 2 of 3](<https://devfeed.tech/articles/a-journey-from-monolith-to-micro-frontends-at-udemy-part-2-of-3-26358.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/transforming-frontend-architecture-a-journey-from-monolith-to-micro-frontends-at-udemy-part-2-c9bd7ede5f1c?source=rss----19c6d3367ed4---4>)

Author: Hamza ERBAY

Published: 2024-01-08T18:30:04Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [micro-frontends](<https://devfeed.tech/topics/micro-frontends.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [React](<https://devfeed.tech/topics/react.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [static-site-generator](<https://devfeed.tech/topics/static-site-generator.md>)

Tags: [2021](<https://devfeed.tech/tags/2021.md>), [analyze](<https://devfeed.tech/tags/analyze.md>), [apps](<https://devfeed.tech/tags/apps.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [b2b](<https://devfeed.tech/tags/b2b.md>), [blogs](<https://devfeed.tech/tags/blogs.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [changes](<https://devfeed.tech/tags/changes.md>), [client](<https://devfeed.tech/tags/client.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [community](<https://devfeed.tech/tags/community.md>), [components](<https://devfeed.tech/tags/components.md>), [daily](<https://devfeed.tech/tags/daily.md>), [decoupling](<https://devfeed.tech/tags/decoupling.md>), [easier](<https://devfeed.tech/tags/easier.md>), [environment](<https://devfeed.tech/tags/environment.md>), [environments](<https://devfeed.tech/tags/environments.md>), [hackathons](<https://devfeed.tech/tags/hackathons.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [journey](<https://devfeed.tech/tags/journey.md>), [micro-frontends](<https://devfeed.tech/tags/micro-frontends.md>), [monolith](<https://devfeed.tech/tags/monolith.md>), [udemy](<https://devfeed.tech/tags/udemy.md>)

### AI overview

Udemy's hackathon team explored decoupling React components from the monolith so they could be reused across sites and client-side, server-side, or static rendering environments. The components' tight coupling currently prevents that reuse; decoupling was intended to improve daily workflows and make broad style changes easier. The team chose Next.js for its community support and performance, then assessed infrastructure and GraphQL constraints. To get substantial results with limited effort, they favored few base-component and JavaScript-library dependencies, a simple layout, and a lower-traffic page as a safer live trial. The excerpt identifies the Featured topics page as the best candidate because it has fewer cross-dependencies and is lightweight.

### Source excerpt

Transforming Frontend Architecture: A Journey from Monolith to Micro Frontends at Udemy -- Part 2 of 3 By: Chris Nienhuis, Hamza Erbay, Matthew Bise, Nathan Chapman, Seth Hodgson, Trey Briggs, Charles Pham Photo by Hamza Erbay on UnsplashIntroduction In the previous section, we discussed the challenges in our current monolith architecture and the reasons why we are keen on transitioning to a micro frontend architecture. Now, we are going to delve into the hackathon event at Udemy where we explored the idea of decoupling our frontend structure, the preparations we made, and the options we considered for this transformation. If you missed Part 1 of this series, it is located here: Transforming frontend Architecture: A Journey from Monolith to Micro frontends at Udemy -- Part 1... Udemy Hackathon During the Hackathon event at Udemy, which we organize every six months, I had the opportunity to meet some amazing people in 2021. We collaborated on ideas for decoupling the frontend structure, which was a great experience. Our team comprised Chris Nienhuis, Hamza Erbay, Matthew Bise, Nathan Chapman, and Trey Briggs. We would like to thank Seth Hodgson for bringing us together. Preparation Our React components are currently tightly linked to the monolith runtime environment, making it impossible to use them across our various sites or in different rendering environments -- client-side, server-side, or offline via static site generation tools (B2C/B2B, support center, blogs, microsites, etc.). Udemy Monolith's high-level architecture Decoupling the frontend would improve our daily workflow and make it easier to make significant style changes across the apps. After researching modern frontend technologies, we chose Next.js for its strong community support and performance. Then, we worked on the high-level structure for the hackathon. Analyze the inventory The hackathon posed challenges related to our infrastructure and GraphQL integration that needed to be addressed. Our goal was t

## A Journey from Monolith to Micro frontends at Udemy -- Part 1 of 3

DevFeed: [A Journey from Monolith to Micro frontends at Udemy -- Part 1 of 3](<https://devfeed.tech/articles/a-journey-from-monolith-to-micro-frontends-at-udemy-part-1-of-3-26357.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/transforming-frontend-architecture-a-journey-from-monolith-to-micro-frontends-at-udemy-part-1-e0a9c19c47bf?source=rss----19c6d3367ed4---4>)

Author: Hamza ERBAY

Published: 2024-01-02T18:47:48Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [micro-frontends](<https://devfeed.tech/topics/micro-frontends.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [monolithic-architecture](<https://devfeed.tech/topics/monolithic-architecture.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [accessible](<https://devfeed.tech/tags/accessible.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [content-delivery-networks](<https://devfeed.tech/tags/content-delivery-networks.md>), [development](<https://devfeed.tech/tags/development.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [hackathon](<https://devfeed.tech/tags/hackathon.md>), [innovation](<https://devfeed.tech/tags/innovation.md>), [micro-frontends](<https://devfeed.tech/tags/micro-frontends.md>), [monolith](<https://devfeed.tech/tags/monolith.md>), [monolithic-architecture](<https://devfeed.tech/tags/monolithic-architecture.md>), [performance](<https://devfeed.tech/tags/performance.md>), [release](<https://devfeed.tech/tags/release.md>), [review](<https://devfeed.tech/tags/review.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [scale](<https://devfeed.tech/tags/scale.md>), [udemy](<https://devfeed.tech/tags/udemy.md>), [us](<https://devfeed.tech/tags/us.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

### AI overview

Udemy's excerpt describes a move toward micro frontends to help teams scale and innovate beyond a large frontend monolith. The monolith made new project builds take about 10-15 minutes and releases slow, with review and queuing sometimes taking days, especially during release freezes. Udemy says it improved the monolith release process in 2022 by removing the release queue and release script steps. The excerpt also identifies limited CDN use--linked to dynamic content and A/B testing--and performance concerns for a largely non-US, mobile-web audience served from the US. It explains the motivation, but does not include the migration design or results.

### Source excerpt

Transforming Frontend Architecture: A Journey from Monolith to Micro Frontends at Udemy -- Part 1 of 3 By: Chris Nienhuis, Hamza Erbay, Matthew Bise, Nathan Chapman, Seth Hodgson, Trey Briggs, Charles Pham Photo by Annie Spratt on UnsplashIntroduction At Udemy, we have over 67M learners and over 75K instructors, and we're working on a fast and accessible experience for them. Our underlying application architecture is a monolith -- a single, unified codebase that houses our marketplace, consumer subscription services, and business applications. The engine that powers our global platform is constantly being improved by our dedicated teams working to enhance the learning and teaching experience. In the spirit of innovation, we pitched an idea at the 2021 hackathon to decouple frontend engineering from the monolithic structure. The concept resonated with the hackathon committee (Shark Tank Council), earning a decisive nod. Thus began our odyssey toward a more modular, resilient, and scalable frontend architecture. Motivation to migrate monolith to micro frontend At the heart of our decision to migrate from a monolithic architecture to micro frontends was the need to address critical pain points impeding our ability to scale and innovate effectively. Development Speed and Scalability Our monolithic application served us well in the early days, but as we scaled, it became a double-edged sword. Development speed slowed to a crawl due to two main bottlenecks: When you start a new project, the build process takes approximately 10-15 mins. Cold Start (blue and orange), Warm Start (only orange boxes)Complex Release Process Deploying our code was a difficult and time-consuming process. Any changes to the code had to go through a slow and tedious cycle of review, approval, and queuing, which often took several days, especially during release freezes. This slow process was not sustainable for a growing global team generating many experiments. The release process can take days.In 20

## Data Quality at Udemy -- Part 1

DevFeed: [Data Quality at Udemy -- Part 1](<https://devfeed.tech/articles/data-quality-at-udemy-part-1-26351.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/data-quality-at-udemy-part-1-63e3b099ff81?source=rss----19c6d3367ed4---4>)

Author: Murat Migdisoglu

Published: 2023-09-06T22:01:16Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [data ownership](<https://devfeed.tech/topics/data-ownership.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>)

Tags: [2020](<https://devfeed.tech/tags/2020.md>), [airflow](<https://devfeed.tech/tags/airflow.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [business](<https://devfeed.tech/tags/business.md>), [cdc](<https://devfeed.tech/tags/cdc.md>), [data](<https://devfeed.tech/tags/data.md>), [data-architecture](<https://devfeed.tech/tags/data-architecture.md>), [data-catalog](<https://devfeed.tech/tags/data-catalog.md>), [data-driven](<https://devfeed.tech/tags/data-driven.md>), [data-governance](<https://devfeed.tech/tags/data-governance.md>), [data-lake](<https://devfeed.tech/tags/data-lake.md>), [data-lineage](<https://devfeed.tech/tags/data-lineage.md>), [data-monitoring](<https://devfeed.tech/tags/data-monitoring.md>), [data-platform](<https://devfeed.tech/tags/data-platform.md>), [data-provenance](<https://devfeed.tech/tags/data-provenance.md>), [data-quality](<https://devfeed.tech/tags/data-quality.md>), [data-quality-management](<https://devfeed.tech/tags/data-quality-management.md>), [databases](<https://devfeed.tech/tags/databases.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [engineer](<https://devfeed.tech/tags/engineer.md>), [enhancing](<https://devfeed.tech/tags/enhancing.md>), [udemy](<https://devfeed.tech/tags/udemy.md>)

### AI overview

A Udemy survey found that 78% of data users viewed missing lineage as a data quality issue, especially for impact analysis and finding unused columns or orphan tables. To support change management across a growing, decentralized data organization, the team defined lineage requirements covering transformation inputs and outputs, runtime, Airflow task and run, query or logical plan, and owner. Custom Spark and Hive listeners capture query and execution context, then send events asynchronously through Kafka for deduplication by destination table. The initial system used a REST service and Neptune graph database, with a basic React UI. Later, an adaptor connected the stream to DataHub; its Redshift and Looker plugins helped extend coverage from source tables to BI dashboards. The article emphasizes tool independence through adaptors and describes lineage as ongoing work in a changing data ecosystem.

### Source excerpt

Data Quality at Udemy -- Part 1Data Lineage Demystified- Why it Matters and How to Leverage its Magic for Informed Business Success! In late 2020, upon joining Udemy as a principal engineer for the data platform team, my focus shifted toward enhancing data quality within the organization. My journey began with conducting a comprehensive poll across the data organization, aimed at identifying the key pain points of data users. The results of the poll were eye-opening, revealing that 78% of users considered the absence of data provenance/lineage as a data quality issue. Furthermore, it was obvious that for a vast majority of the users, the inability to track data lineage was an important problem in impact analysis and detecting unused columns or orphan tables in the system. Inspired by these insights, I took the initiative to propose and launch two transformative projects. The first one, which is the subject of this article, is an ambitious initiative to establish a comprehensive end-to-end data lineage solution that will revolutionize our data ecosystem. The second project centers around data monitoring, which will be explored in another post. Udemy's sophisticated data architecture revolves around a data lake fed by diverse pipelines: system logs, streaming data from services, CDC listeners for replicated service databases, and more. The backbone of data transformations lies in Hive and Spark, while Airflow takes charge of orchestrating thousands of these pipelines. Unraveling Data Flow Complexity: Data Lineage in Growing Data Driven Organizations In the early stages of an organization's data-driven journey, data lineage may not be deemed crucial. With just a few pipelines managed by a centralized team, the dependency tree of the workflow orchestration typically suffices to comprehend the relationships between data entities. However, as the business scales up, relying on a single centralized team for all data flows becomes a bottleneck. Consequently, data organizatio

## Accelerating Online Experiments that Target Quantile Treatment Effects

DevFeed: [Accelerating Online Experiments that Target Quantile Treatment Effects](<https://devfeed.tech/articles/accelerating-online-experiments-that-target-quantile-treatment-effects-26350.md>)

Original publisher: [Read original article](<https://medium.com/udemy-engineering/accelerating-online-experiments-that-target-quantile-treatment-effects-dffa749694f7?source=rss----19c6d3367ed4---4>)

Author: Zach Flynn

Published: 2023-08-31T14:27:25Z

Content type: article

Language: en

Sources: [Udemy Engineering](<https://devfeed.tech/sources/udemy-engineering.md>)

Topics: [product-experimentation](<https://devfeed.tech/topics/product-experimentation.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [automated](<https://devfeed.tech/tags/automated.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [experimentation](<https://devfeed.tech/tags/experimentation.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [faster](<https://devfeed.tech/tags/faster.md>), [feature](<https://devfeed.tech/tags/feature.md>), [impact](<https://devfeed.tech/tags/impact.md>), [median](<https://devfeed.tech/tags/median.md>), [metric](<https://devfeed.tech/tags/metric.md>), [minutes](<https://devfeed.tech/tags/minutes.md>), [noise](<https://devfeed.tech/tags/noise.md>), [online](<https://devfeed.tech/tags/online.md>), [platform](<https://devfeed.tech/tags/platform.md>), [precision](<https://devfeed.tech/tags/precision.md>), [quantile](<https://devfeed.tech/tags/quantile.md>), [reduction](<https://devfeed.tech/tags/reduction.md>), [run](<https://devfeed.tech/tags/run.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [variance](<https://devfeed.tech/tags/variance.md>)

### AI overview

Udemy describes a CUPED-style method for estimating quantile treatment effects, such as median or 90th-percentile impacts. Direct quantile regression with pre-experiment controls does not preserve the target population quantile effect because quantiles are nonlinear and estimates can depend on the controls' functional form. Instead, the method estimates the treatment effect on the probability that an outcome falls below a candidate value using CUPED-like regression, then solves for each group's quantile and takes their difference. It builds confidence intervals with an asymptotic GMM approach, stacking treatment and control equations to account for correlation; density estimates use a kernel method with rule-of-thumb bandwidth, and conditional CDFs use logistic regression for speed. In a 10,000-observation simulation repeated 1,000 times, the variance-reduced estimator differed from the simple quantile difference by 0.04% in average estimate and had 21.60% lower variance, while quantile regression differed by −9.30%. These are simulation results; the excerpt does not establish performance across all experiments.

### Source excerpt

At Udemy, we run hundreds of A/B-style experiments per year on our experimentation platform. One of the biggest challenges we've faced is the need to run experiments faster to enable our product and engineering teams to rapidly ship more new product innovations to our customers. One way we've accelerated experimentation at Udemy is by building variance reduction methods -- such as CUPED -- into our experimentation platform. Doing so has had a powerful impact, helping us reduce the average time to run some product A/B tests by 30% or more. However, variance reduction methods like CUPED are designed to work for experiments that target mean or average treatment effects. They are not designed to work with quantile treatment effects, such as the median or 90th percentile impact of an experiment. In this short blog, we show how we've also reduced the variance of quantile treatment effects at Udemy, while still keeping the analysis practical and simple enough to build into our automated experiment analysis system. Variance Reduction for Average Treatment Effects Control function methods, like CUPED, are a type of variance reduction method used to increase the precision of average treatment effect estimates. They control for differences between the experimental units (e.g., site visitors, accounts) that could not have been the result of the change the experiment introduces. Removing this irrelevant variation in the outcome metric reduces noise in estimating the treatment effect. Usually, these methods control for features that existed prior to the experiment being launched, such as total minutes a user spent learning in the 30 days prior to entering the experiment. Clearly, this feature is unrelated to the experiment because it predates the unit's exposure to the experiment. But it likely explains a good portion of the variation in post-treatment minutes spent learning because, even in the absence of the experiment, people who learned more last month are likely to learn more