• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Lots of EOs slow down the performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lots of EOs slow down the performance


  • Subject: Re: Lots of EOs slow down the performance
  • From: Ken Anderson <email@hidden>
  • Date: Wed, 5 Nov 2008 09:38:15 -0500

Regarding the timeout, you should use WOLongResponsePage, which is multi-threaded and allows you to do processing while updating the page (for a progress bar, etc).

On Nov 5, 2008, at 4:56 AM, Yung-Luen Lan wrote:

Hi,

There is a task has be done in my wo app: creating thousands of (about
200,000) EOs and generating a csv file containing the information for
download.

When I create only 1000 EOs, it's fine. But if I create over 20,000
EOs, my page was kill due to no response after 30 secs. So there are
EOs created but no csv to download.

I checked the code, EO generating is fast. The problem is CSV
component. It's just a WORepetition with some WOString that reads the
EO's property directly.
I have no idea why it take so long to handle 200,000 EOs. (The result
file may exceed 5MB, however that's small in 21 century.)

How could I improve the performance? Or at least let my page won't be
killed after 30 secs.
(so I could wait for the csv to be generate.)

Regards,
yllan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Lots of EOs slow down the performance (From: "Yung-Luen Lan" <email@hidden>)

  • Prev by Date: Re: Lots of EOs slow down the performance
  • Next by Date: Re: Lots of EOs slow down the performance
  • Previous by thread: Re: Lots of EOs slow down the performance
  • Next by thread: Re: Lots of EOs slow down the performance
  • Index(es):
    • Date
    • Thread