|
|
|
pyFF is widely used in our community to provide Discovery and Metadata Query services. This topic is about some optimizations of pyFF for operations. The goal of this project is to optimize pyFF memory consumption and (re-)start behavior. For the memory consumption, the underlying XML processing library may be swapped, or the memory-intensive part of the processing may be done on a short-lived cheap VM and the resulting in-memory representation serialized, transferred to the production instances and de-serialized. For the in-(re)start behavior it must be established what is the right way of configuring pyFF so that it won’t take queries while its internal database is still incomplete. |
The goal of the activity is to improve the performance of the existing pyFF in regard to memory consumption to enable metadata processing on machines with few resources. |
The SAML metadata appliance pyFF(https://pyff.io/) is widely used in the GÉANT community. PyFF - short for python Federation Feeder - is a simple, yet complete SAML metadata aggregator. The source code is available on GitHub: https://github.com/IdentityPython/pyFF Although the tool itself is pretty small and most task can be performed with few resources, the process of processing SAML metadata requires a lot of memory. For this reason, the behaviour of pyFF in terms of memory consumption shall be investigated. Perhaps the opportunity exists to improve the XML processing so that the consumption can be reduced. In the best case pyFF can then run on much smaller servers than before. This would, among other things, make it easier to use external servers, as this could drastically reduce costs. |
Grant benefits to NRENs using pyFF:
|
|
|
The activity is done once:
|
After the end of the activity, the source code created will become part of the official repository and can then be used by every NREN interested. |
This activity is work in progress at the time of writing. |
Date | Activity | Owner | Minutes |
---|---|---|---|
June 23, 2020 | Kickoff meeting | ||