Hacker News new | ask | show | jobs
by catlifeonmars 2452 days ago
Proxy the calls to the external API via your own gateway. You’ll get better control over caching behavior, push complexity away from the client, and have more control over how you handle dependency failures. Also, you should load test lambda with expected traffic patterns to actually validate that container-based caching is insufficient. Dynamo also has good in-dc latency, with very good scaling behavior.
1 comments

interesting. yeah I'm definitely proxiying all API calls through my own gateway. and yeah I'll have to run some tests.