In an effort to reduce the number of database connections and queries I
make running the LRP script, I thought it would be a good idea to batch all
the "get" requests into a single query.
I added a "getbulk" action which takes a list of keys (one per line), and
returns the same data as "get" (but again, one per line). The rest of the
link creating code is the same.
It seems to speed up getting the posts, they now all appear at the same
time instead of one at a time.
The (sloppily made) code changes are attached.
Original issue reported on code.google.com by arhug...@gmail.com on 18 Jun 2007 at 8:04
Original issue reported on code.google.com by
arhug...@gmail.com
on 18 Jun 2007 at 8:04Attachments: