Announcement Announcement Module
Collapse
No announcement yet.
Runtime performance of Repository proxy for mongo-db is very slow. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 08:52 AM.

  • #2
    Sorry, spring managed repository has different connection options then manually created.

    Comment


    • #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.

      Comment


      • #4
        Yes, it is solved. Thank you.

        Comment

        Working...
        X