惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
量子位
小众软件
小众软件
C
Cybersecurity and Infrastructure Security Agency CISA
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tenable Blog
V
Vulnerabilities – Threatpost
Know Your Adversary
Know Your Adversary
T
Threat Research - Cisco Blogs
Latest news
Latest news
Spread Privacy
Spread Privacy
C
Cyber Attacks, Cyber Crime and Cyber Security
NISL@THU
NISL@THU
T
Tor Project blog
Hacker News: Ask HN
Hacker News: Ask HN
V2EX - 技术
V2EX - 技术
T
The Exploit Database - CXSecurity.com
博客园 - 三生石上(FineUI控件)
K
Kaspersky official blog
Cyberwarzone
Cyberwarzone
博客园 - 叶小钗
博客园 - 聂微东
Last Week in AI
Last Week in AI
爱范儿
爱范儿
腾讯CDC
博客园 - Franky
美团技术团队
J
Java Code Geeks
O
OpenAI News
L
Lohrmann on Cybersecurity
Simon Willison's Weblog
Simon Willison's Weblog
有赞技术团队
有赞技术团队
T
Threatpost
G
GRAHAM CLULEY
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
宝玉的分享
宝玉的分享
I
Intezer
N
News and Events Feed by Topic
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
S
Security @ Cisco Blogs
Forbes - Security
Forbes - Security
N
News | PayPal Newsroom
Stack Overflow Blog
Stack Overflow Blog
Scott Helme
Scott Helme
H
Hacker News: Front Page
Cloudbric
Cloudbric

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Foundational Concepts in Data Engineering
Samuel Wachira · 2026-05-27 · via DEV Community

Data Engineering is the practice of designing and building systems for collecting, storing and analyzing data at scale. Data Engineers acts as architects of a company's data infrastructure, building the pipelines that transform raw, messy data into clean, accessible formats for data scientists and analysts.

Understanding core concepts behind data engineering is important before working with tools such as Apache Kafka, Spark, Airflow, Hadoop or cloud platforms. This article explains most important foundational concepts in a beginner-friendly and practical way.

1. Batch vs Streaming Ingestion
Data Ingestion is the process of collecting and importing data into a system.
There are two main approaches:

Batch ingestion: Collects data over a period of time and processes it together in chunks.

For example:

  • A company exports sales records every night at midnight.
  • A payroll system processes employee payments once per month.

Characteristics

  • Data arrives in groups.
  • Easier to implement.
  • Good for historical analysis.

Common tools

  • Apache Airflow
  • Cron jobs

Stream Ingestion: Processes data continuously as it is generated.

For example:

  • Credit card fraud detection.
  • Social media feeds.
  • stock market updates.

Characteristics

  • Near real-time processing
  • More complex architecture
  • Useful for live analytics.

Common tools

  • Apache Kafka
  • Spark Streaming

2. Change Data Capture(CDC)
Change Data Capture is a method used to detect and track changes made to data in a database.
Instead of copying the entire database repeatedly, CDC captures only changes such as:

  • Inserts
  • Updates
  • Deletes

Why CDC Matters
Without CDC, systems may waste resources repeatedly copying unchanged data. CDC improves:

  • Efficiency.
  • Real-time synchronization.
  • Replication speed.

Example: An e-commerce company wants to sync orders from PostgreSQL into a data warehouse. Instead of reloading millions of records every hour, CDC transfers only the newly change rows.

Common CDC tools

  • SQL Server CDC
  • Oracle GoldenGate
  • Debezium

3. Idempotency
Idempotency means that performing the same operations multiple times produces the same final results. This is extremely important in distributed systems because failures and retries are common.

Example:
Suppose a payment service retries a transaction after a network failure, without idempotency the customer may be charged twice but with idempotency the system recognizes the request has already been processed.

Why it matters
Pipeline may restart, replay events or retry failed jobs. Idempotent processing prevents:

  • Duplicate records
  • Double counting
  • Data corruption

Practical example: Using a unique transaction ID when inserting records helps avoid duplicates.

4. OLTP vs OLAP
These are two different types of database workloads.
OLTP(Online Transaction Processing)
OLTP systems handle day-to-ay operational transactions.
Examples:

  • ATM withdrawals.
  • Online shopping.
  • Banking transactions.

Characteristics

  • Fast inserts and updates
  • Many small transactions.
  • High concurrency.

Common Databases

  • MySQL
  • PostgreSQL
  • SQL Server

OLAP(Online Analytical Processing)
OLAP systems are designed for analytics and reporting.
Examples:

  • Business intelligence dashboards.
  • Sales trend analysis.
  • Forecasting.

Characteristics

  • Large read-heavy queries.
  • Aggregations across millions of rows.
  • Historical analysis.

Common Databases

  • Snowflake
  • BigQuery
  • Amazon Redshift

5. Columnar vs Row-Based Storage
Data store data either by rows or by columns.
Row-Based Storage
Data is stored row by row. T is best for transactional systems where full rows are frequently accessed.
Advantages: Fast inserts and Efficient row retrieval.

Common tools

  • MySQL
  • PostgreSQL

Columnar Storage
Data is stored column by column.
Advantages: Faster analytical queries, better compression and reads only needed columns.
Common tools

  • Parquet
  • ORC
  • BigQuery

6. Partitioning
Partitioning divides large datasets into smaller pieces to improve performance. As datasets grow, querying all records becomes slow and expensive. Partitioning allows systems to scan only relevant sections.
Common Partitioning Methods:

  • By date(year, Month, Day)
  • By region(country or city)
  • By User ID

