10,000 users requires 240mb memory limit

How to develop custom Contao extensions

Re: 10,000 users requires 240mb memory limit

Postby pbrooks » Tue Nov 17, 2009 12:39 pm

I wouldn't but users are dumb and are prone to remove all filtering and render the entire lot.
pbrooks
User
 
Posts: 51
Joined: Fri Aug 07, 2009 4:36 pm
Location: Staffordshire, United Kingdom

Re: 10,000 users requires 240mb memory limit

Postby markhurd » Tue Nov 17, 2009 4:40 pm

pbrooks wrote:I wouldn't but users are dumb and are prone to remove all filtering and render the entire lot.
Users are always dumb - it's your job to make sure that doesn't negatively effect their experience with the website. :)

Could you possibly provide a default filter, in the event all others are removed? Or add pagination so X number of results are retrieved, regardless of filter settings (let the user adjust X but give them options like 25/50/250)? You could also provide a CSV or XLS export option for those few users who really do need a list of every record.
User avatar
markhurd
User
 
Posts: 73
Joined: Mon Oct 05, 2009 8:39 pm
Location: Dallas, TX, US

Re: 10,000 users requires 240mb memory limit

Postby giel » Wed Nov 18, 2009 7:33 pm

markhurd wrote:
pbrooks wrote:I wouldn't but users are dumb and are prone to remove all filtering and render the entire lot.
Users are always dumb - it's your job to make sure that doesn't negatively effect their experience with the website. :)

I agree ;) but you still have to have the ability to prevent users to do 'dumb' things. Lately, I too ran into this issue for a TL web application, listing records in the backend for a table of over 300.000 (!) records. The users kept on contacting me that their pages failed to load. At first, I could not reproduce the failure, but then I realised that they must have selected 'show all' in the limit filter for that table! And as far as I know, there is no core functionality to disable the 'show all' option from a limit filter in the TL backend...

Maybe a good feature request? What do you guys think?
User avatar
giel
User
 
Posts: 9
Joined: Tue Sep 08, 2009 2:36 pm
Location: Netherlands

Re: 10,000 users requires 240mb memory limit

Postby markhurd » Wed Nov 18, 2009 11:09 pm

I think your idea, or any of the possible solutions I mentioned in my post would all be pretty good additions!

You could make a feature request at http://dev.typolight.org/.
User avatar
markhurd
User
 
Posts: 73
Joined: Mon Oct 05, 2009 8:39 pm
Location: Dallas, TX, US

Re: 10,000 users requires 240mb memory limit

Postby giel » Thu Nov 19, 2009 8:20 am

I think I'll do that. It's a good thing to make TL friendly to large amounts of data. Also I don't see why Leo would not agree with this. I'll post here as soon as I've added the request.
User avatar
giel
User
 
Posts: 9
Joined: Tue Sep 08, 2009 2:36 pm
Location: Netherlands

Re: 10,000 users requires 240mb memory limit

Postby stefanjohannsen » Thu Mar 04, 2010 10:34 pm

Hi giel

Did you ever post this request? I now have the same problem and can't find a solution :-(
stefanjohannsen
User
 
Posts: 21
Joined: Fri Aug 14, 2009 10:35 am

Previous

Return to Developer's corner

Who is online

Users browsing this forum: No registered users