This article describes the possibility of using the ideas of FOG computing as an additional layer between robotic devices and the cloud infrastructure. FOG layer, represented as a P2P network in combination with the containerized cloud infrastructure inspired by microservice patterns, provides the ability to process data based on its time-sensitivity and to increase overall benefits despite the fact of exponential growth of data. We consider that the solution of assignment problem obtained in terms of the platform is one of the keys to achieve the goal of data analysis close to devices.