ranking-agent / strider

A TRAPI-compliant component of ARAGORN that queries distributed KPs and assembles answers to user questions.
MIT License
3 stars 0 forks source link

Add error handling for cache connection errors #447

Closed maximusunc closed 3 months ago

maximusunc commented 3 months ago

One thing to note is that if the cache isn't available, Strider will get a new registry of kps for every single query. This is very suboptimal, but would allow us to respond in real time until we could get the redis back up.

maximusunc commented 3 months ago

Hmm. I think I can make it better. An in-memory registry that is just loaded on startup. Cause getting it in real time takes about 20 seconds, and that's just cutting into our lookup time.