zlacker

[parent] [thread] 5 comments
1. KirinD+(OP)[view] [source] 2019-05-27 17:35:04
The box turning off, the disk interface failing, and/or the link to the database failing in mid instruction.

Same as SQS.

replies(3): >>xyzzy_+Xc >>z3t4+0g >>mcquee+Nk
2. xyzzy_+Xc[view] [source] 2019-05-27 19:22:29
>>KirinD+(OP)
All of those would result in a write failure from the application's perspective, which is fine, and must be accounted for regardless (e.g. retry, two phase commit, log an error, whatever).
3. z3t4+0g[view] [source] 2019-05-27 19:53:24
>>KirinD+(OP)
Also the FS might report the data as written but its actually in a write cache and will be lost if the plug is pulled.
replies(1): >>gmueck+zp
4. mcquee+Nk[view] [source] 2019-05-27 20:44:33
>>KirinD+(OP)
But you have to explicitly delete the message from SQS, right? You'd only delete after confirming you processed the message, right? So if you die mid-instruction in processing a message, the message just re-appears in the SQS queue after the visibility timeout.
replies(1): >>KirinD+bD
◧◩
5. gmueck+zp[view] [source] [discussion] 2019-05-27 21:31:53
>>z3t4+0g
Not an issue if you follow th e recommendations in the PostgeSQL documentation. The way to comfigure write caches is described there.
◧◩
6. KirinD+bD[view] [source] [discussion] 2019-05-28 00:34:39
>>mcquee+Nk
That's a feature, and one your have to replicate in your postgres queue.
[go to top]