1. A method, performed by a device in a distributed system, the method comprising: detecting, by the device, a request from an application to access an application dataset, wherein the application dataset corresponds to a distributed dataset; determining, by the device, whether an identifier for the application dataset is listed in a distributed system dataset of the distributed system; creating, by the device, an entry for the identifier for the application dataset in the distributed system dataset, in response to determining that the identifier for the application dataset is not listed in the distributed system dataset; creating, by the device, the application dataset in a storage layer of a system unit, in response to creating the entry for the identifier for the application dataset; adding, by the device, information from the application to the created application dataset, in response to creating the application dataset; sending, by the device and to other devices in the distributed system, a request to join a dataset group that includes devices associated with the application dataset, in response to determining that the identifier for the application dataset is listed in the distributed system dataset; receiving, by the device and from another device in the distributed system, an indication that the device has been added to the dataset group, based on sending the request to join the dataset group; sending, by the device, a proposal to devices that are members of the dataset group to add application data to the application dataset; obtaining, by the device, consensus to add the application data to the application dataset, in response to sending the proposal; and adding, by the device, the application data to the application dataset, in response to obtaining the consensus.