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

Improve performance #405

Closed maximusunc closed 1 year ago

maximusunc commented 1 year ago

This PR is aimed at improving the performance and speed of Strider.

kennethmorton commented 1 year ago

Make sure tests are good and then let's merge it. The performance upgrade is huge!

cbizon commented 1 year ago

So if the redis runs out of memory does it chuck the oldest things first? Assuming it does, then yeah, I think you could up TTL to twice or 4 times its current amount.

maximusunc commented 1 year ago

I have redis key eviction set up to use volatile-lfu: https://redis.io/docs/reference/eviction/

uhbrar commented 1 year ago

It's also very concerning that the tests are taking 5+ minutes to run, and I suspect they won't actually finish. Something is going on here.