Monday, December 1, 2008

Re: Cake Stalling (or blocking)

Sounds to me like you need to decouple your batch process from the web
site.

What are you using to trigger the download ?

On Dec 1, 12:06 am, Elricho <elrich...@gmail.com> wrote:
> Hi Bakers,
>
> I have an odd problem with my cake application stalling/blocking.
>
> Background : I have a controller which reads 300(ish)Mb of files from
> a remote server, does some processing and leaves the files around for
> reference.  Each day it checks few headers (Last-Modified, Content-
> Length) to see if the files need to be re-downloaded and if they do
> then the files are downloaded again.
>
> Problem is my whole application (ie the whole site), blocks while the
> files are downloading. If I fire up multiple sessions to the same
> webserver then they just hang until the file downloads are finished.
> When downloading finishes then everything runs fine and downloading
> can take 8 to 10 minutes.
>
> Any thoughts ?
>
> Cheers
> Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: