Analyst Bootcamp Join on TelegramJoin
Drill #45 · 2026-11-20

Duplicate lease holds and out-of-order checks

Duplicate lease holds and out-of-order checks: sequence diagram (AS-IS · Lease signing flow today)
AS-IS · Lease signing flow today · hand-drawn sequence diagram: how things work today, the starting point for the task

The situation

You are the lead analyst at HomeNest, a rental platform. When a tenant signs a lease in the NestLease app, the system publishes a LeaseSigned event; PayFlow holds the deposit, ScreenPro starts the background check, and Mailer sends a welcome email. Ops reported duplicate deposit holds and background-check triggers arriving before the lease event.

Finance lead says, "We can't afford to double-charge deposit holds."

Your task

  1. List all domain events with name, payload fields, producer, and main consumer.
  2. For each consumer, state how it ensures idempotency and proper ordering using lease_id/event_id.
  3. Propose a handling method for ScreenCompleted events that arrive before LeaseSigned, and state why it is preferred.

What this event-driven design (events & consumers) exercise trains for ba + sas

Define domain events, their payloads, producers and consumers, ordering and duplicate delivery handling. The setting is real estate / rental platform: listings, viewings, contracts, deposits, tenant screening, maintenance requests.

Typical deliverables for this kind of task:

  • event list with payloads
  • consumers and their reactions
  • ordering/duplicates/out-of-order handling

Senior level: ambiguity or conflicting constraints, cross-system impact, needs a decision with justification; still one focused slice, not the whole project. Budget 45–90 minutes.

#event_driven#real_estate#rentals

Read the theory first