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.

Comments

aufumy’s picture

Version: » 4.7.x-1.x-dev
Status: Active » Closed (won't fix)

There are likely other improvements that can be made to give faster pages, including the amount of data cached before thinking about parallel processes.

janusman’s picture

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().