Re: [html-formfu] Speed of processing

2009-11-03 Thread Ronald J Kimball
Octavian Râşniţă wrote: Of course, if an object is stored in the memory and more users use it, the data is sent by reference and everyone gets it, but beeing afraid of memory leaks... I always prefered a cache that store a serialized data. (Which in case of HTML::FormFu might not be possible)

Re: [html-formfu] Speed of processing

2009-11-03 Thread Octavian Râşniţă
From: "Ronald J Kimball" A user accesses the form. This creates a cached version of the form. A second user gets the form from the cache and adds data to it. Without cloning the form, the data would be stored by reference in the cache or something like that, and the other users would also get

Re: [html-formfu] Speed of processing

2009-11-03 Thread Ronald J Kimball
Octavian Râşniţă wrote: Well, I think I understand now... or not? :-) A user accesses the form. This creates a cached version of the form. A second user gets the form from the cache and adds data to it. Without cloning the form, the data would be stored by reference in the cache or something

Re: [html-formfu] Speed of processing

2009-11-03 Thread Carl Franks
2009/11/3 Octavian Râşniţă : > From: "Carl Franks" > 2009/11/2 Octavian Râşniţă : >> >> From: "Carl Franks" >> ... >>> >>> Ok, but if each user should have its own form, then how does the cache >>> help >>> the users? >>> I thought that the forms could be saved without the data they contain... >>

Re: [html-formfu] Speed of processing

2009-11-02 Thread Octavian Râşniţă
From: "Carl Franks" 2009/11/2 Octavian Râşniţă : From: "Carl Franks" ... Ok, but if each user should have its own form, then how does the cache help the users? I thought that the forms could be saved without the data they contain... only the structure of the form, without any data, which shou

Re: [html-formfu] Speed of processing

2009-11-02 Thread Carl Franks
2009/11/2 Octavian Râşniţă : > From: "Carl Franks" > ... >> >> Ok, but if each user should have its own form, then how does the cache >> help >> the users? >> I thought that the forms could be saved without the data they contain... >> only the structure of the form, without any data, which should

Re: [html-formfu] Speed of processing

2009-11-02 Thread Octavian Râşniţă
From: "Carl Franks" ... Ok, but if each user should have its own form, then how does the cache help the users? I thought that the forms could be saved without the data they contain... only the structure of the form, without any data, which should be the same for all users. In that case the prog

Re: [html-formfu] Speed of processing

2009-11-02 Thread Carl Franks
2009/11/2 Octavian Râşniţă : > From: "Kahlil Hodgson" > On 10/30/2009 08:37 AM, Octavian Râşniţă wrote: > >> You are probably right. I don't think I understand very well why the >> form should be cloned, > > Carl is right on the money :-) Cloning is definitely necessary and is > what I use in my s

Re: [html-formfu] Speed of processing

2009-11-02 Thread Octavian Râşniţă
From: "Kahlil Hodgson" On 10/30/2009 08:37 AM, Octavian Râşniţă wrote: You are probably right. I don't think I understand very well why the form should be cloned, Carl is right on the money :-) Cloning is definitely necessary and is what I use in my single-process cache. Think of the case wh

Re: [html-formfu] Speed of processing

2009-11-01 Thread Toby Corkindale
Kahlil Hodgson wrote: On 10/30/2009 08:37 AM, Octavian Râşniţă wrote: Unfortunately this is a very big issue because the speed decrease is very high and if a page uses a form made with HTML::FormFu it becomes unimportant if other parts of the page do caching, or if we use database query improvem

Re: [html-formfu] Speed of processing

2009-10-31 Thread Kahlil Hodgson
On 10/30/2009 08:37 AM, Octavian Râşniţă wrote: You are probably right. I don't think I understand very well why the form should be cloned, Carl is right on the money :-) Cloning is definitely necessary and is what I use in my single-process cache. Think of the case where two different clie

Re: [html-formfu] Speed of processing

2009-10-29 Thread Octavian Râşniţă
Hi Carl, From: "Carl Franks" 2009/10/29 Octavian Râşniţă : Hi, I've seen that by just adding the attribute "FormConfig" in a subroutine declaration in a Catalyst controller that subclasses Catalyst::Controller::HTML::FormFu decreases the response speed from 36 requests to only 5 requests per s

Re: [html-formfu] Speed of processing

2009-10-29 Thread Carl Franks
2009/10/29 Octavian Râşniţă : > Hi, > > I've seen that by just adding the attribute "FormConfig" in a subroutine > declaration in a Catalyst controller that subclasses > Catalyst::Controller::HTML::FormFu decreases the response speed from 36 > requests to only 5 requests per second, without changin

Re: [html-formfu] Speed of processing

2009-10-29 Thread Octavian Râşniţă
Hi Kal, From: "Kahlil Hodgson" Good Morning Octavian On 10/30/2009 12:12 AM, Octavian Râşniţă wrote: I've seen that by just adding the attribute "FormConfig" in a subroutine declaration in a Catalyst controller that subclasses Catalyst::Controller::HTML::FormFu decreases the response speed fro

Re: [html-formfu] Speed of processing

2009-10-29 Thread Kahlil Hodgson
Good Morning Octavian On 10/30/2009 12:12 AM, Octavian Râşniţă wrote: I've seen that by just adding the attribute "FormConfig" in a subroutine declaration in a Catalyst controller that subclasses Catalyst::Controller::HTML::FormFu decreases the response speed from 36 requests to only 5 requests