On Thu, Apr 14, 2011 at 6:54 PM, Tim Schaub <[email protected]> wrote:

> > Sorry, I meant to ask about *paging* on all stores.
>
> And I should add, I know it is less efficient for the server to do
> paging for stores that don't support it.  But in my mind, paging is
> about easing the burden on the client.
>
> A response set with a ton of records may be a lot for the server to
> handle, but resources are typically more limited on the client.  Paging
> manually would only add minor work on the server (as I imagine it), but
> it is a huge relief in terms of the burden on the client.
>
>
Nevertheless we have to be very careful. We have received funding to avoid
_counting_ records in WFS responses, because that takes a ton of time
if you have a 50 millions records in a Oracle database.
Yet that is a quite light operation compared to paging and sorting.

You should consider three orders of magnitude:
- the size that a javascript client can handle in a reasonable time
- the size that a server can handle in a reasonable time
- the size that a large public administrator is mandated to handle, one
  that would bring to his knees even a server if not properly handled

So I'm ok with allow administrators to give full sorting/paging support to
whatever store, but we have to be careful that this will be either
always a light operation, otherwise we have to provide the admin the option
to turn it off to safeguard the server stability

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to