Batch eligibility checks with a rake task: practical patterns for background data sync
Running a periodic eligibility check across thousands of members involves some interesting tradeoffs: batching API calls, building O(n) lookup maps, and handling failures without crashing the whole task.
