DenoDDeno
Powered by
Patrick (he/him)P
Deno•3y ago•
20 replies
Patrick (he/him)

How are deno processes/isolates managed in Deploy?

Hi, I'm writing a multiplayer game in Deno and currently all of the game state is kept in module-scoped objects, there's no database or any other form of persistence, yet. It all works as expected when I'm developing locally, but sometimes when testing in Deno Deploy, it's as if there's multiple instances of the game running and which one I'm connecting to is random (using the same URL.) Does Deploy create multiple simultaneous isolates for the same deployment? Is the only solution to implement external storage and make that the source of truth?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Isolates
ppDulcePppDulce / help
14mo ago
Failed deployment Deno Deploy
ssimonlpSssimonlp / help
16mo ago
Connect to managed databases from "INSIDE" of Deno Deploy
egaveEegave / help
2y ago
how to deploy deno in turborepo on Deno EA?
Noobie☺NNoobie☺ / help
8mo ago