Amazon Licensing

You import your data from Amazon, but the license agreement with them states that you can not hold much of the data beyond 24 hours, some items 1 month. They also only allow 1 call per second. How do you get past these limitations? (I personally think the 1 call per second is not enough for a web application.)

The 24 hours thing mainly applys to the current amazon price which I don't display (for this very reason).

Okay, but how about the 1 call per second rule. That's a biggy. At most you can only store data for 1 month, so you must either have a background process running or update when users view it, which after you start to grow is going to pass that limit. I have never found a way around that. (Don't get me wrong. If you are just storing the data, or saying the heck with the one second rule, that's between you and Amazon. I just don't want to upload my library and have you get shut down.)

I run a similar site. What we do is have a batch table in which all requests are put (e.g. get itemthis, get itemthat). We then have a worker process which executes one command per second from that table. In the table, some commands are prioritised higher than others.
A bit of a pain to set up but it works quite well.
A bit of a pain to set up but it works quite well.