Sunday, December 6, 2020

Design cache for an expensive API

Figure out a API request hash. Hash the value. When to expire?

If possible, store in memory. CA KV like Redis. Api Request hash+Time is Key.

No comments:

Post a Comment

Free AI Chat tools

https://grok.com https://x.com/i/grok https://chatgpt.com https://copilot.microsoft.com https://chat.deepseek.com https://www.meta.ai https:...