HNHacker News
TopNewBestAskShowJobs

igorzi

18 karma · joined April 28, 2023

https://github.com/igorzi
submissionscomments
igorzi··on Deno Cron
If you need to manipulate state - you should use Deno KV or some other persistent database. V8 isolates are created on-demand to handle Deno.cron and Deno.serve requests, potentially in different regions. You should not make assumptions that the same isolate will be used to handle all requests.
igorzi··on Deno Cron
This is being worked on: https://github.com/denoland/deno/issues/21122. Should be available with the next Deno release.
igorzi··on Deno Cron
Yes, we're anticipating more spiky workloads because of this. Deno Deploy is already designed to handle spikes, but we also have a few additional mitigations in place for Cron. For example, we will limit concurrent dispatches for the same project/user/organization, which may slightly delay the execution of specific cron tasks.
igorzi··on Deno Cron
We're gathering more feedback for supporting self-hosted cron environment. Can you describe how you would use it?
igorzi··on Deno Cron
Not currently, but this is on the roadmap
igorzi··on Deno Cron
It currently runs in us-east by default. Specifying a region is on our roadmap.