- 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.
- Oracle SOA Governance 11g Implementation
- 火格局的時(shí)空變異及其在電網(wǎng)防火中的應(yīng)用
- Seven NoSQL Databases in a Week
- Verilog HDL數(shù)字系統(tǒng)設(shè)計(jì)入門與應(yīng)用實(shí)例
- 返璞歸真:UNIX技術(shù)內(nèi)幕
- 模型制作
- 系統(tǒng)安裝與重裝
- Microsoft System Center Confi guration Manager
- 走近大數(shù)據(jù)
- 與人共融機(jī)器人的關(guān)節(jié)力矩測量技術(shù)
- 大數(shù)據(jù):引爆新的價(jià)值點(diǎn)
- Hands-On Deep Learning with Go
- Practical Network Automation
- 巧學(xué)活用AutoCAD
- 多媒體技術(shù)應(yīng)用教程