- 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.
- 輕松學C語言
- Dreamweaver CS3+Flash CS3+Fireworks CS3創意網站構建實例詳解
- 21小時學通AutoCAD
- Hands-On Data Science with SQL Server 2017
- 計算機圖形圖像處理:Photoshop CS3
- PyTorch深度學習實戰
- 運動控制器與交流伺服系統的調試和應用
- Mastering GitLab 12
- Photoshop CS5圖像處理入門、進階與提高
- The DevOps 2.1 Toolkit:Docker Swarm
- FANUC工業機器人虛擬仿真教程
- JSP通用范例開發金典
- 工業機器人應用系統三維建模
- 群體智能與智能網聯:原理、算法與應用
- 精通LabVIEW 8.x