If you are using node-reds persistent context, you can define is as being stored in memory. If you have need for some things to be stored and recovered and some things to ‘go away’ you can define two locations, one in storage and one in memory. Here is a write up about understanding it: A guide to understanding 'Persistent Context'