gpodder/gpodder — pull request #62 by stefankoegl (2013-01-21 13:11:06+00:00)
Title: Upload episode actions in batches (WIP)

Uploading of episode actions to gpodder.net should be done in batches. This would solve two main causes of high traffic on the webservice:
* empty uploads
* large uploads that do not finish within gPodder's timeout (1min) and are constantly retried

A major part of gpodder.net's traffic is caused by these two types of episode action uploads. When uploading in batches, each batch is more likely to succeed than one large batch, and the client only needs to send the remaining actions, if the first few batches succeed. This also eliminates empty uploads which currently account for ~70% of all episode action uploads.

***This still needs some more testing; feedback on the patch itself is appreciated in the meantime.***