Example: A log table containing five years of data can be partitioned by month instead of scanning all records, queries read only the required partition.
Benefits:

  • Faster queries
  • Reduced storage scans
  • Better scalability

7. ETL vs ELT
Both ETL and ETL are methods of moving and preparing data.
ETL(Extract, Transform, Load)
Data is transformed before loading into storage.
Flow

  • Extract data.
  • Clean and transform it.
  • Load into warehouse.

Advantages: Cleaner warehouse and storage data quality control.

Tradition ETL Tools

  • Informatica
  • Talend

ETL(Extract, Load, Transform)
Raw data is loaded first, then transformed inside the warehouse.
Flow

  • Extract data.
  • Load raw data.
  • Transform data.

Advantages: Faster ingestion, more flexible and better for cloud warehouses.

Common tools

  • dbt
  • Snowflake.
  • BigQuery.

Key Difference: ETL transform before storage while ELT transform after storage.

8. CAP Theorem
CAP Theorem explains the limitations of distributed systems. A distributed database can only fully guarantee two of the following three properties at the same time:

  • Consistency: Every user sees the same data at the same time.
  • Availability: The system always responds to requests.
  • Partition Tolerance: The system continues working even if network communication fails between servers.

Examples:

  • CP systems prioritize consistency. e.g MongoDB, HBase
  • AP systems prioritize availability. e.g Cassandra, DynamoDB

9. Windowing in Streaming
Streaming systems process endless streams of data. Windowing helps organize this continuous data into manageable groups. Types of windows include:
Tumbling Window: Fixed non-overlapping intervals. Example: Every 5 minutes
Sliding Window: Windows overlap. Example: Every 10 minutes, updated every minute.
Session Window: Groups events based on user activity periods. Example: User browsing sessions.

Example: A food delivery company calculates the numbers of orders every 5 minutes using tumbling windows.

10. DAGs and Workflow Orchestration
A DAG stands for Directed Acyclic Graph. It represents tasks connected in a workflow where dependencies are clearly defined.
Example:

  • Extract data.
  • Clean data.
  • Transform data.
  • Load data into warehouse. Each step depends on the previous one.

Workflow Orchestration
Orchestration tools automate and manage these workflows.
Responsibilities include:

  • Scheduling jobs.
  • Handling jobs.
  • Monitoring jobs.
  • Managing dependencies.

Popular tools

  • Apache Airflow
  • Luigi

Why DAGs Matter
They make pipeline organized, reproducible and reliable.

11. Retry Logic and Dead letter Queues
Failures are normal in distributed systems by good pipelines must handle failures safely.

Retry Logic: Automatically attempts failed operations again.
Example: If an API request fails due to temporary network issues, the system retries after a short delay. Its benefits includes improves reliability and handles temporary failures.

Dead Letter Queue(DLQ)
A DLQ stores messages that repeatedly fail processing. Instead of crashing the system, problematic records are isolated for later inspection.
Example: A malformed JSON message in Kafka into a DLQ after multiple failures.

Why DLQs Matter
They help engineers debug failures, prevent pipeline crashes and preserve problematic data.

12. Backfilling and Reprocessing
Sometimes pipelines fail or historical data needs correction. Backfilling and reprocessing help recover missing or incorrect data.
Backfilling:Filling gaps in historical data. Example: A pipeline was down for three days. Missing records are later inserted into a warehouse.

Reprocessing: Running old data through updated logic again. Example: A bug incorrectly calculated customer revenue. After fixing the bug, engineers reprocess historical records.
Challenges include duplicate prevention, large compute costs and data consistency.

13. Data Governance
Data governance refers to policies and practices that ensures data is managed responsibly. It focuses on data quality, security, privacy, compliance and ownership.

Why it matters

  • Poor governance can lead to incorrect analytics, security beaches, and regulatory penalties.

Common Governance Practices

  • Data Catalogs: help users discover datasets. -Access Control: Restricts sensitive data access.
  • Data lineage: tracks where data originated and how it changed.

Example: Only finance teams should access payroll datasets.

14. Time Travel and Data Versioning
Time travel allows users to access previous versions of data. This is useful for auditing, recovery, debugging and historical analysis.
Example: A table accidentally loses records today. using time travel, engineers restore yesterday's version.

Systems supporting time travel

  • Delta lake
  • Apache Iceberg
  • Snowflake

Data versioning tracks changes to datasets over time, similar to Git for code. This helps teams reproduce old analyses accurately.

15. Distributed Processing Concepts
Modern datasets are often too large for one machine. Distributed processing splits workloads across multiple computers.
a) Parallel Processing: Multiple tasks run simultaneously.
b)Cluster: A group of machines working together.
c)Fault Tolerance: The system continues operating even when machines fail.
d) Data Locality: Processing data close to where it is stored to reduce network movement.

Example: Apache Spark divides a large dataset into partitions and processes them across many worker nodes.
Benefits include faster processing, scalability and high availability.

Conclusion
Data engineering is much more than moving data from one place to another. It involves designing, scalable and efficient systems that can handle growing volumes of information.

Understanding these ideas helps beginners build stronger pipelines and prepares them for advanced technologies such as Kafka, Spark, Airflow, Delta Lake and cloud-based analytics platforms.

As data continues to grow in every industry, mastering these foundational concepts becomes increasingly valuable for anyone pursuing a career in data engineering.