Large response size
reddit.com·2d·
Discuss: r/node
🔌API Design
Preview
Report Post

Hey, with the possible of not knowing how to do a proper job when it comes to nodejs “API/app/service” I would like to ask some opinions on how to scale and design a nodejs app in the following scenario:

Given:

- an API that has one endpoint (GET) that needs to send the quite large response to a consumer, let’s say 20mb of json data before compression

- data is user specific and not cachable

- pagination / reducing the response size is not possible at the moment

- how the final response is computed by the app it’s not relevant for now 😅

Question:

- with the conditions described above, did anyone have a similar problem and how did you solved it or what trade offs did you do?

Context: I have an express...

Similar Posts

Loading similar posts...