iOSメモリリークの特定とSwift循環参照の完全除去

アプリが原因不明のクラッシュ(OOM: Out of Memory)を起こし、ユーザーレビューが荒れる。ログには何も残っていない。これはiOS開発者が直面する最悪の悪夢です。私はかつて、画像処理アプリでわずか10分間のスクロール後にクラッシュするバグに3日間悩まされました。原因は、たった一行のクロージャによる Swift循環参照(Retain Cycle) でした。この記事では、私が本番環境…
iOSメモリリークの特定とSwift循環参照の完全除去

Cómo detectar fugas de memoria en iOS con Xcode Instruments: Guía de Producción

He pasado demasiadas noches arreglando cierres inesperados (crashes) por OOM (Out of Memory) en apps con millones de usuarios. Si tu aplicación se…
Cómo detectar fugas de memoria en iOS con Xcode Instruments: Guía de Producción

DynamoDB 핫 파티션 문제로 인한 스로틀링, 쓰기 샤딩으로 해결하기

대규모 트래픽이 몰리는 이벤트 서비스나 투표 시스템을 운영하다 보면, 충분한 WCU(Write Capacity Units)를 프로비저닝했음에도 불구하고 ProvisionedThroughputExceededException 오류를 마주하게 된다. 이는 전형적인 핫 …
DynamoDB 핫 파티션 문제로 인한 스로틀링, 쓰기 샤딩으로 해결하기

Eliminating DynamoDB Hot Partition Throttling with Write Sharding Strategies

If you are reading this, you are likely staring at a flood of ProvisionedThroughputExceededException errors in your CloudWatch logs. We encountered…
Eliminating DynamoDB Hot Partition Throttling with Write Sharding Strategies