-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I run this with OpenFaaS / open-source FaaS? #12
Comments
I don't know what that is but you can simply use the first example: |
It's Serverless FaaS but open-source (rather than proprietary/cloud-hosted) OpenFaaS/faas. This is what I managed to put together - https://github.com/alexellis/locust-openfaas What do you think? |
I see, interesting! Looks OK but using If I was you, in |
Creating a I think I tried your code last night but it had a boto3 or Lambda session reference somewhere that stopped it from working. Have you tried |
OK fair enough 👍
That is exactly what this project does, as per the first example.
If you be specific, I'd be happy to help!
Nope. |
Code:
Error:
|
Btw I also saw you have an interest in RPi - OpenFaaS also runs natively on Raspberry Pi and 64-bit ARM. Let me know if you can push a fix up for testing that doesn't try to load boto and all that other Lambda stuff. |
Thanks! I'll definitely fix it. Your use case sounds interesting. But it will take me a few days as I have little free time right now. In the mean time, as a workaround for you, you can set an env var |
Hi @alexellis could you test this PR and see if it solves the problem for you? |
Any update on this issue? |
This is as far as I got - https://github.com/alexellis/locust-openfaas - it is working with the regular locust framework rather than the invokust wrapper. It would still be nice to get invokust working w/o a hard dependency on Lambda. I'm really busy trying to get a new release out.. Would you be willing to spend a bit of time on it? |
Spend more time on what? I fixed your issue in PR 14: #14 |
Would I be able to run this on OpenFaaS' Python runtime?
https://github.com/openfaas-incubator/python3-debian
I can do a build following the instructions but it seems to reach out to a Lambda/AWS region.
The text was updated successfully, but these errors were encountered: