HurriCache как координатор состояний. Часть 1: атомарные счётчики и идемпотентность
Full story
The article starts a series on HurriCache as a state coordinator, beginning with atomic counters and idempotency. It explains why a naive increment can lose credits, while a “check and write” approach can charge money twice. It says two atomic operations solve these problems and examines early cases involving metrics aggregation and payment idempotency on HurriCache.
Почему наивный инкремент теряет начисления, а «проверил и записал» списывает деньги дважды — и как решают проблемы две атомарные операции. Разбираем первые кейсы цикла: агрегация метрик и идемпотентность платежей на HurriCache. Читать далее