Cloudslab / qfaas

QFaaS - A Serverless Function-as-a-Service Framework for Quantum Computing
https://qfaas.cloud
GNU General Public License v3.0
16 stars 9 forks source link

What the system functions do #3

Open dgks0n opened 2 months ago

dgks0n commented 2 months ago

Hi there~

I saw that get_functions call the settings.QFAAS_URL + "/system/functions". I wonder why don't get all created functions from DB instead call to API? In addition, what is value for QFAAS_URL should I use? Would you please describe more further?

dgks0n commented 2 months ago

It seems like qfaas calls some system API to do some work like create new function, invoke, etc. Thanks

hoaiocom commented 2 months ago

Hi Son, The current PoC implementation of QFaaS is built on top of OpenFaaS, and /system/functions is one of the OpenFaaS API to retrieve lists of actual deployed functions in the cluster. You may check out their docs here: https://docs.openfaas.com/reference/rest-api/ QFAAS_URL is the gateway URL of OpenFaaS, which can be specified in the .env file.