Reddit Programming
200 subscribers
1.22K photos
126K links
I will send you newest post from subreddit /r/programming
Download Telegram
Decomposing a Payment Gateway Integration — sys.log
https://www.reddit.com/r/programming/comments/1t30ob2/decomposing_a_payment_gateway_integration_syslog/

<!-- SC_OFF -->A real run on a 14-file track. Eight modules, a circular dependency caught and broken before any code was written, and an LLD with contracts for the two high-complexity modules. <!-- SC_ON --> submitted by /u/mpise (https://www.reddit.com/user/mpise)
[link] (https://www.bashforce.com/posts/decompose-payment-gateway.html) [comments] (https://www.reddit.com/r/programming/comments/1t30ob2/decomposing_a_payment_gateway_integration_syslog/)
Why you can't allocate a human-readable ID before the record exists
https://www.reddit.com/r/programming/comments/1t49351/why_you_cant_allocate_a_humanreadable_id_before/

<!-- SC_OFF -->Author here. The non-obvious thing is that the idempotency key needs to gate the slot reservation, not the number assignment. The number has to stay inside Phase 2 or you get phantom allocations with no backing record. Happy to discuss the reaper design or the 2PC comparison if anyone's curious. <!-- SC_ON --> submitted by /u/Gronax_au (https://www.reddit.com/user/Gronax_au)
[link] (https://simoninglis.com/posts/task-keys-cmdock/) [comments] (https://www.reddit.com/r/programming/comments/1t49351/why_you_cant_allocate_a_humanreadable_id_before/)