I have a list of URLs ( 5000+ ) and I need to send 25 URLs in parallel to a internal service. I know how to send the URLs request using a single query.
curl -s http://192.168.150.113:9999/app.boxx.com
And I tried using GNU parallel,
while true;do parallel -j25 curl -s http://192.168.150.101:9999/'{}' < list;done
Is it good to use GNU parllel ? It works good but i feel the response is quite slow and the response is similar to a single API request.
Instead , Can we use ampersand ( & ) at end of each urls and send the request in parallel ?
-P(a.k.a--max-procs) option ofxargs