Amazon Web Services: 2004年2月アーカイブ

読書記録用のスクリプトに“賞味期限”を設定したのに続き、ふるいデータを「バッチで」更新するスクリプトを作成。シェルから呼ぶようにしてcrontabで自動実行しようと考えたが、ssh接続してもシェルが動かない。
今日はcrontabの設定だけで(<おい。)あきらめるとしよう。

前回のレスポンス改善に続いて読書記録用のスクリプトを修正。
「指定されたASINコードに対応するphpファイルが既定のディレクトリに存在しても、一週間以上たっていたらAWSにSOAPでアクセスしてphpファイルを作りなおす」ようにした。

AWS検索(SOAP利用)の検索結果をシンプルに変更。

AWS検索(SOAP利用) を改良。検索結果の画面からさらに条件を変えて検索できるようにした。さらにプログラムの記述を整理して、今後の機能追加に備える。
でも、機能追加の前にまずページナビゲーションあたりのデザインをなんとかしないと。
XSLT利用のAWS検索も、バグ(ページ切り換えの際のパス記述誤り)修正。

AWS検索(SOAP利用)のしょーもないバグを修正。
ついでに、検索結果のページから再検索が出来るように表示を変更。

うーん、もう少し整理が必要か。

Amazonからのニュースレターの「価格・在庫状況をAWSからとってきた日時の表示」に(例によってベタな)対応。
具体的には、以下の通り。
・在庫状況の文字列をaタグではさみ、aタグのタイトル属性に取得日時を仕込む。
・リンク先は新たに作ったスクリプトで、当該アイテムのasinコードを使ってAWSから情報を取り直す。
・情報を取り直したら、何食わぬ顔で元のページに飛ばす。リファラーを取得できなかった場合は取り直した情報を表示する。

あとは、定期的に情報を取り直すための仕組みをつくれば、一区切り。おそらく、情報を取得しなおすphpスクリプトを、cronで走らせるという、またまたベタな方法をとることになりそう。

昨日、「あと、問題は1点、アマゾンでの在庫状況」と書いたが、それを裏付けるようなAWSニュースレターが届いた。Excite翻訳の助けを借りてざっと訳すと以下のような感じ。

表示が重いという問題を抱えていた読書記録用のphpスクリプトを改良。
指定されたASINコードに対応するphpファイルが既定のディレクトリに存在すればインクルードし、存在しなければAWSにSOAPでアクセスしてphpファイルを作っておく、という非常にベタな方法。もともと(MTawsと異なり)リビルド時のAWSアクセス過多によるエラーは出ないので、これでストレスはかなり軽減できたのではないかと考えている。

負荷テストとして、これまで紹介してきた本やDVDなどをずらっと並べてみる。


(ISBN: 9784022643162)
¥0

(ISBN: 9784041356487)
¥0

(ISBN: 9784041356494)
¥0
Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.Error:too_many_requests: number of allowed requests has been exceeded for this API. please try again soon.B00005EDI8
B00005R5J3
B00005Y0ZP
B00005Y102
B000066AEN
B00007G0LF
B00007G0LH
B00009XLKS
B0000CNXV2
B0000D0YSJ

あと、問題は1点、アマゾンでの在庫状況だが、これも近日中に解決予定。

アーカイブ

Link