Skip to content

Performance Issue with big json result #226

Open
@ahmedsaedhub

Description

@ahmedsaedhub

Hello Guys,

The response time take too much time in order to return the response of a big json result.
while tracing the issue i get the result from database in about 1.2 sec as a json result, then after return it to action method takes too much time to resolve (about 20-30 seconds).

I tried using @controller() instead of @jsoncontroller() in order to not forcing the response to re-parse again, with no effect.

The only solution worked with me is, getting the KOA context "@ctx()" and send the result directly, and it's working fine now.

Any other solution for this issue?

Metadata

Metadata

Labels

status: awaiting answerAwaiting answer from the author of issue or PR.type: featureIssues related to new features.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions