orpiske commented on PR #10157: URL: https://github.com/apache/camel/pull/10157#issuecomment-1559127538
Sure thing. Let run the tests with `camel-caffeine-lrucache` and see how it goes. I believe we can have the results today still. > Also I think we can have a non LRU cache, we often just want to keep 1000 elements in a cache, and they may not need to be exact LRU based. So they can be FIFO or anything like that, just that the size of big enough for normal use-cases. Indeed. Maybe, it's the case we could go with a simpler alternative by default and ... if needed, we can leave a more extensible one. I was thinking maybe, we could have a ring buffer (circular queue). IMHO, we may not necessarily need to expire the least-recently used records, but we could overwrite them if needed be. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org