The smart scenarios are in continuous advance thanks to the group of devices that are always connected to Internet. In the last 10 years this phenomenon has been called Internet of Things (IoT). The adoption of the IoT to generate these intelligent scenarios or smart has motivated that governments, universities, research centers or companies are in constant evolution to face the challenges brought by the deployment of IoT platforms. Its disruption in all environments generates large volumes of data, requirements by users for their applications to respond in real time, but with low bandwidth or power consumption, and without delays. The challenges presented by the development of applications for the IoT has occasioned the emergence of technologies such as Edge Computing. This paper presents GECA: A Global Edge Computing Architecture, an architecture based on Edge Computing, which has been deployed in smart farming and smart energy scenarios, with the aim of demonstrating that it is possible to reduce latency, energy consumption and bandwidth costs and integrate Edge computing in IoT platforms.