-
Dec 9th, 2011, 07:01 AM
#1
Runtime performance of Repository proxy for mongo-db is very slow.
I have tested performance of bulk save with Repository and MongoOperations.
with MongoOperations to save 10240 entities ~2seconds
with proxied Repository to save 10240 entities ~431seconds.
Profiler show me that most of time is spent by org.springframework.aop.framework.JdkDynamicAopPro xy.
windows 7 64bit
jdk 1.6_29 64bit
spring-data-mongodb 1.0.0.RC1
springframework 3.0.6-RELEASE
Last edited by bauman; Dec 9th, 2011 at 07:52 AM.
-
Dec 9th, 2011, 08:30 AM
#2
Sorry, spring managed repository has different connection options then manually created.
-
Dec 12th, 2011, 05:48 AM
#3
So does that mean the issue is solved or at least explained for you? Not that configuring different WriteConcerns heavily impact performance. So make sure you're using the very same MongoTemplate instance for both direct access and repository usage when doing performance comparisons.
-
Dec 12th, 2011, 06:11 AM
#4
Yes, it is solved. Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules