Skip to content

Mutations became much slower after upgrade to 2.4.15 #5337

Closed
@AlenaSviridenko

Description

@AlenaSviridenko

👋 Hi there from GitHub!

Looking for some help or ideas on a strange behaviour we observed after upgrading 2.3.22 to 2.4.15:
Following the upgrade, we noticed that mutations became much slower, P50 grew from ~290ms to ~470ms:

Image

However there is no same trend for queries, and we are puzzled by this difference. We didn't adapt any new features due to a bigger scope of work, and for the time being we just enforced old behaviour by adding the following to our Schema class:

use GraphQL::Schema::Warden
GraphQL::Schema.did_you_mean(nil)

For now we will rollback the gem to resolve the performance issues, but eventually we'd like to upgrade to a newest version. Perhaps you have any ideas on why it could get slower for mutations, and if that's something that can be fixed on a gem side? Thank you so much for looking into it! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions