I have a cloud run container that listen to pubsub topic, with cpu throttling I have several questions regarding this behavior:
1. what is "request" that trigger cpu allocation ?
2. i see that the container still run code after CPU allocation is over ( according to metrics and documentation ) , how can it be ?
3. even during startup ( which the CPU is allocated) async/background operations are really slow, for example : check if topic exist in the pubsub takes 50 secoonds. why is that?
really appreciate answers to those questions.
Hi @dor-benatia ,
Welcome to the Google Cloud Community!
Let me know if it helped, thanks!
Hi @Marramirez and thank you for your response, regarding your suggested behavior explanation:
ive went through the documentation, my CPU is "allocated on request" and not "always allocated" and this is why i don't understand why it act like that.
regarding the cold start - i'm afraid this is not the case since i see the container up all the time ( with metrics).
so i am still in the dark here .