Main software components of the aggregator and database
The architecture of an aggregator with the FL server was introduced in the previous chapter. Here, we will introduce the code that realizes the basic functionalities of an FL system. The aggregator and database-side Python-based software components are listed in the aggregator
directory of fl_main
, as well as lib/util
and pseudodb
folders, as in Figure 4.1:
Figure 4.1 – Python software components for the aggregator as well as internal libraries and pseudo database
The following is a brief description of the Python code files in the aggregator.
Aggregator-side codes
In this section, we will touch on the main Python files of the aggregator-side related to the FL server thread, FL state manager, and model aggregation itself. These aggregator-side code files are found in the aggregator
folder. The code in the repo only captures the model aggregation perspective, not the entire engineering...