singhsegv commented on issue #5510:
URL: https://github.com/apache/openwhisk/issues/5510#issuecomment-2356404420

   Hey @style95 thank for taking this up
   
   **How did you deploy OpenWhisk-2.0.0? Are you able to invoke an action?**
   I haven't deployed this till now. I've been working with OpenWhisk 1.0.0 
which is the one that comes with  
https://github.com/apache/openwhisk-deploy-kube repository. I've raised an 
issue there to understand how to get OpenWhisk 2.0.0 up and running with k8s 
where you gave some pointers 
https://github.com/apache/openwhisk-deploy-kube/issues/781#issuecomment-2316569110
 . I'll be working on getting this up in the meantime. 
   
   So this question is something that is part of my doubts. As in, if I want to 
deploy OpenWhisk 2.0.0 in a multi node setting in a scalable manner, how should 
I go about it? Is ansible a way for that, or is there some way to user 
kubernetes for this?
   
   ---
   **What is your concurrency limit and userMemory assigned to invokers?**
   My action concurrency limits are 1 and there are 3 invokers each with 
~20000m of memory. After checking in grafana dashboard this seems to be fine 
since each invoker showed 40 pods of 512mb memory each at peak.
   
   ---
   Some more updates from the benchmarking I did in the meantime:
   
   1. Instead of benchmarking the scale of workflows, I went back to load 
testing 1 action at a time. I had a graph processing workflow in which let's 
say there were 2 actions A and B.
   2. Benchmarking A with multiple RPS made it scale well. I tried with 
1/4/8/16 RPS for 5 minutes each and it reused warm containers and got stable 
soon.
   3.  But when I ran benchmarking for another action B after A, the warm 
containers were not used. Even though both A and B use same runtimes, same 
amount of memory and same requirements for pip.
   
   So I think the warm containers not being used amongst different actions is 
what's causing my workflows to not scale. I saw invoker tags based scheduling 
in the docs and that is some temporary fix for my use case, that is in 2.0.0 
and not 1.0.0.
   
   But bigger concern is my limited understanding of warm containers reuse 
amongst different actions. Where do I get more information about this? Is this 
the intentional way warm containers reuse is supposed to run?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to