Replies: 1 comment 3 replies
-
Wow, yeah 20 seconds seems really long. That shouldn't be the case. We are using all sorts of lazy initialization, the idea being that during app startup - it will take a bit to get out of the "cold" state, but once you're moving it shouldn't be a hindrance to performance. I'd be curious if you've done an benchmarks, side-by-side of the Cosmos DB .NET SDK, and our wrapper. That's actually a good idea, perhaps we should do that. What do you think @mumby0168? |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hey all,
I tried to find this in the discussion, but wasn't exactly sure what term to search for (searched for lazy and init)...
I recently started using this project (love the in memory testing feature, this needs to be a standard for all projects!) and am using a standard implementation of an IRepository.
The behavior I am noticing is on the first call it is taking a significant amount of time to query cosmos... Is this by design? Subsequent calls I am seeing much more familiar times.
Was wondering if there is a config or health check I am missing or if this is standard...
Beta Was this translation helpful? Give feedback.
All reactions