Parallelize the fetches
moshe weitzman - December 21, 2006 - 20:33
| Project: | OpenSearch Aggregator |
| Version: | 4.7.x-1.x-dev |
| Component: | Other |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
if there were some way to run the queries in parallel we could give faster pages. might be out of scope for php alone. not sure.

#1
There are likely other improvements that can be made to give faster pages, including the amount of data cached before thinking about parallel processes.
#2
You can open simultaneous non-blocking sockets with fsockopen(). For an example implementation see
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/millennium/...
in functions _millennium_nonblocking_http_request() and millennium_fetch_recordpage_preload().