fishcake on Nostr: May I drop few suggestions, take them or leave them, up to you. - Make it fully ...
May I drop few suggestions, take them or leave them, up to you.
- Make it fully transactional, ensure that when payment is processed you have committed data to at least two independent locations. HODL the LN transaction until the information is stored, and visa versa.
- Have an independent transaction sweeper, that will check for any inconsistencies, and either alert you or fix it.
- Design using “crash only” mindset, expect that the process may just crash at any point during the whole operation and stay incomplete or self-recover
- Don’t rely on browser storage, ever, things do and will go wrong
- Backup everything
🐶🐾🫡🫂
- Make it fully transactional, ensure that when payment is processed you have committed data to at least two independent locations. HODL the LN transaction until the information is stored, and visa versa.
- Have an independent transaction sweeper, that will check for any inconsistencies, and either alert you or fix it.
- Design using “crash only” mindset, expect that the process may just crash at any point during the whole operation and stay incomplete or self-recover
- Don’t rely on browser storage, ever, things do and will go wrong
- Backup everything
🐶🐾🫡🫂