[openstreetmap/openstreetmap-website] paginated browsing has disappeared from user changeset list (#1323)

dieterdreist notifications at github.com
Thu Oct 13 09:45:47 UTC 2016


2016-10-13 11:22 GMT+02:00 Tom Hughes <notifications at github.com>:

> Unfortunately they don't "work" for the poor server that in order to find
> page 7000 has to search through the preceding 6999*pagesize changesets.
>


ok, didn't know this, and it's likely a good reason to abandon the old way
(at least for the "default user", i.e. 99,999 % of all users)


> Basically traditional paging is not sustainable on large datasets because
> each page is slower and slower to access as it has to read through the data
> for all the previous pages first and the simple fact is that no real person
> is actually going to browse through 7000 pages!
>

yes, but this is what I would have to do now, because there is only one
"load more" button, while before I could have skipped the first 300 pages
in one go (by editing the url).


> The real solution, if I am right about what you are doing, is to add
> better methods to search for changesets by a given user in a given date
> range (which the server can do efficiently) not to bring back paging.
>

yes, this would be even better of course.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1323#issuecomment-253466580
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161013/2b76d2a3/attachment.html>


More information about the rails-dev mailing list