What is Nostr?
fishcake / The Fishcake πŸΆπŸΎπŸŸπŸŽ‚πŸ‡―πŸ‡΅
npub137c…k37w
2024-04-26 06:29:24

fishcake on Nostr: #techtips When you are running a large system that you cannot shutdown for ...

#techtips
When you are running a large system that you cannot shutdown for maintenance and want to change some critical data infrastructure, you can utilize methods like double-publishing and back-fill. What this means in concrete terms, is that you perform the change in stages. At stage one you code your software to publish changes to both backends, but you only read from the old one. While this is happening, you backfill all of the data before double-publishing started, to synchronize your new backend. After confirmation of the parity, you go into phase two, where you still publish changes to both backends, but read from the new one. This offers you a chance to rollback, if you find any issues. You stay in this mode for a week or so, to πŸ’― make sure all is good. Once you confirmed that new backend is healthy and performs to your expectations, you turn-off publishing to the old back end. Stay there for another week, and if still everything works, start shutting down the old one and cleanup of the code.
Subscribe for more #techtips
🐢🐾🫑
Author Public Key
npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w