Skip to content

JyAttribute.getAttr significantly slow down during multi-threading #360

Description

@newprogrammer101

I have a service deployed on AWS and use CodeGuru to analyze the performance. I have found when high concurrency >20TPS, JyAttribute.getAttr makes CPU in 95% of BLOCKED time. There was an issue in 2016, but I do not think it got resolved completely as there is still a Synchronized(ob) https://bugs.jython.org/issue2452.

This brought a huge latency impact due to synchronized. I am looking for a way to improve the performance during high-concurrency to avoid this kinds of lock. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions