Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

8664 bites

Page 29

Monitoring & SRE1 min read

Observability vs Monitoring

Monitoring watches predefined metrics and alerts on known failure modes you anticipated. Observability is the property of being able to ask new questions about a system's internal state from its outputs, letting you debug unknown failures you never predicted…

MLOps & Infrastructure2 min read

Epsilon in differential privacy and its trade-offs

Epsilon is the privacy budget bounding how much one record can change outputs; smaller epsilon means stronger privacy but more noise and lower accuracy.

MLOps & Infrastructure2 min read

Declarative vs imperative ML platform design

Declarative GitOps gives auditable, reproducible, reviewable desired-state config with strong governance but a steeper learning curve; imperative SDKs are flexible and fast for scientists but harder to…

MLOps & Infrastructure1 min read

Flask/Gunicorn vs Triton/TorchServe for serving

Flask is simple and flexible but lacks dynamic batching, GPU scheduling, and multi-model management; Triton/TorchServe add those plus metrics and versioning.

MLOps & Infrastructure2 min read

Hybrid parallelism for large-model training

Split the model itself via tensor or pipeline parallelism so each replica is smaller, shrinking gradient all-reduce; combine with data parallelism in 2D/3D.

MLOps & Infrastructure1 min read

Why design ML pipeline steps to be idempotent?

Re-running a step with the same input yields the same result and no duplicate side effects; enables safe retries and backfills.

MLOps & Infrastructure1 min read

Concept drift vs data drift in production models

Data drift is a shift in input distribution P(X); concept drift is a shift in the relationship P(Y|X).

MLOps & Infrastructure1 min read

What is a model registry and how does it enable CD?

A registry versions models with metadata, lineage, and stage tags; CD watches stage transitions to trigger deploys.

MLOps & Infrastructure1 min read

What is shadow deployment for ML models?

New model receives mirrored live traffic but its predictions are logged, not served; validates real-world behavior and latency without user risk.

MLOps & Infrastructure1 min read

Three ways to cut LLM inference cost

Quantization to shrink the model, continuous batching with paged attention to raise GPU utilization, and distillation or smaller routed models for easy queries.

MLOps & Infrastructure1 min read

Serving for online and batch predictions

A low-latency online path (synchronous, autoscaled, real-time features) and a high-throughput batch path (parallel, cost-optimized, large jobs) sharing one model artifact and feature definitions.

MLOps & Infrastructure1 min read

Automated rollback for a failed model deploy

Detect failure via health and metric checks, automatically route traffic back to the last known-good version (blue-green or canary), keep the registry entry but unpromote, and alert.

MLOps & Infrastructure1 min read

Stages of an end-to-end ML pipeline

Ingest, validate, preprocess and feature engineer, train, evaluate against a baseline, then register and package for deployment, with gates between stages.

MLOps & Infrastructure1 min read

Detecting data drift on a continuous feature

Data drift is when serving feature distributions shift from training; detect with a Kolmogorov-Smirnov test comparing distributions; a small p-value signals drift to alert on.

MLOps & Infrastructure1 min read

CI/CD for microservice-based ML systems

Independent per-service pipelines, contract testing to protect interfaces and schemas, and incremental deploys (canary, blue-green); manage data and model contracts, not just code.

MLOps & Infrastructure1 min read

Fairness and robustness gates in CI/CD

Sliced fairness metrics across subgroups, robustness checks via perturbation and adversarial sets, all compared to thresholds that fail the build.

MLOps & Infrastructure1 min read

Diagnosing poor distributed training scaling

Communication overhead (gradient all-reduce, interconnect), data-loading starvation, load imbalance, and small per-GPU batches; profile with the PyTorch profiler and Nsight.

MLOps & Infrastructure1 min read

Managing model-as-a-feature pipelines

An upstream embedding model becomes a versioned dependency, creating cascading retraining, version skew, latency stacking, and lineage complexity.

MLOps & Infrastructure1 min read

Sub-20ms online feature serving

An in-memory key-value store (Redis) as the online feature store, precomputed features, streaming updates, and offline-online consistency.

MLOps & Infrastructure1 min read

Scalable multi-modal data quality pipeline

Staged distributed pipeline doing schema and integrity checks, modality-specific filtering, dedup, PII and toxicity removal, and metric-gated quarantine.