Skip to content

Json parser seems to be eating up a lot of response time #2711

Closed
@gateway

Description

@gateway

Please read the following instructions carefully.

Check out #1271 for an ideal bug report.
The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!

Many members of the community use Stack Overflow and Server Fault to ask questions.
Read through the existing questions or ask your own!

For database migration help, please file a bug report at https://parse.com/help#report

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

Issue Description

Been keeping an eye out on high response times with our app in New Relic... One that stuck out was a simple class to get places that are disabled.

Looking at the transaction traces it spent most of its time in the json parser.

image

image

This seems to be happening across various classes, now I did update from 2.2.17 to 2.2.19 just fyi but not sure if thats the cause.

image

image

Steps to reproduce

Not sure really how to repo this, this was just based upon what we are seeing now in New Relic

Environment Setup

  • Server
    • parse-server version (Be specific! Don't say 'latest'.) : 2.2.19
    • Operating System: Unknown
    • Hardware: 2 Standard XL
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Heroku
  • Database
    • MongoDB version: 3.2.x
    • Storage engine: WiredTiger
    • Hardware: M1 Cluster
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Mlab

Logs/Trace

None that could be found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions