Skip to content

getPersistentEntity method taking time on first request #2556

@luvsaxena1

Description

@luvsaxena1

Issue Description
We are using spring data commons version 2.4.5 in our project and we noticed from our monitoring tool that getPersistentEntity method is taking 10 - 15 sec (Screen shot attached below) specially on the first request for inserting or retrieving an object in collection.

After first request it resolves quickly until we bring new servers up. Once new servers are up, it again take similar time to to insert object in collection.

Behavior / How to Reproduce
Behavior we noticed, that every time new servers come up and if any particular new server receives request for inserting or retrieving an object in particular collection first time, getPersistentEntity is taking time. Same server will not take time for second and third request.
However, if we change server for the same collection, getPersistentEntity again take time while inserting or retrieving object, if its first insertion or retrieval request of particular collection on that server.

Let me know if you need more details. Any suggestions how we can resolve this issue ?

Screen Shot 2022-02-18 at 10 06 00 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions