JALURI 17,453 SUMMARIES / 50 SOURCES
SEARCH LAST PASS 07:00 ATOM

Taming Post Claps

A race condition allowed manipulation of clap counts, prompting a fix using DynamoDB condition expressions and consistent reads.

MAIN POINTS
  1. A race condition bug allowed users to manipulate clap counts on Medium posts.
  2. The fix involved using DynamoDB conditional writes and strongly consistent reads.
  3. The bug did not affect earnings but caused UI discrepancies and was fixed with a backfill script.
TAKEAWAYS
  1. The bug was identified through a detailed user report and fixed to prevent future manipulation.
  2. Medium's Partner Program rewards are based on unique clappers, not total clap counts.
  3. Historical clap counts were corrected, ensuring data integrity without affecting partner earnings.
READ THE ORIGINAL