Skip to content

Longer response time in sending 1 million records using express.js #4031

@sachinavinaw

Description

@sachinavinaw

Hi there,

I have developed an application that rely heavily on database on following environment-

node v10.15.3
postgresql v10.5

200 concurrent applications access API to execute read all records from database. In response, 1 million record is returned by the database to node server and node server returns the same packet to client application. The response time is 6407.9 msec which is very high.

200 concurrent API call is made every second.
I also used compression module, but it did not help much.

Can anyone please let me know how to speed up the response time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions