faas-profiler icon indicating copy to clipboard operation
faas-profiler copied to clipboard

Does this work on OpenWhisk setup on a kind cluster ?

Open Prithvi-Velicheti opened this issue 11 months ago • 7 comments

Prithvi-Velicheti avatar Mar 25 '24 22:03 Prithvi-Velicheti

Haven't tested it there. May or may not work. If you end up testing it, it'd be great if you could share the outcome here.

engshahrad avatar Mar 26 '24 20:03 engshahrad

Hello ! Thanks for your reply. I am new to FaaS. Can you share the stable branch of OpenWhisk that you used for installation. Thanks in advance. Was your Openwhisk was built on top of kubernetes ?

Prithvi-Velicheti avatar Mar 26 '24 23:03 Prithvi-Velicheti

The version we used in our MICRO '19 paper is stated in the paper: "We use the public OpenWhisk source code, as released on GitHub and built from Git commit 084e5d3." It was deployed on baremetal VMs.

I see researchers use FaaSProfiler for two different purposes:

  • Traffic generation (synthetic or trace based) -> This one I know has been done in the context of Knative and OW on kubernetes. If you want to use it for this purpose, you're all good.
  • Detailed profiling -> This one I don't know whether any code change is needed to get it to work on systems named above, and if so how much. I'd assume it should not be that hard to add support for, but I don't have the BW right now. Feel free to work on it and contribute to the project.

engshahrad avatar Mar 27 '24 21:03 engshahrad

Dear Dr Shahrad,

Thanks a lot for your kind reply. Apologies for my overlooking. I currently intend to use FaaS traffic generators with known Function code (synthetic). So i believe FaaS Profiler helps me, unlike Invitro which just uses trace. I hopefully will try to contribute in coming future, when I am in good shape.

Kind Regards, Prithvi.

Prithvi-Velicheti avatar Mar 27 '24 22:03 Prithvi-Velicheti

One dumb question. Lately I have been facing lot of problems with Openwhisk installation. Its getting easily installed in kind cluster with helm. But when I am trying install in Standalone mode ? or with Dockers ( using Ansible) there are lot of bugs. This also could be lot of outdated configurations, which are not supported. To work with FaaSProfiler, in what way I should install ? standalone or with ansible ?

Prithvi-Velicheti avatar Apr 01 '24 08:04 Prithvi-Velicheti

It shouldn't matter which way you install if all you need from FaaSProfiler is traffic generation. Deploy the OpenWhisk however you want. Then create your functions (actions). Then you'll have an endpoint for it. You can then use FaaSProfiler in the "generic" endpoint mode to just send invocations to that function. See this README to learn more about using the "generic" endpoint.

engshahrad avatar Apr 03 '24 22:04 engshahrad

thank you very much !

Prithvi-Velicheti avatar Apr 04 '24 10:04 Prithvi-Velicheti

Closing this issue, as it's not an issue to be fixed, but more of a question. Please feel free to follow up if you have any questions, Prithvi.

engshahrad avatar Apr 22 '24 11:04 engshahrad

Greetings ! thank you for your response.

Prithvi-Velicheti avatar Apr 22 '24 11:04 Prithvi-Velicheti