News for hackers. Stuff that matters.
Re:Deno raises $21M by mkroman on Tuesday June 21, 2022 @05:14PM (#31829181)
> Up to 10ms CPU time per request

So less than 17 minutes of CPU time per day - not a lot, but also not nothing.. But at 10ms per request, what would one use it for? Just server-side rendering for something simple?

Re:Deno raises $21M by ascorbic on Wednesday June 22, 2022 @03:47AM (#31833121)
Bear in mind this is CPU time, not wall clock time. I work with both AWS Lambda functions and Deno Deploy functions every day. I hit the 10s Lambda timeout all the time (things like slow API calls or network requests), but I never hit the timeout for Deno Deploy. You can even use it for things like Server-Sent Events or Websockets. It'll keep the connection open indefinitely, as long as it's not using the CPU.
Re:Deno raises $21M by crowlKats on Tuesday June 21, 2022 @05:21PM (#31829265)
proper applications as well. example is the https://deno.land website has an average CPU time of 6ms. CPU time means it doesnt include any IO bound operations, so ie doing a fetch request wont really contribute to the CPU time.
Re:Deno raises $21M by yencabulator on Thursday June 23, 2022 @10:44AM (#31849793)
Average time 6ms with hard cap at 10ms sounds like a ticking timebomb you don't dare to put in production.

I've had to switch multiple webapps to Cloudflare Workers' "unbound" mode to go beyond CPU time limits.