2008/02/22 19:05:15
16
4
0 www.phpied.com [
この元コンテンツへ ]
The basic idea of a Web 2.0-style "mashup" is that you consume data from several services, often from different providers and combine them in interesting ways. This means you often need to do more than one HTTP request to a service or services. In PHP if you use something like file_get_contents() this means all the requests will be synchronous: a new one is fired only after the previous has completed. If you need to make three HTTP requests and each call takes a second, your app is delayed at least three se...
[
← 前の画面 ]
【 PR 】 CSSの最新トピックス [
ニコニコ風 ] [
Feeling Lucky ]
■ この情報のコメント・メモ ■
GTD::資料(いつか使う)phpied.com�BlogArchive�SimultaneuosHTTPrequestsinPHPwithcURL [ sankaseki ]
PHPで複数APIを同時に叩いて超高速化する [ nondelion ]
PHPでの同時リクエストのサンプル。PHPで複数個所のAPIを同時に使う事があったらやってみよう。まぁ、マッシュアップならJSで全部済ませるのが一番早いだろーけど。 [ xlune ]
curl_multi [ aki77 ]
PHPで複数APIを同時に叩いて超高速化 [ kenji00 ]
curl_multi_*関数を使って並列でリクエストを投げる [ koyhoge ]
cURLのcurl_multi_*関数を使って並列リクエスト処理を行う方法。直列で処理するより高速。(英語) [ wacky ]
phpied.com�BlogArchive�SimultaneuosHTTPrequestsinPHPwithcURL [ sankaseki ]
[
← 前の画面に戻る ]