<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I think the 8 second limit is probably arbitrary.  Lambda’s normal limit is 5 minutes.  I presume Amazon did some UX work, and basically asked “what’s the maximum length of time your average user is willing to wait for an answer before they consider it a bad
 experience”, and came up with 8 seconds.  You’re not allowed to change that value, so they obviously take it seriously!
<div class=""><br class="">
</div>
<div class="">While testing the skill I developed, I certainly found that the turnaround time when I had to perform a full remote data fetch was about 5 seconds.  That’s long enough after asking Alexa the question that I start to think “is it going to reply?
 is it working?” and that’s not a good experience, so my approach to that has been:</div>
<div class=""><br class="">
</div>
<div class="">(a) cache the data fetched; the data is stored in session attributes, and persisted to S3.  That cached copy provides a response which is within a second or two, a much nicer experience.</div>
<div class=""><br class="">
</div>
<div class="">(b) when fetching fresh data, there’s a progressive response API which you can call asynchronously, while the slower task takes place.  Now, that 5 second wait doesn’t feel so bad, because you’re listening to “Please wait while I ask for the latest
 data” while the real work goes on in the background.  Silence in a conversation feels really uncomfortable really quickly, as we all know.</div>
<div class=""><br class="">
</div>
<div class="">Sorry, this is nothing to do with HPC or Beowulf, although kind of interesting from a UX perspective on voice-controlled systems.</div>
<div class=""><br class="">
</div>
<div class="">Tim</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 25 Nov 2020, at 15:33, Lux, Jim (US 7140) <<a href="mailto:james.p.lux@jpl.nasa.gov" class="">james.p.lux@jpl.nasa.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Interesting..<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Where does the 8 second limit come from? (Rodeos and bull/bronc riding, where you only have to stay on for 8 seconds?) I’ve seen this 8 second thing in a bunch of places lately, and I wonder.. why not 7, or 10 or whatever?  I find it hard to believe that someone
 has a 3 bit counter in seconds (or worse, it’s a 33 bit counter counting nanoseconds or some such, and the limit is actually 8.589 seconds)<o:p class=""></o:p></div>
<div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<o:p class=""> </o:p></div>
</div>
</blockquote>
</div>
<br class="">
</div>



-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

</body>
</html>