rubyonjets / jets

Ruby on Jets
http://rubyonjets.com
MIT License
2.6k stars 181 forks source link

cache Stack.lookup output in class memory #699

Closed tongueroo closed 10 months ago

tongueroo commented 10 months ago

Summary

Reduces CloudFormation API calls to avoid Rate exceeded Aws::CloudFormation::Errors::Throttling

Context

https://community.boltops.com/t/store-shared-resource-name-store/766

How to Test

Sanity check with List.lookup(:waitlist_url) example.

To reproduce, call the method with 1000 threads.

Version Changes

Patch