IoT Services Deployment over Edge vs Cloud Systems: A Simulation-based Analysis