Hey there,

i am using merb for quite a while now, but i am often running across a
problem which i always solve in an "unclean" way.
the problem is forking a job a user submitted, in my example it's all
kinds of reports we generate.

users select different types of reports for our warehouse application,
like "send a report of all articles which only have an in-stock value
of <= 5 to our merchant".
since the data for that needs to be selected over different tables
this can be a quite challenging task for my rdbms (postgresql),
therefore such a request with our 45k articles which we always have in
stock takes about 2 minutes.

at the moment, every user has to have his browser window open until
the "report finished" page loaded, which is quite dumb since sometimes
users accidently close a window or even firefox collapses and then
they'd have to do all over again since the request would be aborted.

is there any way to give such jobs (which require no further user
interaction) into the background?

 - best regards

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to