Keeping a web request alive.
- by The Machine
I have a web application , that helps download reports.
But the report generation sometimes takes a lot of time, and the web request times out through the intermediate proxy server.(Timeout :90 secs).
The workflow for downloading the report is straightforward. Client sends request to the web server. The web server generates the report , and makes it available to the client as an excel download.
The excel is generated using POI and the download is provided using Spring's AbstractExcelView.
What could be the best way to keep the web request alive(without increasing the timeout , of course) ?