Replies: 1 comment
-
/cc @gwenneg (cache) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon, I am currently implementing cache in a quarkus microservice to call a STORED PROCEDURE that is located in an ORACLE DB, my question here is that although I have seen improvement in the results of the queries, I see that a query can be executed in a time of 89 ms, while others can be consulted at a time of 11 ms, so I would like to know if it is normal behavior or it should be as low as possible:
Configure the CacheResult and CacheKey (I have 2 search fields in my input SP that must always be both, is it okay to use only one cache? In this case use documentNumber as CacheKey) in my classes public class FindPrepaidAccountByDocumentRepository, which is the implementation of an interface
I set the expiration time for my cache in my properties to 60 seg:
This is how my queries go:
Test number 1 with a response time of 68 ms
Test number 1 with a response time of 8 ms
Is this normal behavior or should it improve?
Beta Was this translation helpful? Give feedback.
All reactions