2023 10 Eb Big Book of Mlops 2nd Edition v2 102723 Final
2023 10 Eb Big Book of Mlops 2nd Edition v2 102723 Final
E
D
N
D
IT
IO
N
eBook
M O D E LO P S DATAO P S DEVOPS
J O S E P H B R A D L E Y | R A F I K U R L A N S I K | M AT T T H O M S O N | N I A L L T U R B I T T
2
Model Serving........................................................................................................................................................................................................................................................................................ 27
................................................................................................................................................................................................................................................ 28
R .................................................................................................................................................................................................................................... 29
........................................................................................................................................................................................................................................ 30
3
Development ....................................................................................................................................................................................................................................................................................... 34
.............................................................................................................................................................................................................................................................................................. 35
............................................................................................................................................................................................................................... 35
........................................................................................................................................................................................................................................................................... 36
...................................................................................................................................................................................................................................... 36
............................................................................................................................................................................................ 37
........................................................................................................................................................................................................................................................................ 38
Staging ....................................................................................................................................................................................................................................................................................................... 39
.............................................................................................................................................................................................................................................................................................. 40
............................................................................................................................................................................................................................................................................. 40
........................................................................................................................................................................................................................................................ 40
............................................................................................................................................................................................................................................................................................. 41
............................................................................................................................................................................................................................................................... 41
Production .............................................................................................................................................................................................................................................................................................. 42
....................................................................................................................................................................................................................................................................... 44
................................................................................................................................................................................................................................................................... 45
............................................................................................................................................................................................................................................................ 46
....................................................................................................................................................................................................................................................................... 48
................................................................................................................................................................................................................................... 48
..................................................................................................................................................................................................................................................... 49
................................................................................................................................................................................................................................................................................ 49
Reference architecture................................................................................................................................................................................................................................................................... 74
................................................................................................................................................................................................................................... 74
.............................................................................................................................................................................................................................75
Conclusion ................................................................................................................................................................................................................ 78
5
CH A PT E R 1
Introduction
+ +
.
6
CH A PT E R 2
Guiding principles
7
Note:
Each of these stages has distinct access controls and quality guarantees
8
ML deployment patterns
Code and models often progress asynchronously
D E P LOY C O D E
9
D E P LOY M O D E LS
CH A PT E R 3
What’s New?
Unity Catalog
UN I TY CATALO G
11
Lineage
Discoverability
13
Model Serving
Lakehouse native
14
Online evaluation
Lakehouse Monitoring
Lakehouse native
Customization
CH A PT E R 4
Design Decisions
Unity Catalog
O RG A N IZ I N G DATA A N D AI AS S E TS
Scalability
18
Governance
Collaboration
CO N C E P TS
U N I T Y CATA LO G
CATA LO G
SCHEMA
19
Catalog
Schema
Data tables
Volume
.
20
Functions
Registered model
Model version
Model alias
.
21
CO N S I D E R ATI O N S
Team size
Complexity
of projects
22
Access
levels and permissions
Models,
functions and features in Unity Catalog
Discoverability
23
R ECO M M E N D E D O RG AN IZ ATI O N
24
Catalog level
25
Schema level
TA B LE S
MODELS
VO LU M E S
26
TA B LE S
F U N CT I O N S
27
Model Serving
1 Pre-deployment testing
Load testing
L AT E N CY
THROUGHPUT
S TA N DA R D LOA D E VA LUAT I O N
S T R E S S AS S E S S M E N T
29
A/B
testing
R E L AT I O N TO OT H E R PAT T E R N S :
Gradual
rollout
R E L AT I O N TO OT H E R PAT T E R N S :
Shadow
deployment
R E L AT I O N TO OT H E R PAT T E R N S :
30
Implementing in Databricks
O D E L A L I AS E S
M
C O N T R O L E N D P O I N T T R A F F I C
L A K E H O U S E M O N I TO R I N G W I T H M O D E L S E RV I N G
31
CH A PT E R 5
Reference
Architecture
Multi-environment view