Cache the Amazon API in Redis: Shared TTLs and a Stampede Lock
A SQLite or in-memory cache only protects one process. Redis shares one TTL cache across every worker and web dyno calling the SellerMagnet API, and a short SETNX lock stops ten workers that miss the same key at the same moment from paying for the same credit ten times.