  Offloading resource-intensive jobs to the cloud and nearby users is a
promising approach to enhance mobile devices. This paper investigates a hybrid
offloading system that takes both infrastructure-based networks and Ad-hoc
networks into the scope. Specifically, we propose EDOS, an edge assisted
offloading system that consists of two major components, an Edge Assistant (EA)
and Offload Agent (OA). EA runs on the routers/towers to manage registered
remote cloud servers and local service providers and OA operates on the users'
devices to discover the services in proximity. We present the system with a
suite of protocols to collect the potential service providers and algorithms to
allocate tasks according to user-specified constraints. To evaluate EDOS, we
prototype it on commercial mobile devices and evaluate it with both experiments
on a small-scale testbed and simulations. The results show that EDOS is
effective and efficient for offloading jobs.
