Build Scalable, Reliable ML Systems (MLOps): Design Docs, Data Strategy & Edge Constraints

Episode 1 61 min

Arseny Kravchenko Seasoned machine learning engineer

Episode 1 · Build Scalable, Reliable ML Systems (MLOps): Design Docs, Data Strategy & Edge Constraints

61 min

What we talked about

Arseny is a machine learning engineer who has worked on ML projects since 2015, mostly on deep learning and MLOps. He has worked mostly at startups, most recently Ntropy, which applies language models to financial transactions. He previously appeared on the podcast to talk about testing ML pipelines. Alexey invites him to discuss his book on machine learning system design, co-written for Manning, and how to design an ML system before writing code.

Arseny describes system design as making decisions under constraints that are often unknown at the start. At an AR try-on company, the app ran on phones in real time, so large models and cloud inference were ruled out, and the team started with iPhones and Core ML. Users noticed shaking shoes and battery drain, so running the model on every frame was not always right. The team could run the model at 10 FPS and interpolate between frames. Early releases also revealed problems nobody expected, such as a mirror that produced extra legs.

Arseny argues that a design document helps even when the plan changes, because writing it reveals gaps. Startups rarely have a template, so he suggests starting with the problem and spending about half the effort on it. Questions include who the users are and whether realism matters more than visual appeal. Non-goals help because most decisions are trade-offs. The solution part begins with a baseline and measurable metrics, then lists components, their owners, data sources and evaluation. Diagrams show data flow and whether data moves in batches or in real time.

Arseny wrote the book because capable engineers often struggle with large systems when they lack a holistic view. The first four chapters are introductory. The rest follows two imaginary systems, dynamic pricing for a retailer and a photo search engine, with each chapter adding one part of the design document. His favorite chapter covers preliminary research: what to reuse, build, buy as SaaS or buy as a dataset. Publisher constraints forced the team to cut scope.

For practitioners, the lessons are to define the problem before the solution, write non-goals and measurable metrics, and set a baseline before building anything. Diagramming components and data flow shows dependencies early. Arseny recommends the Interviewing.io system design guide as a companion resource, since ML engineers also need solid software engineering skills.

Chapters

  1. 1:33 Episode Overview: Building Scalable & Reliable Machine Learning Systems 1 min
  2. 2:34 Guest Bio & Startup Experience (deep learning, MLOps, Ntropy, AR, Lyft) 4 min
  3. 6:11 Startups: ML Productionization Trade-offs and Decision Ownership 2 min
  4. 7:54 Defining Machine Learning System Design: Goals and Constraints 3 min
  5. 10:34 Edge & Mobile ML Constraints: Latency, FPS, Energy, Core ML 4 min
  6. 14:49 Managing Unknowns: Known Unknowns, Unknown Unknowns, Early Tests 4 min
  7. 18:49 Planning Value: Why a Lightweight Design Phase Matters 2 min
  8. 20:21 Design Document Approach: Problem-First, 50/50 Problem vs Solution 2 min
  9. 22:48 Problem Framing: Product Scenarios, Realism vs Appeal Trade-offs 6 min
  10. 29:01 Goals, Non-Goals & Assumptions: Turning Requirements into Metrics 3 min
  11. 31:42 Solution Blueprint: Baseline, Metrics, Pipeline Components 1 min
  12. 32:37 Data Strategy: Availability, Processing, Feature Needs, Data Lakes 5 min
  13. 37:15 System Diagramming: Data Flow, Dependencies, Real-time vs Batch 2 min
  14. 39:42 Motivation for the Book: Generalizing Experience into Patterns 2 min
  15. 41:45 Heuristics for Datasets: Intuition, Limits, and Practical Guidance 3 min
  16. 45:10 Design Doc Examples: Photostock Search & Super Mega Retail Pricing 2 min
  17. 47:09 Reader Types: Theory-Focused vs Template-Focused Audiences 1 min
  18. 48:27 Co-author Dynamics: Balancing Corporate & Hands-on Perspectives 3 min
  19. 51:39 Book Development: Scope Decisions, Publisher Constraints, Reviewer Feedback 4 min
  20. 55:48 Favorite Chapter: Preliminary Research, Reuse, and External Sources 3 min
  21. 58:28 Further Learning: System Design Fundamentals & Software Engineering Skills 2 min
  22. 1:00:00 Book Offer & Giveaway: Discount Code, Twitter Giveaway Winners 1 min
  23. 1:00:37 Closing Remarks and Episode Wrap-up <1 min

Arseny Kravchenko Seasoned machine learning engineer

Arseny Kravchenko is a seasoned machine learning engineer, mostly interested in computer vision problems. He has been working in ML since 2015 in both individual contributor and leadership roles, taking systems from problem definition and design docs to production, including under tight edge and mobile constraints. He used to be active in competitive ML and achieved Kaggle Master level.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

MLOps

Reference page for MLOps as the operating discipline for production machine learning systems.

Machine Learning

Machine learning as applied modeling, evaluation, production design, monitoring, roles, and business tradeoffs.

Machine Learning System Design

ML system design as a production reference for requirements, labels, feature paths, evaluation, serving, monitoring, fallbacks, and ownership.

Data Engineering

Data engineering across pipelines, platforms, data quality, role boundaries, business enablement, and the shift toward AI-ready data systems.

Data Strategy

Data strategy as the link between business goals, operating models, governance, platforms, adoption, and tool choices.

Data Scientist to ML Engineer

How data scientists move into ML engineering with reviewable code, shipped artifacts, production-minded projects, and stronger interview stories.

ML Engineer Roadmap

Build an ML engineer path through baselines, Python and SQL, production projects, system design, MLOps, monitoring, and incident habits.

ML Portfolio Projects

Choose ML portfolio projects that show framing, baselines, data work, evaluation, production thinking, and maintainable code.

ML System Design Documents

How ML design docs capture product decisions, assumptions, data strategy, baselines, evaluation, monitoring, ownership, and production readiness.

ML System Design Interview

Prepare for ML system design interviews with timed answer plans, prompt practice, tradeoffs, portfolio walkthroughs, and production examples.

ML for Software Engineers

A roadmap for software engineers moving into ML: transferable skills, missing data habits, project sequence, production awareness, and interviews.

Machine Learning Engineer Role

The steady-state machine learning engineer role across model interfaces, runtime behavior, maintainability, observability, and nearby team boundaries.

Machine Learning for Business

How businesses choose ML use cases, compare baselines, test small-budget options, define business models, and plan adoption and ownership.

Metrics

Metrics for product decisions, ML systems, monitoring, experiments, and business impact.

Production

Production for data, ML, and AI systems, covering deployment, monitoring, reliability, ownership, and cost.

Related events

Related books

Engineering MLOps

15 questions answered

MLOps is a systematic approach to building, deploying, and monitoring machine learning (ML) solutions. It is an engineering discipline that can be applied to various industries and use cases. This book presents comprehensive insights into MLOps coupled with real-world examples to help you to write programs, train robust and scalable ML models, and build ML pipelines to train and deploy models securely in production.

Emmanuel Raj

Advanced Algorithms and Data Structures

29 questions answered

As a software engineer, you’ll encounter countless programming challenges that initially seem confusing, difficult, or even impossible. Don’t despair! Many of these “new” problems already have well-established solutions. Advanced Algorithms and Data Structures teaches you powerful approaches to a wide range of tricky coding challenges that you can adapt and apply to your own applications. Providing a balanced blend of classic, advanced, and new algorithms, this practical guide upgrades your programming toolbox with new perspectives and hands-on techniques.

Marcello La Rocca

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club