开发者

Amazon API ASP.NET

开发者 https://www.devze.com 2023-04-12 18:06 出处:网络
I am working on a site (ASP.NET MVC) that will ultimately display millions of book. I already have the titles and authors of these books in my MySQL database.

I am working on a site (ASP.NET MVC) that will ultimately display millions of book. I already have the titles and authors of these books in my MySQL database.

The goal is when a user searches for book, the top 20 matches (title and author) will appear on the page. I then plan to use the Amazon API to get more information (isbn, image, description etc) for these 20 books and flesh out these i开发者_运维知识库tems via Ajax. I would then also add this info to MySQL so next time these specific books are requested, I already have the data.

My question is what Amazon Web Service should I use? There are so many like Amazon S3, Amazon SimpleDB etc. I just don't know which would be best for my needs. Cost is also a factor.

Any guidance would be greatly appreciated.


The API you're looking for is Amazon's Product Advertising API:

https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html


in short, Amazon S3 is a technology oriented on large data storage whilst SimpleDB is a non relational database (as mongoDB and raven could be).

We use the first for storing the static files (javascript, css and pictures).

The first is cheaper but you can only retrieve a "file" at once. The second gives you some degree of support to queries.

If you need a relational database, you could use Amazon RDS which is a MySql database ready for replicas.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号