Postdoc-project descriptionAshish Rajendra Kumar Sai is working as postdoc at the Open Universiteit since April 2022 on the 'Econsensus-project' that addresses the environmental footprint of distributed systems that apply consensus mechanisms. The postdoc-position is supported by a research grant from Protocol Labs. Below is the project plan as created at the start of the project. SummaryThe environmental footprint of distributed systems that apply consensus mechanisms, is causing great concern. Prime examples of such systems are cryptocurrencies (eg., Bitcoin, Ethereum, and Filecoin) and distributed storage systems (eg., Filecoin). The goal of the research project is to quantify and reduce the environmental footprint, including both the energy consumption and other environmental impacts such as the hardware lifecycle, of a selected set of systems. Our overarching goals are threefold: (1) to create models for estimating the size of the environmental footprint, (2) to provide methods for measuring this footprint, and (3) to provide mitigation methods for reducing this footprint. By modelling and measuring we will be able to demonstrate and predict the impact on our environment. This will raise awareness, inform tool development, and enable incentives to actually deploy our mitigation methods for reducing the footprint. Our research helps to address important societal challenges like global warming, climate change, and spare use of scarce sources. We intend to publish scientific papers on our modelling and measurement efforts, to create online dashboards, and to promote our mitigating controls for integration and application in distributed systems. Project overviewThe project covers three topics: modelling, measuring, and mitigating the energy consumption and the environmental footprint of distributed systems that apply consensus mechanisms. In modelling, we intend to create accurate models that can be used to estimate historical and future energy consumption, GHG emissions, and hardware life cycles. In measuring, we intend to provide means that allow actual measurements, also to validate our models. In mitigating, we intend to provide actual controls for reducing the environmental footprint, particularly by enforcing verifiable use of green energy sources. ModellingThere is a pressing need for accurate models to estimate the electricity consumption and the environmental footprint. Such models should cover historical developments, estimate the current situation, and make short-term predictions for the future. We consider both top-down and bottom-up approaches for creating models. The bottom-up approach is to find out where the nodes (miners) in the distributed system that are involved in providing proofs for the consensus mechanism, are located geographically. In addition, data is gathered on how much resources (like compute power or storage capacity) they contribute, what hardware they use, and what energy mix is used to produce the electricity consumed. By combining the data of individual nodes, a global estimate is derived about the total electricity consumption and the energy mix involved, from which subsequent estimates can be derived on GHG emissions, and the hardware life cycles. The top-down approach is to analyse consensus mechanisms from which models and associated parameters (like difficulty) on the required resources can be derived. For instance, the global hash rate of PoW-systems can be estimated accurately by statistical models. By considering various distributions of geographical distribution of nodes, hardware usage, and energy mix, models can be derived for the lower and upper bounds of electricity consumption and environmental footprint, and estimates can be made for likely scenarios. By combining a top-down and bottom-up approach, estimates of the most realistic scenarios can be derived. In summary, we intend to derive models from analysing a set of consensus algorithms and the resources they take when executing, and to complete these models with data (see next section). MeasuringAs stated, it is important to obtain accurate information about the actual values of parameters in the models. For instance for bitcoin, many researchers have taken a bottom-up modelling approach, but did not succeed in obtaining reliable data. We have noticed a lack of scientific rigor in several papers that are not transparent about data sources or (re)use inaccurate and incomplete data sources. Also, there is little scientific literature on hardware use. We intend to improve on this by obtaining data from scientific and grey literature, from contacting miners and hardware manufacturers, and from actual measurements. Measurements may include techniques like IP geolocation with triangulation and analysing data from mining pools to locate miners, measuring the actual energy efficiency of hardware and life cycle assessments, and by improving consensus mechanisms with measurement controls. In particular, we intend to track the usage of green energy sources. MitigatingOur modelling and measuring efforts intend to provide realistic figures on the environmental footprint. This will increase awareness that actions are required to reduce this environmental footprint, which gives incentive for actually implementing mitigation measures. An example of a mitigation measure is to slightly improve PoW-algorithms. We foresee the possibility that miners add a proof that they mined a block using x% of green or renewable energy, for instance by referring to renewable energy certificates. A block is then only accepted on the blockchain if this x% is above some threshold. The approach here is not to come up with a completely new PoW-algorithm, but rather extending or slightly modifying the current ones, also to facilitate adoption. This will not cause the electricity consumption to go down, but it can at least be shown that x% of the energy used to produce electricity stems from renewable sources. Key challenges here are how to get reliable proofs of renewable energy usage, and how to integrate this into the current consensus algorithms. Research teamThe research will be carried out by a research team that is composed of a postdoctoral researcher, Alan Ransil, and Harald Vranken. The postdoc is the primary active researcher. Ransil and Vranken will act as steering committee members and sparring partners in discussions, and also contribute to programming, building models, gathering data, running experiments, and establishing contacts with the scientific community and stakeholders. The team may occasionally be extended with master students at the Open University or the Radboud University in the Netherlands, to work on well-defined topics from this research proposal. We will be in close contacts with Protocol Labs. Research methodThe project has a duration of two years. We envision how current developments that address the environmental footprint of distributed systems with consensus algorithms will evolve in the coming years, and aim at getting well ahead of these developments. We intend to do so partly by participating in ongoing innovative projects, and partly by exploring completely new directions. We intend to start with a brief exploration of different consensus mechanisms, and select certain distributed systems in which they are applied. We will consider a small number of cryptocurrencies with different consensus algorithms, Filecoin as an example of a distributed storage system, and possibly a few additional systems. For modelling, we intend to use the following methods and tools:
For measuring, we intend to use the following methods and tools:
For mitigating, we intend to use the following methods and tools:
Objectives and deliverablesOur first objective is to create validated models, that can be used to raise awareness and incentives for mitigation measures. Our second objective is to actually build systems that implement our measuring and mitigation controls, show that they work, check with stakeholders whether they can be acceptable, and get people to use them. (We are aware that the latter two aims are very ambitious, and most likely need much more effort than can be addressed in this research proposal.) For dissemination, we foresee to align with ongoing initiatives, like the Crypto Climate Accord for cryptocurrencies, the Energy Web for renewable energy certificates, and Protocol Labs for Filecoin. We intend to deliver the following:
|