It might be that it is not your problem, but servers or cakes..
However I don't think cake was made for generating such large data..
What is the purpose of your project I mean as a whole project. Is it
like a web site, or is it console application ? If it is not web
oriented php might not be t amount of the perfect solution for you..
Maybe c++ with that data or C# etc..
You could also maybe test to see if it is MySql database problem,
CakePHP problem or your server (I'm guessing apache) problem. You can
make a script in let's say Java which will make 50 million entries to
the database, and see if it will break as well. If that works fine,
then you can see if there is a problem with apache (maybe it makes
these 2000 b when you do a http://request) by making php script
(without usage of cakephp framework, so new project) do a 50 million
saves in a row with http request and at last test cake with a 50
million saves with and without http request (by a for loop, $this-
>model->save). You will get an idea then where the problem lies, and
maybe try to work around the issue, not to use that memory leaker
etc...
Milos
On Apr 5, 5:13 am, "Dr. Tarique Sani" <tariques...@gmail.com> wrote:
> Don't really know about the memory leak but I would not use a http request
> for generating the data
>
> If you have to use PHP or CakePHP create a console script and run it via a
> cron or some other queue system
>
> Tarique
>
> On Mon, Apr 4, 2011 at 9:08 PM, ProFire <ProFir...@hotmail.com> wrote:
> > Hello Fellow Bakers!
>
> > I have developed an application to generate a family tree.
> > In one of my models, I have attached Tree Behaviour.
>
> > --
>
> =============================================================
> PHP for E-Biz:http://sanisoft.com
> =============================================================
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
No comments:
Post a Comment