In the last decade, the increasing number of devices connected to the internet has allowed the development of new technologies for distributed computing. IoT devices have reached computing capacities superior to personal computers of a few years ago, and their small size, low cost and lower energy consumption have made them fundamental for the new technological evolution. This paper analyzes and compares different solutions of serverless paradigms focused on dynamic behaviour adaptation, based on Function-as-a-Service (FaaS) framework. To allow a rapid interoperability of on-demand services, we propose a solution based on Blockchain, named BCB-FaaS, to ensure trustiness and accountability of function configuration, providing a strong barrier to well-known cyber-attacks. In addition, …