Claude Message Batchesでいちばん怖いのは「成功」だった
https://papoo.work/doc/203903ab6eb8913d
#ai #claude #バッチ処理 #idempotency #業務設計

Claude Message Batchesでいちばん怖いのは「成功」だった
https://papoo.work/doc/203903ab6eb8913d
#ai #claude #バッチ処理 #idempotency #業務設計
Agent 会失败,失败会重试——这是常态。 但重试有个隐蔽的坑:副作用被执行两次。 发邮件、扣款、创建工单这类「写」操作, 第一次可能已经成功,只是响应超时没回来; Agent 一重试,又做一遍。 重复扣款、重复下单,就是这么来的👇🧵 #AIAgent #AgentDev #Idempotency
#Coding isn’t the main differentiator anymore. What really sets you apart is how you design and maintain systems when things go sideways: #idempotency, retries/timeouts, consistency, rate limiting, and #observability.
Retrying a POST after a timeout creates a second write, not a second attempt. A timeout tells you the outcome is unknown, not that the request failed.
iOSの再試行が“二重実行”を生むときに考えたこと
https://papoo.work/doc/0db4f257cdead012
#ios #重複実行 #idempotency #kafka #認証
iOSの再試行が“二重実行”を生むときに考えたこと
https://papoo.work/doc/0db4f257cdead012
#ios #重複実行 #idempotency #kafka #認証
Designed an idempotent payment API using Idempotency-Key and SQL Server. No more duplicates on retries! #aspnetcore #idempotency
iOSの再試行が“二重実行”を生むときに考えたこと
https://papoo.work/doc/0db4f257cdead012
#ios #重複実行 #idempotency #kafka #認証
A payment endpoint survived every retry because of one unique index nobody documented. Here is how to spot that accidental guarantee before someone drops it.
iOSの再試行が“二重実行”を生むときに考えたこと
https://papoo.work/doc/0db4f257cdead012
#ios #重複実行 #idempotency #kafka #認証
iOSの再試行が“二重実行”を生むときに考えたこと
https://papoo.work/doc/0db4f257cdead012
#ios #重複実行 #idempotency #kafka #認証
Every exactly-once mode is at-least-once plus dedup inside one system. The moment your handler calls an external API, the guarantee ends at your function boundary.
Keep the financial effect's identity across replay runs.
This payment replay protocol includes a worked trace and a projection-only fixture:
hackmd.io/@dmytro-nasy...
A successful retry can repeat the damage.
A timed-out payment may already be complete. Pharos Production builds event-driven wallet systems. Recovery must account for effects already performed.
pharosproduction.com
Retry failed API calls without duplicates by choosing when to build, buy, or wait. Leverage idempotency keys and automation tools for seamless workflows. #API #Automation #Idempotency