I am sharding my data into multiple mysql databases, but sometimes I will need to gather information from multiple shards. How can I query multiple mysql databases in parallel in php?
I've seen some examples of asynchronous curl requests and shell_exec, but is there a more direct way?