Handling huge requests #2831
-
Hello, I'm currently thinking about using Postgrest for requesting data via REST API from our PostgreSQL/TimescaleDB instance. Thank you for your help. BR, Tobias |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
For now pagination( It'd be great if you could do some testing and provide feeback on the issue. We need reproducible examples. |
Beta Was this translation helpful? Give feedback.
-
As a data point: Some of my setups serve files up to 1 GB via PostgREST just fine. |
Beta Was this translation helpful? Give feedback.
-
I have a related issue, not sure if you can give me some hints @steve-chavez @wolfgangwalther I have a function (i.e. The query by itself is really fast, postgres executes it in less than 1 second. Doing an But it takes about 20-30 seconds for PostgREST to return the JSON to the browser (in green below). I tried adding more cores to the instance but it doesn't seem to help. Is there anything else I could do to get the response faster? Edit: not really sure what changed, but it's way faster now, it takes about 5 sec. Maybe it's because we were several persons calling this endpoint and I think I'm the only one right now. |
Beta Was this translation helpful? Give feedback.
As a data point: Some of my setups serve files up to 1 GB via PostgREST just fine.