Lexicon//26 concepts//Ratings saved on this device
Engineering Glossary & Architecture Lexicon
Explore the concepts used in real engineering teams, rate your understanding, compare architectural trade-offs and jump into the simulation stages that use them.
Index volume
26
Concepts
Applied
0
Self-rated
Conceptual
0
Self-rated
New to me
0
Not rated
26
Rated
0%
Architectural trade-off matrix
At-least-once vs exactly-once
At-least-once + idempotent writes
Duplicates possible on retry
Simple offset handling
Dedupe at the sink (MERGE)
for batch in consumer:
merge_into_warehouse(dedupe(batch))
consumer.commit() # after write
Exactly-once processing
One committed effect within the guaranteed boundary
Kafka transactions can coordinate records and offsets
External sinks need compatible guarantees; cost depends on design
Verdict: For this pipeline, at-least-once delivery with verified idempotent writes is a practical candidate. Neither approach automatically guarantees correct external warehouse state; compare failure boundaries, side effects and operational constraints.
Streaming vs micro-batching
Micro-batching
Latency: minutes
Scheduled job, easy retries
Cheap; small teams can run it
# every 5 min (Airflow)
load_new_files('s3://bids/', since=last_run)
run_sql('MERGE INTO fact_bids ...')