https://discord.cloudflare.com logo
Title
l

Larry

05/25/2023, 7:10 PM
This thread moved along quite a bit while I was offline, but my use case is similar to @Wallacy. I want to use it during development to estimate how likely a design decision I make is going to lead to OOM errors in production. I might turn it on in production and create some artificial load. Can a single instance support 1000 rows of something if it has the memory all to itself or 100,000 of that something? How often do different instances of the same DO code share memory? What's the maximum number of instances that do this sharing? These are the sort of questions that would change my design decisions. I would relax a bit if you were to tell me that at most 5 instances will share memory and the memory consumption in node.js is approximately the same memory consumption you'll see in prod for that same data structure and quantity.