Batch vs Streaming Data Processing: How to Choose
Batch processes data on a schedule; streaming processes events as they arrive. Here is how to choose, and why real time often means fast enough.
Read more →Notes on data engineering, AI and building things end to end.
Batch processes data on a schedule; streaming processes events as they arrive. Here is how to choose, and why real time often means fast enough.
Read more →
Medallion architecture organizes data into bronze, silver and gold layers. Here is what each layer holds, how they run, and when three layers are too many.
Read more →
An orchestrator schedules pipeline tasks, orders them, retries failures and reports status. Here is what it does, what cron misses, and when you can skip it.
Read more →
Full refresh is simple and incremental loading is efficient, and each fails in its own way. Here is how to choose and how to make incremental loads safer.
Read more →
Simple models miss patterns and flexible models chase noise. Here is how the bias-variance trade-off works and how to find the right balance.
Read more →
A random forest combines many decision trees to cancel out their individual mistakes. Here is how it works, what to tune, and where it falls short.
Read more →
k-nearest neighbors predicts from the closest training points. Here is how it works, how to choose k, and where it breaks down.
Read more →
Normalization squeezes values into a range; standardization centers them on the mean. Here is when each fits, and which models need scaling at all.
Read more →
Logistic regression predicts probabilities, not classes. Here is what its coefficients mean, how to set the threshold, and where the model breaks.
Read more →A warehouse stores modeled tables, a lake stores raw files, and a lakehouse tries to do both. Here is how to choose, and when a simple setup is enough.
Read more →