Thursday, 2019-06-06

*** goldyfruit has joined #openstack-qinling01:50
*** mnaser has left #openstack-qinling13:38
*** goldyfruit has quit IRC13:51
*** goldyfruit has joined #openstack-qinling13:51
*** goldyfruit_ has joined #openstack-qinling14:42
*** goldyfruit has quit IRC14:42
*** goldyfruit_ has quit IRC14:50
*** goldyfruit has joined #openstack-qinling14:50
*** openstackgerrit has joined #openstack-qinling17:29
openstackgerritGaëtan Trellu proposed openstack/qinling master: WIP: Add API documentation  https://review.opendev.org/66373017:29
openstackgerritGaëtan Trellu proposed openstack/qinling master: WIP: Add API documentation  https://review.opendev.org/66373020:48
openstackgerritGaëtan Trellu proposed openstack/qinling master: WIP: Add API documentation  https://review.opendev.org/66373021:09
goldyfruitlxkong, what does exactly function scaleup ?21:15
goldyfruitFrom the function I just see an insertion in the database21:16
*** goldyfruit has quit IRC21:17
*** goldyfruit has joined #openstack-qinling21:18
goldyfruitSorry, I just see a get21:20
goldyfruitOk I misread the code21:21
goldyfruitI keep looking21:21
*** goldyfruit has quit IRC21:26
*** goldyfruit has joined #openstack-qinling21:27
*** goldyfruit_ has joined #openstack-qinling21:29
*** goldyfruit has quit IRC21:29
goldyfruit_lxkong, still not sure what it does :p21:34
goldyfruit_it does not touch the number of worker right ?21:34
lxkonggoldyfruit_: funciton scaleup is manually increase number of the back pods for the function execution21:35
lxkongthe number of workers is runtime property, nothing to do with the function21:36
lxkonggoldyfruit_: sometimes you have your own monitoring system and want to do autoscaling together with the monitoring system21:37
goldyfruit_I'm confused, what is the difference with the scaleup and the autoscaling ?21:37
lxkongautoscaling = scale up + scale down + auto21:37
goldyfruit_so what is the advantage of scaleup ?21:39
goldyfruit_if autoscaling does it automatically ?21:39
lxkong"sometimes you have your own monitoring system and want to do autoscaling together with the monitoring system"21:39
lxkongwhich means you config the scalup or scaledown endpoint in the monitoring system21:39
lxkongQinling currently only supports scaling according to the execution concurrency21:40
lxkonglet's say, you want autoscaling according to the cpu or mem usage21:40
lxkongor traffic or something21:40
lxkongthe system which monitors the cpu/mem/traffic metrics could trigger scaleup function21:41
lxkongbut the admin need to config that manually21:41
goldyfruit_SO this permanent until the scale down ?21:41
goldyfruit_this is*21:41
lxkongyou can config both scale up and scale down21:42
goldyfruit_you mentioned back pods21:42
goldyfruit_Could you please say a bit more about this ?21:42
lxkongwhen your function is executed, you could see there are some pods have the function_id in the label21:43
goldyfruit_yeah21:44
lxkongsorry, have to go stand up meeting, will continue after21:44
goldyfruit_no problem!21:44
*** goldyfruit_ has quit IRC21:52
*** goldyfruit has joined #openstack-qinling21:58
lxkongfrom the beginning, there is only 1 pod to run the function, but think about the situation that a function is triggered hundreds of times at the same time, 1 pod is going to be a problem, the response is going to be slow or timeout. So, you need scale up (either automatic or manual) to increase the pod number to increase the concurrency capability, then scale down to release the unnecessary pods22:00
goldyfruitlxkong, (I have laptop issue, motherboard I guess... keep crashing!)22:02
goldyfruitSo, let say I spawn a runtime with 3 replica22:03
goldyfruitA function with the default concurrency which is 322:03
goldyfruitruntime = worker ?22:04
goldyfruit+ sidecar22:05
goldyfruitSo basically I have 3 worker22:05
goldyfruitso if I run 3 times the function at the same time I'll not have any worker available22:06
goldyfruitor is it 3 time per worker ?22:06
lxkong> A function with the default concurrency which is 322:13
lxkongyou mean `CONF.engine.function_concurrency=3`?22:13
*** goldyfruit has quit IRC22:19
openstackgerritGaëtan Trellu proposed openstack/qinling master: WIP: Add API documentation  https://review.opendev.org/66373022:37
*** goldyfruit has joined #openstack-qinling22:38
goldyfruitDamn X260...22:38
*** goldyfruit has quit IRC23:02
*** goldyfruit has joined #openstack-qinling23:34
openstackgerritGaëtan Trellu proposed openstack/qinling master: WIP: Add API documentation  https://review.opendev.org/66373023:37
openstackgerritGaëtan Trellu proposed openstack/qinling master: WIP: Add API documentation  https://review.opendev.org/66373023:38

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!