On 7/31/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > AFAIUI the serialization already occurs on the server: the session > will be locked while you retrieve the panel contents. The client's > single request channel makes the congestion on the server less (less > threads waiting for access to the user's session). > > If you have 3 lazy panels on your page, that would mean 3 additional > requests going to the server at the same time, using 3 threads on the > server. Now imagine 1000 users requesting the same page at once (not > that uncommon, aka 9am syndrome)... > > The session (or rather the pagemap) is sync'd because we need to give > each thread exclusive access to the component hierarchy.
Hrm. Is there no way around that? We have some components that are more database intensive to build rather than java and lazy loading them in parallel is kinda the point. Serializing the display, while better than nothing, is not terribly ideal.
