Results 1 to 4 of 4

Thread: Runtime performance of Repository proxy for mongo-db is very slow.

  1. #1
    Join Date
    Dec 2011
    Posts
    3

    Default 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.

  2. #2
    Join Date
    Dec 2011
    Posts
    3

    Default

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

  3. #3
    Join Date
    Apr 2006
    Location
    Dresden, Germany
    Posts
    492

    Default

    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.

  4. #4
    Join Date
    Dec 2011
    Posts
    3

    Default

    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
  •