4 ms·
> This is completely standard and the only way to do node in-memory caching. This isn't accurate you can use shared memory. There are a few modules that implem
by vkjv 10y ago
> This is completely standard and the only way to do node in-memory caching.
This isn't accurate you can use shared memory. There are a few modules that implement this. In addition, you can offload the JSON.parse to the dedicated "caching" process that updates the shared memory.
- suzzer99 10y agoDo you have a link that describes an example of this? Ok nevermind, google is my friend: https://github.com/PaquitoSoft/memored https://github.com/PaquitoSoft/memored I can see where this would come in handy. But at 240MB total resident memory per CPU across 4 node workers that OP describes, I wouldn't hassle with it.