M B V R K
Cache response time issue
After many diagnostics, mostly the issue because of the
Deserialization
, deserializing and mapping 10000
records take so much time, so at this moment the ideal solution is to not cache that amount of items (10000) bellow one key,31 replies
Cache response time issue
I test on that
Candidates
table which contains 10000
record, when data comes from the database it takes 3 seconds
but when it comes from the cache
it takes 30
seconds. (I used postman
and StopWatch
for calculating the time elapsed)31 replies
Cache response time issue
Example:
I have this query handler:
The issue:
The issue is when there is a cache available the application took a lot of time to get the data from the cache, but when there is no cache or the cache is expired (means the app should now select the data from the database then cache it) it took very less time.
31 replies