Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Ask HN: Preventing Starbucks card type hacks | Better HN
Ask HN: Preventing Starbucks card type hacks
3 points · by
tmaly
· 11y ago · 2 comments
What strategies have you employed when creating a system to prevent race conditions like happened to Starbucks where people are able add money to their cards?
Comments
[–]
pizza
11y ago
Seems like a job for a mutex! Though I'll admit I haven't actually employed strategies against race conditions in any kind of web context...
[–]
danielayoub
11y ago
Use chip & pin.