Skip to content

NH-3329 - NHibernate.Engine.TwoPhaseLoad is slow @ done materializing entity #872

Open
@nhibernate-bot

Description

@nhibernate-bot

Praveer kumar created an issue — 22nd November 2012, 9:45:41:

Hi,

It is a weird performance issue.

I am calling my method concurrently for 25 users with same values as input.
The expected time to return the result should be almost same (or little variation).

I am using Alachisoft - NCache for 1st and 2nd level Cache.

But the results are highly deviated from each responses. Minimum is 0.8 second and max is 14 seconds.

When I started full log using Log4Net, I found there are many instances of "done materializing entity" from "NHibernate.Engine.TwoPhaseLoad" which takes 2-3 seconds.

Please find the attached screenshot of the log.

for 1 request , log between id = 60756460 and 60756462 is very fast.
But in other request 60722053 and 60722056 is very slow (~5 seconds).
Though it should be same (little deviation)

Any Idea?

img1

img2


Oskar Berggren added a comment — 22nd November 2012, 12:50:32:

This is rather vague for a bug report and might have been better suited for the mailing lists. Can you create a test case that demonstrates the issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions