首页 > 解决方案 > What is the latency of alexa skill

问题描述

I've developed a Alexa skill which communicate to my device through web socket and fetch some data. I'm getting 1689.847 ms in my logs to complete an API request. But on Alexa device its taking 3-4 seconds to respond back. Any one knows what is the minimum or maximum time for response.

标签: alexa-skill

解决方案


在 Lambda 中,您可以在此处延长执行时间

延长

但让用户等待超过 3 到 5 秒的响应时间并不是一个好习惯。并且 Alexa 默认超时时间为 8 秒,如果 8 秒内没有响应,它会自动退出技能。


推荐阅读