Saturday 15 August 2015

php - How to dynamically add extra requests to a Guzzle Pool? -



php - How to dynamically add extra requests to a Guzzle Pool? -

i'm using guzzle (http://guzzlephp.org) big number of urls (~300k) . urls retrieved elastic search instance, , maintain adding urls pool pool stays rather little instead of adding them @ once.

is possible? looked @ pool.php, did not find way this. there way?

look @ http://mtdowling.com/blog/2014/09/28/guzzle-ring/, in "sending requests concurrently" section.

you can utilize generator add together requests while guzzle pool sending them.

php guzzle

No comments:

Post a Comment