Changes between Version 18 and Version 19 of NonSqlBackends


Ignore:
Timestamp:
08/20/2009 07:19:49 AM (6 years ago)
Author:
garnaat
Comment:

Adding info on paging in SimpleDB

Legend:

Unmodified
Added
Removed
Modified
  • NonSqlBackends

    v18 v19  
    5151TODO(mitch?): Find out if this is efficient (even for millions of items) or if it's better to provide bookmarks at a higher level.
    5252
     53SimpleDB provides it's own paging mechanism, returning a token with your result set if there are more results available.  You then issue the same query again, passing the token as a parameter.  This is by far the most efficient way to handle it in simpledb and scales very well.  In boto, I wrapped that whole thing in a generator so you can seamlessly iterate over the entire resultset without dealing with the additional requests so if we wanted to handle paging at a higher level we could use that approach.
     54
    5355== count() ==
    5456
Back to Top