Query Processing in Connectivity-Challenged Environments