Added fast versions for getting and indexing pages
Found that old pagination system based on skip() and limit() scaled
terribly bad for large collections. However, if the indexing isn't based
on making a skip but instead in asking for the tweets with a higher or
lesser value for one field, the query is much much faster. Thus, using
the "id" unique field as index pagination and retrieval system can work
for large collections.
Showing
Please
register
or
sign in
to comment