Edge computing vs cloud computing, a comparison