Understanding edge computing or fog computing in IoT