Skip to content

(CTTC) Update NBI WebSocket endpoints to Flask-SocketIO and use gunicorn

Proposers

  • Lluis Gifre (CTTC)

Description

Update NBI component's WebSocket listener to use Flask-SocketIO to prevent extra threads and extra TCP ports. Also migrate from test webserver embeeded in Flask to production webserver using gunicorn.

Demo or definition of done

NBI component is executed over gunicorn and exposes REST-API and WebSocket endpoints through same HTTP port.

Acknowledgements

This work is funded by the European Commission through the HORIZON-JU-SNS-2022 FLEX-SCALE project with Grant Agreement number 101096909.

References

Edited by Lluis Gifre Renom