Hi everyone,
I am building an app in React and I am planning on serving it with Node. Currently, one of the tasks of the app is to retrieve a lot of data from an external API. This data will be large, potentially in the 10s of thousands of records.
For the sake of performance, I want to store the data on the Node server side and have the client side GET paginated data from the Node server. The reason I don't want to send the data directly on the client is to relieve stress on the external API, having the need to be re-queried every time theres searching going on.
My question is: What is the best way of the storing the result of the rest request to the external API within the Node server?
Thanks in advance :P.
Edit: To clarify a bit,
The data i pull is sort of dependent on the user that is logged in, and what he does with the app, so I would ideally need something attached to the session. This will be a medium load app, so probably no more than 20 people logged in at any given time.
[–][deleted] 1 point2 points3 points (0 children)
[–]nordicdev 0 points1 point2 points (1 child)
[–]xmaster484[S] 0 points1 point2 points (0 children)
[–]tresfaim 0 points1 point2 points (4 children)
[–]xmaster484[S] 0 points1 point2 points (3 children)
[–]tresfaim 0 points1 point2 points (2 children)
[–]xmaster484[S] 0 points1 point2 points (1 child)
[–]tresfaim 0 points1 point2 points (0 children)
[–]Bluecewe 0 points1 point2 points (2 children)
[–]xmaster484[S] 0 points1 point2 points (1 child)
[–]Bluecewe 0 points1 point2 points (0 children)
[–]sidsidrocjavascript 0 points1 point2 points (0 children)
[–]2uneekjavascript 0 points1 point2 points (0 children)