



lifeofperfect
11.1K posts

@lifeofperfect
Following me is like buying bitcoin in 2009









too much idea want to finish you people on this twitter. some people are writing their business logic in their dBs 😂 how do you handle horizontal scaling, sharding and replication? how do you ensure a highly available system if your business logic is tightly coupled-



Make talent apply


🚨: The world's richest women, Alice Walton, created a 100% free medical school for underprivileged students.






JUST IN: Apple and Intel $INTC reach agreement for Intel to make chips in Apple devices, WSJ reports.


One fatal cultural flaw of ours is the collective inability to appreciate how politics at every level impacts on the most minute detail of your everyday personal life forever. E.g there’s an invisible yet straight line between your government and your height/dentition/genes, etc.






Your registration endpoint shouldn’t leave orphaned users in the database when the welcome email fails to send. The problem: user creation lives in PostgreSQL. Email sending lives in an external service. You can’t wrap both in a single database transaction. The fix: if the email fails, delete the user and their invitation. This is the SAGA pattern. When a multi-system operation fails partway through, you compensate by undoing the completed steps. Built this today in Go with Resend for email delivery and PostgreSQL transactions for the rollback.


Your registration endpoint shouldn’t leave orphaned users in the database when the welcome email fails to send. The problem: user creation lives in PostgreSQL. Email sending lives in an external service. You can’t wrap both in a single database transaction. The fix: if the email fails, delete the user and their invitation. This is the SAGA pattern. When a multi-system operation fails partway through, you compensate by undoing the completed steps. Built this today in Go with Resend for email delivery and PostgreSQL transactions for the rollback.