- Hands-On Serverless Computing
- Kuldeep Chowhan
- 158字
- 2021-08-05 10:35:32
Cold start
I have already discussed cold start earlier in the chapter. Let's recap about the concern we have regarding cold start. The concern about cold start is that a function takes slightly longer to respond to an event after a period of inactivity. The time it takes varies between the run times that your application chooses.
This does tend to happen, but there are ways around the cold start if you need an immediately responsive function. If you know your function will only be triggered periodically, an approach to overcoming the cold start is to establish a scheduler that calls your function to wake it up every so often. Within AWS, you can use CloudWatch Event Scheduler to have your Lambda function invoked every 5 to 10 minutes so that AWS Lambda will not mark your function as inactive or cold. Azure Functions and Google Functions also have similar capability to have functions invoked on a schedule.
- 大學(xué)計(jì)算機(jī)信息技術(shù)導(dǎo)論
- Mastering Matplotlib 2.x
- 高性能混合信號(hào)ARM:ADuC7xxx原理與應(yīng)用開發(fā)
- Java開發(fā)技術(shù)全程指南
- 大學(xué)C/C++語言程序設(shè)計(jì)基礎(chǔ)
- Lightning Fast Animation in Element 3D
- 網(wǎng)中之我:何明升網(wǎng)絡(luò)社會(huì)論稿
- 筆記本電腦維修90個(gè)精選實(shí)例
- 工業(yè)機(jī)器人集成應(yīng)用
- 手把手教你學(xué)Flash CS3
- 信息系統(tǒng)安全保障評(píng)估
- 輸送技術(shù)、設(shè)備與工業(yè)應(yīng)用
- 面向Agent的軟件設(shè)計(jì)開發(fā)方法
- 新手學(xué)Photoshop CS6數(shù)碼照片處理
- IBM Watson Projects