QuestionQ16
Connect to and consume Azure servicesEmbeddings are stored in Redis with keys formatted as doc:(id). Some embeddings are accessed frequently, while others are rarely used.
You need to implement a caching strategy that retains only frequently accessed embeddings in memory.
What should you use?
- A volatile-ttl
- B allkeys-lru
- C EXPIRE command
- D time-window expiration
Community Discussion