Writing / Networking
Networking
4 essays tagged Networking.
2026
Network failure testing: offline, latency, retries, and cancellationHow to test offline behavior, slow networks, retries, cancellation, and partial responses so network failures become product states instead of surprises.10 min readConcurrency boundaries in networking and persistenceMost concurrency bugs in iOS apps are not race conditions in the textbook sense. They are boundary violations: the wrong actor touching the wrong layer at the wrong time.10 min readImage loading on iOS: caching, decoding, and the mistakes that make scrolling worseA practical image-loading setup for iOS: cache the right thing, decode off the main thread, control request churn, and stop blaming scrolling jank on the collection view.11 min readNetworking in modern iOS: typed endpoints, retries/backoff, and observability without bloatA practical URLSession setup that scales: typed endpoints and decoding, retry rules that do not create duplicate side effects, and lightweight logging/metrics so you can measure reliability and latency.6 min read