Leave a comment

Comments 3

raven_ap_morgan August 8 2008, 15:42:06 UTC
I've always wondered why syncevents would be used in the first place. In MultiLJ's History dialog, I use the "getevents" call, and have had no problems with it. Then again, I've not tried a stress test of the size that you're talking about.

One of the things on my "Programming projects I'll get to one of these days..." list is a LiveJournal archiving program. That's probably the point that syncevents vs. getevents would be compared and contrasted.

Raven

Reply

sithjawa August 8 2008, 17:44:44 UTC
According to the protocol guide, syncitems is preferable to getevents because syncitems can return a much larger number of items and therefore requires fewer calls. Apparently the overhead per call is high.

Reply

ghewgill August 8 2008, 22:48:24 UTC
Check out my ljdump program for one way to do an LJ archiver. In the source comments I noted some problem I had with syncitems so it looks like I used a combination of syncitems and getevents. I don't recall the details, but what I did might provide some insight.

Reply


Leave a comment

Up