SlideShare a Scribd company logo
Data Engineering
Patterns and Principles
Valdas Maksimavičius
Software Development Data Projects
Data engineering design patterns
Software Development Data Projects
Would you be
confident in a
self-driving car ...
… knowing that
there is your
software running
it?
Standardize and increase the descriptive power
of engineering processes
by applying patterns
Or in other words
stand on the shoulders of giants
and stop reinventing the wheel
Source: https://www.health.harvard.edu/blog/right-brainleft-brain-right-2017082512222
● Left side of your brain is responsible for
analytical thinking, science, math, etc.
● It uses known building blocks to model the
surrounding world
● If you like table representation of data, you
will try to model everything as a table
● As an engineer, expand your tool belt by
learning new patterns and new building
blocks to solve business problems better.
Why does my brain need patterns?
About me
● IT Architect at Cognizant
● Data Engineering, Data Science,
Cloud Computing, Agile teams
● Financial, Manufacturing,
Logistics, Retail industries
● Organizer of Vilnius Microsoft Data
Platform Meetup & Hack4Vilnius Hackathon
● Blogging on www.valdas.blog
Biological and Physiological needs
Basic life needs - air, food, drink, shelter, warmth, sex, sleep, etc.
Safety needs
security, employment, protection against hunger and violence
Love and belonging needs
Receive and give love, appreciation, friendship
Esteem need
Unique individual, self-respect, etc.
Experience purpose and meaning
Realising all inner potentials
Self-actualization
Personal growth and fulfillment
Maslow’s hierarchy of needs
X
Culture
Core values, way of working
Enterprise architecture
Buy vs build, cloud readiness
Data strategy & architecture
Defensive vs offensive strategy, use cases
Existing team skillset
Databases, programming, etc
Design patterns, tools &
principles
Business drivers
Business goals and objectives
Maslow’s hierarchy of needs for data projects
Culture
Core values, way of working
Data architecture
Ingestion, storage consumption, how data is collected,
stored, transformed, distributed, and consumed
Tools & principles
Best practices, naming, patterns
Maslow’s hierarchy of needs for data projects -
simplified view for today’s presentation
Culture, way of working, values
DevOps culture
1. Foster a Collaborative Environment
2. Impose End-to-End Responsibility - you build it you ship it
3. Encourage Continuous Improvement
4. Automate (Almost) Everything
5. Focus on the Customer’s Needs
6. Embrace Failure, and Learn From it
7. Unite Teams — and Expertise
Source: https://www.cmswire.com/information-management/7-key-principles-for-a-successful-devops-culture/
Data engineering design patterns
Data architecture
If you are building a data platform in the
cloud, remember that ...
low barrier-to-entry overshadows
complexity
Big Data cloud architecture references
Source: https://azure.microsoft.com/en-in/solutions/architecture/modern-data-warehouse/
CRM
Social
LOB
Graph
IoT
Image
CRM
Cloud
INGEST STORE PREP &
TRAIN
DEPLOY &
SERVE
Data
orchestration
and monitoring
Big data store Transform,
Clean & Train
Results
External systems
Digital portals
Architecture example
Reporting
Core systems
Social
LOB
Graph
IoT
Image
CRM
Cloud
INGEST STORE PREP &
TRAIN
DEPLOY &
SERVE
Data
orchestration
and monitoring
Big data store Transform,
Clean & Train
Results
Data ingestion
CRM
External systems
Digital portals
Reporting
Core systems
Application integration approaches
File Transfer
Have each application produce files of shared data for others to consume, and consume files that others have produced.
Shared Database
Have the applications store the data they wish to share in a common database.
Remote Procedure Invocation
Have each application expose some of its procedures so that they can be invoked remotely, and have applications invoke
those to run behavior and exchange data.
Messaging
Have each application connect to a common messaging system, and exchange data and invoke behavior using messages.
Ingestion challenges
● Multiple data source load and prioritization -> push vs pull strategy
● Ingested data indexing and tagging -> metadata collection is mandatory
● Data validation and cleansing -> separate business from processing logic
● Data transformation and compression -> different compression and file types
Choose privacy protection patterns
Privacy protection at the ingress
Source: https://www.valdas.blog/2019/08/06/privacy-gdpr-implementation-in-azure/
Privacy protection at the
egress
Social
LOB
Graph
IoT
Image
CRM
Cloud
INGEST STORE PREP &
TRAIN
DEPLOY &
SERVE
Data
orchestration
and monitoring
Big data store Transform,
Clean & Train
Results
Data storage
CRM
External systems
Digital portals
Reporting
Core systems
Use cloud storage offerings instead of Hadoop
Data Warehouse vs Data Lake
Data Warehouse Data Lake
Requirements Relational requirements Diverse data, scalability, low cost
Data Value Data of recognised high value Candidate data of potential value
Data Processing Mostly refined calculated data Mostly detailed source data
Business Entities Known entities, tracked over time Raw material for discovering entities and facts
Data Standards Data conforms to enterprise
standards
Fidelity to original format and condition
Data Integration Data integration upfront Data prep on demand
Transformation Data transformed, in principle Data repurposed later, as needs arise
Schema Definition Schema-on-write Schema-on-read
Metadata Management Metadata improvement Metadata developed on read
Data Warehouse vs Data Lake
Source: Microsoft
Data Warehouse vs Data Lake
Source: Microsoft
Data Warehouse vs Data Lake
Source: Microsoft
Social
LOB
Graph
IoT
Image
CRM
Cloud
INGEST STORE PREP &
TRAIN
DEPLOY &
SERVE
Data
orchestration
and monitoring
Big data store Transform,
Clean & Train
Results
Data preparation & training
CRM
External systems
Digital portals
Reporting
Core systems
Offer self-service tools
Self service exploration
Automated pipeline
Collect raw
data
Curate data
Train &
Score
Take Insights
Into Actions
Make
hypothesis
Identify
variables
Split
data
Build
model
Validate
model
SQL
Use on-demand resources
Social
LOB
Graph
IoT
Image
CRM
Cloud
INGEST STORE PREP &
TRAIN
DEPLOY &
SERVE
Data
orchestration
and monitoring
Big data store Transform,
Clean & Train
Results
Serve results to end consumers
CRM
External systems
Digital portals
Reporting
Core systems
Apply domain and product thinking
● Model to describe a domain
● Unified language
● Raw or transformed datasets
● Domain team is responsible for its lifecycle, SLA
● Discoverable, addressable, trustworthy,
self-describing, interoperable, secure
● Each producer is responsible of sharing data
products to organization
Data engineering design patterns
Data engineering design patterns
Principles, best practices, tools
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps
Get familiar with DataOps - Examples
Delay commitments and keep important
decisions open
● The principle of Last Responsible
Moment originates from Lean
Software Development
● It emphasises holding on taking
important actions and crucial
decisions for as long as possible.
Why Last Responsible
Moment is important in
cloud analytics?
Expect new improvements and
upgrades all the time
valdas@maksimavicius.eu
https://www.linkedin.com/in/valdasm/
Twitter: @VMaksimavicius
Data engineering design patterns

More Related Content

PPTX
Data Lakehouse, Data Mesh, and Data Fabric (r2)
PPTX
Data Lakehouse, Data Mesh, and Data Fabric (r1)
PDF
Introducing Databricks Delta
PDF
Make your data AI ready with Microsoft Fabric and Azure Databricks pitch deck...
PPTX
Microsoft Fabric Introduction
PDF
Intro to Delta Lake
PPTX
Digital Transformation "Book of Dreams"
PDF
Real Time Data Strategy and Architecture
Data Lakehouse, Data Mesh, and Data Fabric (r2)
Data Lakehouse, Data Mesh, and Data Fabric (r1)
Introducing Databricks Delta
Make your data AI ready with Microsoft Fabric and Azure Databricks pitch deck...
Microsoft Fabric Introduction
Intro to Delta Lake
Digital Transformation "Book of Dreams"
Real Time Data Strategy and Architecture

What's hot (20)

PPTX
Building a modern data warehouse
PPTX
Building an Effective Data Warehouse Architecture
PDF
Introduction SQL Analytics on Lakehouse Architecture
PDF
Snowflake for Data Engineering
PPTX
Zero to Snowflake Presentation
PDF
Enabling a Data Mesh Architecture with Data Virtualization
PPTX
Azure Data Factory
PDF
Architect’s Open-Source Guide for a Data Mesh Architecture
PDF
Databricks Delta Lake and Its Benefits
PPTX
Snowflake Architecture.pptx
PDF
Modern Data architecture Design
PDF
From Data Warehouse to Lakehouse
PDF
Data Catalog in Denodo Platform 7.0: Creating a Data Marketplace with Data Vi...
PPTX
Free Training: How to Build a Lakehouse
PPTX
Snowflake: The Good, the Bad, and the Ugly
PPTX
Snowflake Datawarehouse Architecturing
PDF
Data Warehouse or Data Lake, Which Do I Choose?
PPTX
Introduction to Data Engineering
PPTX
Databricks Fundamentals
PDF
Apache Iceberg: An Architectural Look Under the Covers
Building a modern data warehouse
Building an Effective Data Warehouse Architecture
Introduction SQL Analytics on Lakehouse Architecture
Snowflake for Data Engineering
Zero to Snowflake Presentation
Enabling a Data Mesh Architecture with Data Virtualization
Azure Data Factory
Architect’s Open-Source Guide for a Data Mesh Architecture
Databricks Delta Lake and Its Benefits
Snowflake Architecture.pptx
Modern Data architecture Design
From Data Warehouse to Lakehouse
Data Catalog in Denodo Platform 7.0: Creating a Data Marketplace with Data Vi...
Free Training: How to Build a Lakehouse
Snowflake: The Good, the Bad, and the Ugly
Snowflake Datawarehouse Architecturing
Data Warehouse or Data Lake, Which Do I Choose?
Introduction to Data Engineering
Databricks Fundamentals
Apache Iceberg: An Architectural Look Under the Covers
Ad

Similar to Data engineering design patterns (20)

PDF
How to build your own Delve: combining machine learning, big data and SharePoint
PDF
Spsbepoelmanssharepointbigdataclean 150421080105-conversion-gate02
PDF
Building the Artificially Intelligent Enterprise
PPTX
DataOps - Big Data and AI World London - March 2020 - Harvinder Atwal
PDF
ICP for Data- Enterprise platform for AI, ML and Data Science
PPTX
SPSChicagoBurbs 2019 - What is CDM and CDS?
PPTX
Freddie Mac & KPMG Case Study – Advanced Machine Learning Data Integration wi...
PPTX
K-MUG Azure Machine Learning
PDF
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BI
PDF
Accelerate Self-Service Analytics with Data Virtualization and Visualization
PPTX
Microsoft cloud big data strategy
PDF
Accelerate Self-Service Analytics with Virtualization and Visualisation (Thai)
PDF
IBM Cloud pak for data brochure
PDF
Real World End to End machine Learning Pipeline
PPTX
Big Data: It’s all about the Use Cases
PPTX
Overview on Azure Machine Learning
PPTX
Microsoft Azure BI Solutions in the Cloud
PPTX
[DSC Adria 23] Antoni Ivanov Practical Kimball Data Patterns.pptx
PDF
BAR360 open data platform presentation at DAMA, Sydney
PDF
Gse uk-cedrinemadera-2018-shared
How to build your own Delve: combining machine learning, big data and SharePoint
Spsbepoelmanssharepointbigdataclean 150421080105-conversion-gate02
Building the Artificially Intelligent Enterprise
DataOps - Big Data and AI World London - March 2020 - Harvinder Atwal
ICP for Data- Enterprise platform for AI, ML and Data Science
SPSChicagoBurbs 2019 - What is CDM and CDS?
Freddie Mac & KPMG Case Study – Advanced Machine Learning Data Integration wi...
K-MUG Azure Machine Learning
Augmentation, Collaboration, Governance: Defining the Future of Self-Service BI
Accelerate Self-Service Analytics with Data Virtualization and Visualization
Microsoft cloud big data strategy
Accelerate Self-Service Analytics with Virtualization and Visualisation (Thai)
IBM Cloud pak for data brochure
Real World End to End machine Learning Pipeline
Big Data: It’s all about the Use Cases
Overview on Azure Machine Learning
Microsoft Azure BI Solutions in the Cloud
[DSC Adria 23] Antoni Ivanov Practical Kimball Data Patterns.pptx
BAR360 open data platform presentation at DAMA, Sydney
Gse uk-cedrinemadera-2018-shared
Ad

Recently uploaded (20)

PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Machine Learning_overview_presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
August Patch Tuesday
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Encapsulation theory and applications.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Advanced methodologies resolving dimensionality complications for autism neur...
Empathic Computing: Creating Shared Understanding
Machine Learning_overview_presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Per capita expenditure prediction using model stacking based on satellite ima...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Programs and apps: productivity, graphics, security and other tools
Univ-Connecticut-ChatGPT-Presentaion.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
August Patch Tuesday
Group 1 Presentation -Planning and Decision Making .pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Tartificialntelligence_presentation.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Encapsulation theory and applications.pdf

Data engineering design patterns

  • 1. Data Engineering Patterns and Principles Valdas Maksimavičius
  • 5. Would you be confident in a self-driving car ... … knowing that there is your software running it?
  • 6. Standardize and increase the descriptive power of engineering processes by applying patterns Or in other words stand on the shoulders of giants and stop reinventing the wheel
  • 7. Source: https://www.health.harvard.edu/blog/right-brainleft-brain-right-2017082512222 ● Left side of your brain is responsible for analytical thinking, science, math, etc. ● It uses known building blocks to model the surrounding world ● If you like table representation of data, you will try to model everything as a table ● As an engineer, expand your tool belt by learning new patterns and new building blocks to solve business problems better. Why does my brain need patterns?
  • 8. About me ● IT Architect at Cognizant ● Data Engineering, Data Science, Cloud Computing, Agile teams ● Financial, Manufacturing, Logistics, Retail industries ● Organizer of Vilnius Microsoft Data Platform Meetup & Hack4Vilnius Hackathon ● Blogging on www.valdas.blog
  • 9. Biological and Physiological needs Basic life needs - air, food, drink, shelter, warmth, sex, sleep, etc. Safety needs security, employment, protection against hunger and violence Love and belonging needs Receive and give love, appreciation, friendship Esteem need Unique individual, self-respect, etc. Experience purpose and meaning Realising all inner potentials Self-actualization Personal growth and fulfillment Maslow’s hierarchy of needs
  • 10. X
  • 11. Culture Core values, way of working Enterprise architecture Buy vs build, cloud readiness Data strategy & architecture Defensive vs offensive strategy, use cases Existing team skillset Databases, programming, etc Design patterns, tools & principles Business drivers Business goals and objectives Maslow’s hierarchy of needs for data projects
  • 12. Culture Core values, way of working Data architecture Ingestion, storage consumption, how data is collected, stored, transformed, distributed, and consumed Tools & principles Best practices, naming, patterns Maslow’s hierarchy of needs for data projects - simplified view for today’s presentation
  • 13. Culture, way of working, values
  • 14. DevOps culture 1. Foster a Collaborative Environment 2. Impose End-to-End Responsibility - you build it you ship it 3. Encourage Continuous Improvement 4. Automate (Almost) Everything 5. Focus on the Customer’s Needs 6. Embrace Failure, and Learn From it 7. Unite Teams — and Expertise Source: https://www.cmswire.com/information-management/7-key-principles-for-a-successful-devops-culture/
  • 17. If you are building a data platform in the cloud, remember that ... low barrier-to-entry overshadows complexity
  • 18. Big Data cloud architecture references Source: https://azure.microsoft.com/en-in/solutions/architecture/modern-data-warehouse/
  • 19. CRM Social LOB Graph IoT Image CRM Cloud INGEST STORE PREP & TRAIN DEPLOY & SERVE Data orchestration and monitoring Big data store Transform, Clean & Train Results External systems Digital portals Architecture example Reporting Core systems
  • 20. Social LOB Graph IoT Image CRM Cloud INGEST STORE PREP & TRAIN DEPLOY & SERVE Data orchestration and monitoring Big data store Transform, Clean & Train Results Data ingestion CRM External systems Digital portals Reporting Core systems
  • 21. Application integration approaches File Transfer Have each application produce files of shared data for others to consume, and consume files that others have produced. Shared Database Have the applications store the data they wish to share in a common database. Remote Procedure Invocation Have each application expose some of its procedures so that they can be invoked remotely, and have applications invoke those to run behavior and exchange data. Messaging Have each application connect to a common messaging system, and exchange data and invoke behavior using messages.
  • 22. Ingestion challenges ● Multiple data source load and prioritization -> push vs pull strategy ● Ingested data indexing and tagging -> metadata collection is mandatory ● Data validation and cleansing -> separate business from processing logic ● Data transformation and compression -> different compression and file types
  • 23. Choose privacy protection patterns Privacy protection at the ingress Source: https://www.valdas.blog/2019/08/06/privacy-gdpr-implementation-in-azure/ Privacy protection at the egress
  • 24. Social LOB Graph IoT Image CRM Cloud INGEST STORE PREP & TRAIN DEPLOY & SERVE Data orchestration and monitoring Big data store Transform, Clean & Train Results Data storage CRM External systems Digital portals Reporting Core systems
  • 25. Use cloud storage offerings instead of Hadoop
  • 26. Data Warehouse vs Data Lake Data Warehouse Data Lake Requirements Relational requirements Diverse data, scalability, low cost Data Value Data of recognised high value Candidate data of potential value Data Processing Mostly refined calculated data Mostly detailed source data Business Entities Known entities, tracked over time Raw material for discovering entities and facts Data Standards Data conforms to enterprise standards Fidelity to original format and condition Data Integration Data integration upfront Data prep on demand Transformation Data transformed, in principle Data repurposed later, as needs arise Schema Definition Schema-on-write Schema-on-read Metadata Management Metadata improvement Metadata developed on read
  • 27. Data Warehouse vs Data Lake Source: Microsoft
  • 28. Data Warehouse vs Data Lake Source: Microsoft
  • 29. Data Warehouse vs Data Lake Source: Microsoft
  • 30. Social LOB Graph IoT Image CRM Cloud INGEST STORE PREP & TRAIN DEPLOY & SERVE Data orchestration and monitoring Big data store Transform, Clean & Train Results Data preparation & training CRM External systems Digital portals Reporting Core systems
  • 31. Offer self-service tools Self service exploration Automated pipeline Collect raw data Curate data Train & Score Take Insights Into Actions Make hypothesis Identify variables Split data Build model Validate model SQL
  • 33. Social LOB Graph IoT Image CRM Cloud INGEST STORE PREP & TRAIN DEPLOY & SERVE Data orchestration and monitoring Big data store Transform, Clean & Train Results Serve results to end consumers CRM External systems Digital portals Reporting Core systems
  • 34. Apply domain and product thinking ● Model to describe a domain ● Unified language ● Raw or transformed datasets ● Domain team is responsible for its lifecycle, SLA ● Discoverable, addressable, trustworthy, self-describing, interoperable, secure ● Each producer is responsible of sharing data products to organization
  • 38. Get familiar with DataOps
  • 39. Get familiar with DataOps
  • 40. Get familiar with DataOps
  • 41. Get familiar with DataOps
  • 42. Get familiar with DataOps
  • 43. Get familiar with DataOps
  • 44. Get familiar with DataOps
  • 45. Get familiar with DataOps
  • 46. Get familiar with DataOps
  • 47. Get familiar with DataOps
  • 48. Get familiar with DataOps
  • 49. Get familiar with DataOps - Examples
  • 50. Delay commitments and keep important decisions open ● The principle of Last Responsible Moment originates from Lean Software Development ● It emphasises holding on taking important actions and crucial decisions for as long as possible.
  • 51. Why Last Responsible Moment is important in cloud analytics? Expect new improvements and upgrades all the time