Skip to content
Lynn Lee's Site
TopicsArticlesWebsitesAboutSearchEnglish中文

Posts

Advertising Systems

Advertising Event Data: Define the Contract Before Building the Pipeline

A duplicate click illustrates the decisions behind event grain, identity, time, versions, and data-quality acceptance criteria.

Lynn Lee · Compiled 2026-11-07
Advertising Systems

Ad Attribution and Reconciliation: Why Two Correct Reports Can Disagree

A conversion spanning several days explains event facts, attribution results, metric definitions, and systematic reconciliation.

Lynn Lee · Compiled 2026-11-07
Advertising Systems

Heterogeneous Ad Data Ingestion: Configuration Still Needs a Release Process

A shared ingestion core for JSON, CSV, and Protobuf, with explicit boundaries for dynamic mapping, replay, and staged releases.

Lynn Lee · Compiled 2026-11-07
Flink

Real-Time Deduplication in Flink: State, Redis, or Bitmap?

Compare deduplication scope, recovery semantics, capacity, and the failure windows hidden inside three common approaches.

Lynn Lee · Compiled 2026-11-07
Flink

Upgrading Flink Jobs: Turn Parallel Runs and Diffs into Evidence

Separate state compatibility, result correctness, and performance regressions to make streaming migrations diagnosable and reversible.

Lynn Lee · Compiled 2026-11-07
Flink

Debugging Flink Backpressure and Checkpoints: Locate the Slow Stage First

Use a source-to-sink pipeline to distinguish downstream bottlenecks, data skew, state I/O, and barrier-alignment delays.

Lynn Lee · Compiled 2026-11-07
Databases & MySQL

MySQL Index Design: Reading EXPLAIN Through a Slow Query

Connect query shape, composite indexes, actual scan volume, and write costs through a practical event-log query.

Lynn Lee · Compiled 2026-11-07
Databases & MySQL

MySQL Concurrency: MVCC, Lock Waits, and Deadlocks in One Example

Use two sessions to understand snapshot reads and conflicting updates, inspect deadlocks, and design retries at the transaction boundary.

Lynn Lee · Compiled 2026-11-07
Databases & MySQL

Consistency Boundaries in MySQL CDC: Snapshots, Offsets, and Idempotency

Trace duplicates, reordering, deletes, and replay from MySQL through Debezium and Kafka to downstream state.

Lynn Lee · Compiled 2026-11-07
Java

Java Thread-Pool Capacity: Keeping Backpressure Under Control

Use worker, queue, and rejection limits to control how bursts turn into latency and memory pressure, then validate overload behavior.

Lynn Lee · Compiled 2026-11-07
Java

JVM Diagnostics: Separate CPU, Waiting, and Memory Before Tuning

Build an evidence chain from service symptoms to threads, JFR, garbage collection, and native memory in Java 17.

Lynn Lee · Compiled 2026-11-07
Java

Java Async Calls: Timeouts, Cancellation, and Retries Are Separate Decisions

Separate CompletableFuture completion from the underlying request lifecycle, then constrain retries with deadlines, idempotency, and explicit budgets.

Lynn Lee · Compiled 2026-11-07
AI Agents

Operations Agents: Separate Diagnosis, Approval, and Execution

Design an auditable workflow for incident evidence, action plans, idempotent execution, and rollback verification.

Lynn Lee · Compiled 2026-11-07
AI Agents

Data Agents: Executable SQL Is Only the Start of a Trustworthy Answer

Use an advertising analytics example to connect query permissions, metric definitions, scan budgets, and result validation.

Lynn Lee · Compiled 2026-11-07
AI Agents

Multi-Agent Orchestration: Design Handoffs and Recovery Before Adding Roles

Design task boundaries, evidence contracts, conflict resolution, idempotent recovery, and budgets for a data incident investigation.

Lynn Lee · Compiled 2026-11-07
AI Agents

Agent Evaluation and Replay: Iterate on Verifiable Outcomes

Build task-level evaluations for operations and data agents, separating answers, actions, and outcomes while versioning replay environments and graders.

Lynn Lee · Compiled 2026-11-07
Earlier notes · 2023

GeoMesa and HBase — archived entry

This page preserves the original URL of an early notebook entry. Continue with the engineering series for the current articles.

Lynn Lee · Published 2023-05-17
Earlier notes · 2023

MySQL Study Notes: Locks, Lock Ranges, and Deadlocks

An English reading edition of the 2023 notes on global, table, metadata, intention, auto-increment, and row locks, with practical inspection and recovery guidance.

Lynn Lee · Published 2023-05-17
Earlier notes · 2023

MySQL Study Notes: Transactions, Logging, and MVCC

An English reading edition of the 2023 notes, covering isolation, undo and redo, binary logs, commit coordination, replication, and buffer-pool behavior.

Lynn Lee · Published 2023-05-16
Earlier notes · 2023

Java basics — archived entry

This page preserves the original URL of an early notebook entry. Continue with the engineering series for the current articles.

Lynn Lee · Published 2023-05-12
Earlier notes · 2023

MySQL Fundamentals: Data Models, Query Execution, and Row Storage

An edited English edition of the archived study notes, covering relational design, storage engines, SQL execution, and InnoDB records.

Lynn Lee · Published 2023-05-12
Earlier notes · 2023

MySQL Indexes: B+ Trees, Composite Keys, and Execution Plans

An edited English edition of the archived indexing notes, from InnoDB pages and composite-key ranges to EXPLAIN and COUNT semantics.

Lynn Lee · Published 2023-05-12
Earlier notes · 2021

Merging Jupyter Notebooks and Fixing an Encoding Problem

An archived note on combining notebook cells and outputs with nbmerge, and diagnosing an incorrectly encoded output file.

Lynn Lee · Published 2021-10-21
Earlier notes · 2020

Traffic Flow Prediction: A Research Resource Directory

An archived collection of papers, competition solutions, PyTorch examples, and spatiotemporal forecasting resources from my earlier research.

Lynn Lee · Published 2020-08-22
Earlier notes · 2020

MCM/ICM Retrospective: Problem Selection, Clear Reasoning, and Visual Communication

Lessons from our 2020 Problem A Finalist submission, including a costly change of direction and the value of a coherent technical narrative.

Lynn Lee · Published 2020-05-03
Earlier notes · 2020

Installing TensorFlow 2.1 with GPU Support on Windows: A Historical Note

An archived Windows setup report, covering CUDA, cuDNN, the Visual C++ runtime and the distinction between a TensorFlow smoke test and GPU verification.

Lynn Lee · Published 2020-04-14
Earlier notes · 2020

Lessons from China's Undergraduate Mathematical Modeling Contest

A retrospective on team preparation, modeling practice, implementation, and communicating a solution under a three-day deadline.

Lynn Lee · Published 2020-02-22
Lynn Lee's Site

Data engineering · Distributed systems · AI agents

GitHub ↗RSS ↗About
Copyright © Lynn Lee's Site 2026
Lynn Lee