Performance Impact On Switch To FusionCache #483
Replies: 1 comment 2 replies
-
Hi @bendursley in general in the benchmarks I saw or run FusionCache is faster than LazyCache (when used with the same features, of course). Meanwhile though, can you clarify one thing? You say it looks like it's 15% slower, but you mean only on a cache miss (when it calls the factory, etc) or as an average off all requests in a period of time (so, 1 cache miss + all the others cache hit)? Also I think there are minor issues (maybe copy-paste errors?) in the snippets, since there seem to be some missing Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! We've got a middleware in our services, which we've swapped to use FusionCache from Lazy App Cache, which loads up some customer configuration.
We don't have Redis or a backplane set up for it, we're happy with our services, which are multi-instance calling in to the data store. We currently have that via existing App Cache.
However, one thing we've noticed, is that FusionCache seems to be slower than what it's replaced, and we're not sure of the best way to try and get to the bottom of why.
We've run load tests, and it does seem that FusionCache is ~15% slower (in terms of response time and request throughput) than what it is replacing.
We've got the method call below that we use, but wondered if we'd missed anything, or if there was any general guidance here.
Beta Was this translation helpful? Give feedback.
All reactions