Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Starman CPAN distribution.

Report information
The Basics
Id: 78823
Status: rejected
Priority: 0/
Queue: Starman

People
Owner: Nobody in particular
Requestors: rmesser [...] intellisurvey.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: add way to handle long running requests (cleanup handlers probably)
My company is currently converting its web apps from using apache/mod_perl to Plack and Starman. Most things are going well, but we really need a way to trigger long running processes via our apps. When using apache/mod_perl, for certain long processes we would register a code reference to run in the cleanup handler. The long running process would then record progress to our database, and another part of the application could monitor things by querying the database and sending ajax requests to get updates. So now that we are converting to starman we have to figure out a way to replace this. It seems to have been requested before, for example there is this page: https://github.com/plack/psgi-specs/issues/18. But from what I can tell there is no current feature to support cleanup, or actions to take place after a response is sent back to the client from the server. It would be great if this feature could be added, and my company would probably be willing to sponsor the development of such a feature if it could be done fairly soon. Thanks, Rob Messer
No need to duplicate an issue that is already tracked as a wishlist item on github.